summaryrefslogtreecommitdiff
path: root/editeng/source/rtf/rtfgrf.cxx
diff options
context:
space:
mode:
authorGustavo Buzzatti Pacheco <gbpacheco@gmail.com>2011-12-23 10:25:18 -0200
committerIvan Timofeev <timofeev.i.s@gmail.com>2011-12-23 22:04:44 +0400
commitb575f4b1a2a2217282cddc995951b350936b47b1 (patch)
treea4ac2423d77240f427383b6850a796123b956a24 /editeng/source/rtf/rtfgrf.cxx
parentc84a5ec4cb81eddb8bb382a6494c28df5131cb85 (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.cxx2
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();