diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-20 13:39:25 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-20 13:52:18 +0200 |
commit | cc8f854707d751a610dac5a993f7d21a88f63cd8 (patch) | |
tree | 08c83e2a1414fa90a8aec6c52fbf6c826cae5c6a /sw/source/core/unocore/unocrsrhelper.cxx | |
parent | eede7d8bbf955f09c15ad59c5994c469924019dd (diff) |
loplugin: defaultparams
Change-Id: I463bbaf86b4a44e8bdf5388404730ab3dcd9b9fe
Diffstat (limited to 'sw/source/core/unocore/unocrsrhelper.cxx')
-rw-r--r-- | sw/source/core/unocore/unocrsrhelper.cxx | 2 |
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(); |