summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/XMLStylesImportHelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/xml/XMLStylesImportHelper.hxx')
-rw-r--r--sc/source/filter/xml/XMLStylesImportHelper.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/xml/XMLStylesImportHelper.hxx b/sc/source/filter/xml/XMLStylesImportHelper.hxx
index 12807dbb007d..b64411dc5db7 100644
--- a/sc/source/filter/xml/XMLStylesImportHelper.hxx
+++ b/sc/source/filter/xml/XMLStylesImportHelper.hxx
@@ -156,8 +156,8 @@ class ScMyStylesImportHelper
{
return ((pFirst && pSecond && pFirst->equals(*pSecond)) ||
(!pFirst && !pSecond) ||
- (!pFirst && pSecond && !pSecond->getLength()) ||
- (!pSecond && pFirst && !pFirst->getLength()));
+ (!pFirst && pSecond && pSecond->isEmpty()) ||
+ (!pSecond && pFirst && pFirst->isEmpty()));
}
public:
ScMyStylesImportHelper(ScXMLImport& rImport);