summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8par2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/ww8par2.cxx')
-rw-r--r--sw/source/filter/ww8/ww8par2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx
index 87e3ee83c78c..58257f01830c 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -4445,7 +4445,7 @@ void WW8RStyle::ImportOldFormatStyles()
ImportSprms(aPAPXOffsets[stcp].mnOffset, aPAPXOffsets[stcp].mnSize,
true);
- if (aConvertedChpx[stcp].size() > 0)
+ if (!aConvertedChpx[stcp].empty())
ImportSprms(&(aConvertedChpx[stcp][0]),
static_cast< short >(aConvertedChpx[stcp].size()),
false);