[Libreoffice-commits] core.git: sw/source

Eike Rathke erack at redhat.com
Mon Mar 11 14:54:26 PDT 2013


 sw/source/core/crsr/findtxt.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d8dcfa0e5dbecf77c4d6a8d49caf61b339cf9b43
Author: Eike Rathke <erack at redhat.com>
Date:   Mon Mar 11 22:49:54 2013 +0100

    make forward replacement of $ work again, fdo#60259 related
    
    broken with 3bc5cb3c485d67f1ce0541d349d11637f52ebda5
    
    Change-Id: Id32daead9565493b615ba337fcbc1b2f9dd5bcfb

diff --git a/sw/source/core/crsr/findtxt.cxx b/sw/source/core/crsr/findtxt.cxx
index e1c9358..537292e 100644
--- a/sw/source/core/crsr/findtxt.cxx
+++ b/sw/source/core/crsr/findtxt.cxx
@@ -524,7 +524,7 @@ bool SwPaM::DoSearch( const SearchOptions& rSearchOpt, utl::TextSearch& rSTxt,
 
     if ( bFound )
         return true;
-    else if( ( bChkEmptyPara && !nStart && !nTxtLen ) || (bChkParaEnd && bZeroMatch && nEnd == nTxtLen))
+    else if( ( bChkEmptyPara && !nStart && !nTxtLen ) || bChkParaEnd)
     {
         *GetPoint() = *pPam->GetPoint();
         GetPoint()->nContent = bChkParaEnd ? nTxtLen : 0;


More information about the Libreoffice-commits mailing list