diff options
Diffstat (limited to 'xmloff/source/core/DomExport.cxx')
-rw-r--r-- | xmloff/source/core/DomExport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/core/DomExport.cxx b/xmloff/source/core/DomExport.cxx index cb9a4c9848e7..eff5c49269a1 100644 --- a/xmloff/source/core/DomExport.cxx +++ b/xmloff/source/core/DomExport.cxx @@ -227,7 +227,7 @@ OUString DomExport::qualifiedName( const OUString& sPrefix, const OUString& sLocalName ) { OUStringBuffer sBuffer; - if( ( sPrefix.getLength() > 0 ) && ( sURI.getLength() > 0 ) ) + if( !sPrefix.isEmpty() && !sURI.isEmpty() ) { addNamespace( sPrefix, sURI ); sBuffer.append( sPrefix ); |