diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-13 19:13:55 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-13 19:13:55 -0200 |
commit | ad6ce5e938ce9d78bed9ce6dead5fa087de49c63 (patch) | |
tree | 668b0b73f6aa515e4303b946136c155f9d38ae4e /svtools/source/graphic/provider.cxx | |
parent | 38423e0ad2a8e2a902aeb37391aef0b543c09d68 (diff) |
Fix for fdo43460 Part XXXVII getLength() to isEmpty()
Part XXXVII
Modules
svtools
Diffstat (limited to 'svtools/source/graphic/provider.cxx')
-rw-r--r-- | svtools/source/graphic/provider.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/graphic/provider.cxx b/svtools/source/graphic/provider.cxx index 047f4dff2352..d5bcf46d990b 100644 --- a/svtools/source/graphic/provider.cxx +++ b/svtools/source/graphic/provider.cxx @@ -298,7 +298,7 @@ uno::Reference< ::graphic::XGraphic > GraphicProvider::implLoadResource( const : const ::rtl::OUString aResourceType( rResourceURL.getToken( 0, '/', nIndex ) ); const ResId aResId( rResourceURL.getToken( 0, '/', nIndex ).toInt32(), *pResMgr ); - if( aResourceType.getLength() ) + if( !aResourceType.isEmpty() ) { BitmapEx aBmpEx; @@ -395,7 +395,7 @@ uno::Reference< beans::XPropertySet > SAL_CALL GraphicProvider::queryGraphicDesc pDescriptor->init( xIStm, aURL ); xRet = pDescriptor; } - else if( aURL.getLength() ) + else if( !aURL.isEmpty() ) { uno::Reference< ::graphic::XGraphic > xGraphic( implLoadMemory( aURL ) ); if( !xGraphic.is() ) |