summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLSectionImportContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/XMLSectionImportContext.cxx')
-rw-r--r--xmloff/source/text/XMLSectionImportContext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/XMLSectionImportContext.cxx b/xmloff/source/text/XMLSectionImportContext.cxx
index 1ada22a2994a..f5be934b9ef3 100644
--- a/xmloff/source/text/XMLSectionImportContext.cxx
+++ b/xmloff/source/text/XMLSectionImportContext.cxx
@@ -165,7 +165,7 @@ void XMLSectionImportContext::StartElement(
xNamed->setName(sName);
// stylename?
- if (sStyleName.getLength() > 0)
+ if (!sStyleName.isEmpty())
{
XMLPropStyleContext* pStyle = rHelper->
FindSectionStyle(sStyleName);