diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-01-20 10:33:13 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-01-20 11:31:12 +0100 |
commit | 676dc0fc07726b79f3e30f21b3883c9ec51ab0ec (patch) | |
tree | a1dcf8d476d2dec9a9adba8795a2048cb783d283 /oox/source/dump/dffdumper.cxx | |
parent | 5c149e9e68d950ff7f4f61016e4f099a720b8a74 (diff) |
Replace suitable equalsAscii calls with equalsAsciiL.
Done with sed -i 's%\(\.equalsAscii\)(\(\s\?"[^"]\+"\)\(\s\?\))%\1L(\3RTL_CONSTASCII_STRINGPARAM(\2\3)\3)%g'.
Diffstat (limited to 'oox/source/dump/dffdumper.cxx')
-rw-r--r-- | oox/source/dump/dffdumper.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/oox/source/dump/dffdumper.cxx b/oox/source/dump/dffdumper.cxx index c5a768add..0fcd5a99a 100644 --- a/oox/source/dump/dffdumper.cxx +++ b/oox/source/dump/dffdumper.cxx @@ -242,13 +242,13 @@ void DffStreamObject::dumpDffOpt() { const ItemFormat& rItemFmt = aIt->second; aName = rItemFmt.maItemName; - if( rItemFmt.maListName.equalsAscii( "binary" ) ) + if( rItemFmt.maListName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "binary" ) ) ) eType = PROPTYPE_BINARY; - else if( rItemFmt.maListName.equalsAscii( "string" ) ) + else if( rItemFmt.maListName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "string" ) ) ) eType = PROPTYPE_STRING; - else if( rItemFmt.maListName.equalsAscii( "blip" ) ) + else if( rItemFmt.maListName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "blip" ) ) ) eType = PROPTYPE_BLIP; - else if( rItemFmt.maListName.equalsAscii( "colorarray" ) ) + else if( rItemFmt.maListName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "colorarray" ) ) ) eType = PROPTYPE_COLORARRAY; } aPropInfos.push_back( PropInfo( aName( "property-data" ), eType, nBaseId, nValue ) ); |