summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-01-21 12:00:59 +0100
committerThomas Arnhold <thomas@arnhold.org>2012-01-21 19:58:45 +0100
commit94f114550a8fd9f21e70fa98a4b564d7643d47d4 (patch)
tree82dcbc1edecc3199ce29b383dd67e073e9094b81 /sw
parent3bb278f5bfa1cb28ba051bc6980a93d52f9b29e1 (diff)
Improve checking for emptiness
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/uiview/viewmdi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/uiview/viewmdi.cxx b/sw/source/ui/uiview/viewmdi.cxx
index b1c9dedfb5bc..27949cff51e9 100644
--- a/sw/source/ui/uiview/viewmdi.cxx
+++ b/sw/source/ui/uiview/viewmdi.cxx
@@ -460,7 +460,7 @@ IMPL_STATIC_LINK( SwView, MoveNavigationHdl, bool *, pbNext )
}
// move
- if(vNavMarks.size())
+ if(!vNavMarks.empty())
{
if(bNext)
{