summaryrefslogtreecommitdiff
path: root/xmloff/source/draw
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-09 17:44:52 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-03-09 20:32:40 +0100
commitd2f57b6c1275e0e6ed7f214d471ddb84ecb1b4ad (patch)
tree1728c15960c67ec9cc322e83ed37e0dc8e1f51b6 /xmloff/source/draw
parenta2454a42ad2236f0f6b88be166bc7e6a8f90f036 (diff)
fdo#43460: use isEmpty()
Change-Id: I47b35af71277fdda19767a553c960bf12164b92f
Diffstat (limited to 'xmloff/source/draw')
-rw-r--r--xmloff/source/draw/sdxmlexp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx
index 86cdd8c01ddd..b71f8513f20e 100644
--- a/xmloff/source/draw/sdxmlexp.cxx
+++ b/xmloff/source/draw/sdxmlexp.cxx
@@ -2164,13 +2164,13 @@ void SdXMLExport::exportPresentationSettings()
if( !xPageName.is() )
continue;
- if( sTmp.getLength() != 0 )
+ if( !sTmp.isEmpty() )
sTmp.append( sal_Unicode( ',' ) );
sTmp.append( xPageName->getName() );
}
- if( sTmp.getLength() )
+ if( !sTmp.isEmpty() )
AddAttribute(XML_NAMESPACE_PRESENTATION, XML_PAGES, sTmp.makeStringAndClear() );
SvXMLElementExport aShows(*this, XML_NAMESPACE_PRESENTATION, XML_SHOW, sal_True, sal_True);
@@ -2685,7 +2685,7 @@ OUString SdXMLExport::getNavigationOrder( const Reference< XDrawPage >& xDrawPag
OUString sId( getInterfaceToIdentifierMapper().registerReference( Reference< XInterface >( xNavOrder->getByIndex( nIndex ), UNO_QUERY ) ) );
if( !sId.isEmpty() )
{
- if( sNavOrder.getLength() != 0 )
+ if( !sNavOrder.isEmpty() )
sNavOrder.append( (sal_Unicode)' ' );
sNavOrder.append( sId );
}