summaryrefslogtreecommitdiff
path: root/editeng/source/rtf/rtfgrf.cxx
diff options
context:
space:
mode:
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();