summaryrefslogtreecommitdiffstats
path: root/sw/source/core/unocore/unocrsrhelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/unocore/unocrsrhelper.cxx')
-rw-r--r--sw/source/core/unocore/unocrsrhelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unocrsrhelper.cxx b/sw/source/core/unocore/unocrsrhelper.cxx
index 5a93eaedf06c..da1facfad0ab 100644
--- a/sw/source/core/unocore/unocrsrhelper.cxx
+++ b/sw/source/core/unocore/unocrsrhelper.cxx
@@ -475,7 +475,7 @@ bool getCursorPropertyValue(const SfxItemPropertySimpleEntry& rEntry
marks = rPam.GetNode().GetTextNode()->GetTextAttrsAt(
rPam.GetPoint()->nContent.GetIndex(), RES_TXTATR_TOXMARK);
}
- if (marks.size())
+ if (!marks.empty())
{
if( pAny )
{ // hmm... can only return 1 here
@@ -644,7 +644,7 @@ bool getCursorPropertyValue(const SfxItemPropertySimpleEntry& rEntry
marks = rPam.GetNode().GetTextNode()->GetTextAttrsAt(
rPam.GetPoint()->nContent.GetIndex(), RES_TXTATR_REFMARK);
}
- if (marks.size())
+ if (!marks.empty())
{
if( pAny )
{ // hmm... can only return 1 here