diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-03-08 14:56:00 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-03-12 13:35:59 +0100 |
commit | 90a91ed3e9ca1684655268dc52754ca569febc36 (patch) | |
tree | c60be2656d9f136fb2c5eb70d8d9f902e21e5312 /sw/source/filter/rtf | |
parent | 814cb6a3d63707198e23131facb7ce9f23c389b6 (diff) |
use string literal OUString overloads
Diffstat (limited to 'sw/source/filter/rtf')
-rw-r--r-- | sw/source/filter/rtf/rtffly.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/rtf/rtffly.cxx b/sw/source/filter/rtf/rtffly.cxx index b4c6573f5cea..026fc4a496ad 100644 --- a/sw/source/filter/rtf/rtffly.cxx +++ b/sw/source/filter/rtf/rtffly.cxx @@ -1284,12 +1284,12 @@ void SwRTFParser::InsPicture( const String& rGrfNm, const Graphic* pGrf, PictPropertyNameValuePairs::const_iterator aEnd = pPicType->aPropertyPairs.end(); while( aIt != aEnd) { - if( aIt->first.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM( "wzDescription") )) + if( aIt->first == "wzDescription" ) { SwXFrame::GetOrCreateSdrObject( pFlyFmt ); pDoc->SetFlyFrmDescription( *(pFlyFmt), aIt->second ); } - else if( aIt->first.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM( "wzName") )) + else if( aIt->first == "wzName" ) { SwXFrame::GetOrCreateSdrObject( pFlyFmt ); pDoc->SetFlyFrmTitle( *(pFlyFmt), aIt->second ); |