summaryrefslogtreecommitdiff
path: root/svtools/source/graphic/grfmgr.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-13 19:13:55 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-13 19:13:55 -0200
commitad6ce5e938ce9d78bed9ce6dead5fa087de49c63 (patch)
tree668b0b73f6aa515e4303b946136c155f9d38ae4e /svtools/source/graphic/grfmgr.cxx
parent38423e0ad2a8e2a902aeb37391aef0b543c09d68 (diff)
Fix for fdo43460 Part XXXVII getLength() to isEmpty()
Part XXXVII Modules svtools
Diffstat (limited to 'svtools/source/graphic/grfmgr.cxx')
-rw-r--r--svtools/source/graphic/grfmgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx
index 3b4bfc44ff37..2c4997532451 100644
--- a/svtools/source/graphic/grfmgr.cxx
+++ b/svtools/source/graphic/grfmgr.cxx
@@ -1195,7 +1195,7 @@ GraphicObject::InspectForGraphicObjectImageURL( const Reference< XInterface >& x
{
rtl::OUString sURL;
xProps->getPropertyValue( sImageURL ) >>= sURL;
- if ( sURL.getLength() && sURL.compareToAscii( UNO_NAME_GRAPHOBJ_URLPREFIX, RTL_CONSTASCII_LENGTH( UNO_NAME_GRAPHOBJ_URLPREFIX ) ) == 0 )
+ if ( !sURL.isEmpty() && sURL.compareToAscii( UNO_NAME_GRAPHOBJ_URLPREFIX, RTL_CONSTASCII_LENGTH( UNO_NAME_GRAPHOBJ_URLPREFIX ) ) == 0 )
rvEmbedImgUrls.push_back( sURL );
}
}