summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/XMLStylesImportHelper.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-26 14:48:25 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-27 02:37:13 +0100
commitb02c52b467ff3259501350f2e6cb0de123f5b794 (patch)
treeac969e295b121a9d7cc5980ea6f7cadc54708370 /sc/source/filter/xml/XMLStylesImportHelper.hxx
parent7bc44705c0974719b7a198bb5dbf8f9d782d55a8 (diff)
use isEmpty instead of getLength
Change-Id: I9e5ce12776fcb31577a735296ab10b2c98c238f8
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);