diff options
author | Gustavo Buzzatti Pacheco <gbpacheco@gmail.com> | 2011-12-23 10:25:18 -0200 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2011-12-23 22:04:44 +0400 |
commit | b575f4b1a2a2217282cddc995951b350936b47b1 (patch) | |
tree | a4ac2423d77240f427383b6850a796123b956a24 /editeng/source/rtf/rtfgrf.cxx | |
parent | c84a5ec4cb81eddb8bb382a6494c28df5131cb85 (diff) |
Fix for fdo43460 Part XIV getLength() to isEmpty()
Part XIV
Modules
drawinglayer, dtrans, editeng
Diffstat (limited to 'editeng/source/rtf/rtfgrf.cxx')
-rw-r--r-- | editeng/source/rtf/rtfgrf.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/rtf/rtfgrf.cxx b/editeng/source/rtf/rtfgrf.cxx index b4d5c8753832..0434bf76a588 100644 --- a/editeng/source/rtf/rtfgrf.cxx +++ b/editeng/source/rtf/rtfgrf.cxx @@ -297,7 +297,7 @@ sal_Bool SvxRTFParser::ReadBmpData( Graphic& rGrf, SvxRTFPictureType& rPicType ) if( nShapePropertyBracket > 0 && nShapePropertyBracket > _nOpenBrakets ) { nShapePropertyBracket = -1; - if( sShapePropertyName.getLength() ) + if( !sShapePropertyName.isEmpty() ) { rPicType.aPropertyPairs.push_back( ::std::pair< OUString, OUString >( sShapePropertyName, sShapePropertyValue ) ); sShapePropertyName = sShapePropertyValue = ::rtl::OUString(); |