summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-03-11 22:49:54 +0100
committerEike Rathke <erack@redhat.com>2013-03-11 22:54:04 +0100
commitd8dcfa0e5dbecf77c4d6a8d49caf61b339cf9b43 (patch)
tree1353b63df1b7059cd0533064841317c871bac51f
parent0af31660ea3c0ae3e9566c88d707e82e93dbb4af (diff)
make forward replacement of $ work again, fdo#60259 related
broken with 3bc5cb3c485d67f1ce0541d349d11637f52ebda5 Change-Id: Id32daead9565493b615ba337fcbc1b2f9dd5bcfb
-rw-r--r--sw/source/core/crsr/findtxt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/crsr/findtxt.cxx b/sw/source/core/crsr/findtxt.cxx
index e1c9358c0741..537292e83a50 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;