summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unocrsrhelper.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-20 13:39:25 +0200
committerNoel Grandin <noel@peralex.com>2015-08-20 13:52:18 +0200
commitcc8f854707d751a610dac5a993f7d21a88f63cd8 (patch)
tree08c83e2a1414fa90a8aec6c52fbf6c826cae5c6a /sw/source/core/unocore/unocrsrhelper.cxx
parenteede7d8bbf955f09c15ad59c5994c469924019dd (diff)
loplugin: defaultparams
Change-Id: I463bbaf86b4a44e8bdf5388404730ab3dcd9b9fe
Diffstat (limited to 'sw/source/core/unocore/unocrsrhelper.cxx')
-rw-r--r--sw/source/core/unocore/unocrsrhelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unocrsrhelper.cxx b/sw/source/core/unocore/unocrsrhelper.cxx
index ef2f3ba637a5..983b5ed9c612 100644
--- a/sw/source/core/unocore/unocrsrhelper.cxx
+++ b/sw/source/core/unocore/unocrsrhelper.cxx
@@ -664,7 +664,7 @@ bool getCrsrPropertyValue(const SfxItemPropertySimpleEntry& rEntry
{
SwTextNode *const pTextNode = rPam.GetNode().GetTextNode();
- if (&rPam.GetNode(true) == &rPam.GetNode(false)
+ if (&rPam.GetNode() == &rPam.GetNode(false)
&& pTextNode && pTextNode->GetpSwpHints())
{
sal_Int32 nPaMStart = rPam.GetPoint()->nContent.GetIndex();