Kaydet (Commit) d8dcfa0e authored tarafından Eike Rathke's avatar Eike Rathke

make forward replacement of $ work again, fdo#60259 related

broken with 3bc5cb3c

Change-Id: Id32daead9565493b615ba337fcbc1b2f9dd5bcfb
üst 0af31660
...@@ -524,7 +524,7 @@ bool SwPaM::DoSearch( const SearchOptions& rSearchOpt, utl::TextSearch& rSTxt, ...@@ -524,7 +524,7 @@ bool SwPaM::DoSearch( const SearchOptions& rSearchOpt, utl::TextSearch& rSTxt,
if ( bFound ) if ( bFound )
return true; return true;
else if( ( bChkEmptyPara && !nStart && !nTxtLen ) || (bChkParaEnd && bZeroMatch && nEnd == nTxtLen)) else if( ( bChkEmptyPara && !nStart && !nTxtLen ) || bChkParaEnd)
{ {
*GetPoint() = *pPam->GetPoint(); *GetPoint() = *pPam->GetPoint();
GetPoint()->nContent = bChkParaEnd ? nTxtLen : 0; GetPoint()->nContent = bChkParaEnd ? nTxtLen : 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment