summaryrefslogtreecommitdiff
path: root/sw/source/core/crsr/findtxt.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-20 13:18:53 +0200
committerNoel Grandin <noel@peralex.com>2015-08-20 13:52:17 +0200
commitb8e48824bf5b71599c0b8604c444d653fad57e5a (patch)
tree269c13e8b7e79547de6a2ab1c317391715f82d8d /sw/source/core/crsr/findtxt.cxx
parent7d769f9df5b95d717f3cd045dbd8f82ff2de27a1 (diff)
loplugin: defaultparams
Change-Id: If105665a016183f08a2be13366e5068060b5954c
Diffstat (limited to 'sw/source/core/crsr/findtxt.cxx')
-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 e08c125a9112..33a4c86f7ae1 100644
--- a/sw/source/core/crsr/findtxt.cxx
+++ b/sw/source/core/crsr/findtxt.cxx
@@ -741,7 +741,7 @@ OUString *ReplaceBackReferences( const SearchOptions& rSearchOpt, SwPaM* pPam )
if( pPam && pPam->HasMark() &&
SearchAlgorithms_REGEXP == rSearchOpt.algorithmType )
{
- const SwContentNode* pTextNode = pPam->GetContentNode( true );
+ const SwContentNode* pTextNode = pPam->GetContentNode();
if( pTextNode && pTextNode->IsTextNode() && pTextNode == pPam->GetContentNode( false ) )
{
utl::TextSearch aSText( rSearchOpt );