diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-06-29 16:15:08 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-06-29 16:23:24 +0200 |
commit | 955ebe83a8e57a776044b7f7749b4701ba82b8f4 (patch) | |
tree | 1ead4da716db8f19b27d0cec2785301935ceea9d /xmloff/source/transform/StyleOOoTContext.cxx | |
parent | 318f2b64cc32038b2ab1b18b4a13e3f41e1e35ff (diff) |
String to OUString and cleanup
Change-Id: Idc18c1a6a64edea3399c8747ec0f096a2f964b68
Diffstat (limited to 'xmloff/source/transform/StyleOOoTContext.cxx')
-rw-r--r-- | xmloff/source/transform/StyleOOoTContext.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/transform/StyleOOoTContext.cxx b/xmloff/source/transform/StyleOOoTContext.cxx index 5432f85e5d61..a56827e82ab3 100644 --- a/xmloff/source/transform/StyleOOoTContext.cxx +++ b/xmloff/source/transform/StyleOOoTContext.cxx @@ -867,7 +867,7 @@ void XMLPropertiesOOoTContext_Impl::StartElement( case XML_ATACTION_CAPTION_ESCAPE_OOO: { OUString aAttrValue( sAttrValue ); - if( aAttrValue.indexOf( sal_Unicode('%') ) != -1 ) + if( aAttrValue.indexOf( '%' ) != -1 ) { sal_Int32 nValue = 0; ::sax::Converter::convertPercent( nValue, sAttrValue ); @@ -952,7 +952,7 @@ void XMLPropertiesOOoTContext_Impl::StartElement( case XML_ATACTION_OPACITY_FIX: { sal_Int32 nValue; - if( sAttrValue.indexOf( sal_Unicode('%') ) != -1 ) + if( sAttrValue.indexOf( '%' ) != -1 ) { ::sax::Converter::convertPercent( nValue, sAttrValue ); } |