summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/xmlexprt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/xml/xmlexprt.cxx')
-rw-r--r--sc/source/filter/xml/xmlexprt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index 0112c308d71d..7d143a7faec0 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -4562,7 +4562,7 @@ void ScXMLExport::ExportConditionalFormat(SCTAB nTab)
ScConditionalFormatList* pCondFormatList = pDoc->GetCondFormList(nTab);
if(pCondFormatList)
{
- if(pCondFormatList && !pCondFormatList->size())
+ if(pCondFormatList && pCondFormatList->empty())
return;
SvXMLElementExport aElementCondFormats(*this, XML_NAMESPACE_CALC_EXT, XML_CONDITIONAL_FORMATS, true, true);