summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLIndexTabStopEntryContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/XMLIndexTabStopEntryContext.cxx')
-rw-r--r--xmloff/source/text/XMLIndexTabStopEntryContext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/XMLIndexTabStopEntryContext.cxx b/xmloff/source/text/XMLIndexTabStopEntryContext.cxx
index 3b11834ec43a..7c5f0350a41b 100644
--- a/xmloff/source/text/XMLIndexTabStopEntryContext.cxx
+++ b/xmloff/source/text/XMLIndexTabStopEntryContext.cxx
@@ -109,7 +109,7 @@ void XMLIndexTabStopEntryContext::StartElement(
{
sLeaderChar = sAttr;
// valid only, if we have a char!
- bLeaderCharOK = (sAttr.getLength() > 0);
+ bLeaderCharOK = !sAttr.isEmpty();
}
// #i21237#
else if ( IsXMLToken( sLocalName, XML_WITH_TAB ) )