summaryrefslogtreecommitdiff
path: root/toolkit/source/helper/tkresmgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/helper/tkresmgr.cxx')
-rw-r--r--toolkit/source/helper/tkresmgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/helper/tkresmgr.cxx b/toolkit/source/helper/tkresmgr.cxx
index 7bf8b028c5dd..ed29c38dce44 100644
--- a/toolkit/source/helper/tkresmgr.cxx
+++ b/toolkit/source/helper/tkresmgr.cxx
@@ -104,7 +104,7 @@ Image TkResMgr::loadImage( sal_uInt16 nResId )
// -----------------------------------------------------------------------------
Image TkResMgr::getImageFromURL( const ::rtl::OUString& i_rImageURL )
{
- if ( !i_rImageURL.getLength() )
+ if ( i_rImageURL.isEmpty() )
return Image();
try