summaryrefslogtreecommitdiffstats
path: root/sw/source/uibase/uno/unotxvw.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uno/unotxvw.cxx')
-rw-r--r--sw/source/uibase/uno/unotxvw.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unotxvw.cxx b/sw/source/uibase/uno/unotxvw.cxx
index 1348a5fde2bf..f1c9b72afcaa 100644
--- a/sw/source/uibase/uno/unotxvw.cxx
+++ b/sw/source/uibase/uno/unotxvw.cxx
@@ -294,7 +294,7 @@ sal_Bool SwXTextView::select(const uno::Any& aInterface)
// sdrObjects handled below
}
bool bRet(false);
- if (sdrObjects.size())
+ if (!sdrObjects.empty())
{
SdrView *const pDrawView = rSh.GetDrawView();