diff options
Diffstat (limited to 'xmloff/source/script/XMLStarBasicExportHandler.cxx')
-rw-r--r-- | xmloff/source/script/XMLStarBasicExportHandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/script/XMLStarBasicExportHandler.cxx b/xmloff/source/script/XMLStarBasicExportHandler.cxx index 942314b3a5ee..d26cf5236a26 100644 --- a/xmloff/source/script/XMLStarBasicExportHandler.cxx +++ b/xmloff/source/script/XMLStarBasicExportHandler.cxx @@ -87,7 +87,7 @@ void XMLStarBasicExportHandler::Export( // else: disregard } - if( sLocation.getLength() ) + if( !sLocation.isEmpty() ) { OUStringBuffer sTmp( sLocation.getLength() + sName.getLength() + 1 ); sTmp = sLocation; |