summaryrefslogtreecommitdiff
path: root/xmloff/source/style/xmlnumfe.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/xmlnumfe.cxx')
-rw-r--r--xmloff/source/style/xmlnumfe.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx
index 8e0b23b6c8d6..a71042f9b603 100644
--- a/xmloff/source/style/xmlnumfe.cxx
+++ b/xmloff/source/style/xmlnumfe.cxx
@@ -372,7 +372,7 @@ void SvXMLNumFmtExport::AddToTextElement_Impl( const OUString& rString )
void SvXMLNumFmtExport::FinishTextElement_Impl()
{
- if ( sTextContent.getLength() )
+ if ( !sTextContent.isEmpty() )
{
SvXMLElementExport aElem( rExport, XML_NAMESPACE_NUMBER, XML_TEXT,
sal_True, sal_False );
@@ -1603,7 +1603,7 @@ void SvXMLNumFmtExport::ExportPart_Impl( const SvNumberformat& rFormat, sal_uInt
}
}
- if ( sTextContent.getLength() )
+ if ( !sTextContent.isEmpty() )
bAnyContent = sal_True; // element written in FinishTextElement_Impl
FinishTextElement_Impl(); // final text element - before maps