summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-10-29 20:44:23 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-10-29 20:46:19 +0100
commit3ad44c41234aaa29af8d900f9dc4dc4e131d1453 (patch)
tree488b8d1804da0ade3b9a2af5f46ffbd002399f18 /sw
parent84cfb9b9926e88f75deffc6742a07a4390203bfb (diff)
cppcheck: fix Possible inefficient checking for emptiness
Change-Id: I4d98c7feb71daafeba95a493c71f3f5d520b3058
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/wrtww8.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx
index 3142d63a6689..24ab7c4f9328 100644
--- a/sw/source/filter/ww8/wrtww8.cxx
+++ b/sw/source/filter/ww8/wrtww8.cxx
@@ -250,7 +250,7 @@ void WW8_WrtBookmarks::Append( WW8_CP nStartCp, const OUString& rNm, const ::sw:
void WW8_WrtBookmarks::Write( WW8Export& rWrt)
{
- if (!aSttCps.size())
+ if (aSttCps.empty())
return;
CPItr aItr;
long n;