summaryrefslogtreecommitdiff
path: root/framework/source/xml/imagesdocumenthandler.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2011-12-26 14:20:50 -0200
committerJan Holesovsky <kendy@suse.cz>2011-12-30 10:56:15 +0100
commit18692cc1412bd7eca37d80d4345c0ae775d94ac5 (patch)
tree21d4445a80835fc86826d9adf098dedc76b9ff07 /framework/source/xml/imagesdocumenthandler.cxx
parente220f41cb2486d2ad101d98e48fbbc40c9fd08c3 (diff)
Fix for fdo43460 Part XX getLength() to isEmpty()
Part XX Module framework
Diffstat (limited to 'framework/source/xml/imagesdocumenthandler.cxx')
-rw-r--r--framework/source/xml/imagesdocumenthandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/xml/imagesdocumenthandler.cxx b/framework/source/xml/imagesdocumenthandler.cxx
index 21f1e4f5f680..deade3d825d8 100644
--- a/framework/source/xml/imagesdocumenthandler.cxx
+++ b/framework/source/xml/imagesdocumenthandler.cxx
@@ -252,7 +252,7 @@ throw( SAXException, RuntimeException )
{
::rtl::OUString aColor = xAttribs->getValueByIndex( n );
- if ( aColor.getLength() > 0 )
+ if ( !aColor.isEmpty() )
{
if ( aColor.getStr()[0] == '#' )
{