summaryrefslogtreecommitdiff
path: root/xmloff/source/style/PageMasterImportContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/PageMasterImportContext.cxx')
-rw-r--r--xmloff/source/style/PageMasterImportContext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/PageMasterImportContext.cxx b/xmloff/source/style/PageMasterImportContext.cxx
index aa81fd62e8c6..3ccac9f8bc47 100644
--- a/xmloff/source/style/PageMasterImportContext.cxx
+++ b/xmloff/source/style/PageMasterImportContext.cxx
@@ -161,7 +161,7 @@ void PageStyleContext::FillPropertySet(const uno::Reference<beans::XPropertySet
{
// need to filter out old fill definitions when the new ones are used. The new
// ones are used when a FillStyle is defined
- if(!m_bIsFillStyleAlreadyConverted && GetProperties().size())
+ if(!m_bIsFillStyleAlreadyConverted && !GetProperties().empty())
{
static ::rtl::OUString s_FillStyle("FillStyle");
static ::rtl::OUString s_HeaderFillStyle("HeaderFillStyle");