diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-06-02 15:26:21 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-06-02 16:48:34 -0500 |
commit | d29d9399d48f85989cc8040f5ba334c38b40a544 (patch) | |
tree | f750a00c228781b218afb903b15cdd86de2ed417 /xmloff/source/style/xmlbahdl.cxx | |
parent | 0aca9731819acdc5e0369aef0c86725d939c4f5c (diff) |
targeted string re-work
Change-Id: I342f1b8ac6c8205b6c587578a6b10a6ca51758fa
Diffstat (limited to 'xmloff/source/style/xmlbahdl.cxx')
-rw-r--r-- | xmloff/source/style/xmlbahdl.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xmloff/source/style/xmlbahdl.cxx b/xmloff/source/style/xmlbahdl.cxx index 8535c0b818d0..f4892fffc5c9 100644 --- a/xmloff/source/style/xmlbahdl.cxx +++ b/xmloff/source/style/xmlbahdl.cxx @@ -499,7 +499,7 @@ sal_Bool XMLColorPropHdl::importXML( const OUString& rStrImpValue, Any& rValue, { sal_Bool bRet = sal_False; - const OUString astrHSL( RTL_CONSTASCII_USTRINGPARAM( "hsl" ) ); + const OUString astrHSL( "hsl" ); if( rStrImpValue.matchIgnoreAsciiCase( astrHSL ) ) { sal_Int32 nOpen = rStrImpValue.indexOf( '(' ); @@ -547,13 +547,13 @@ sal_Bool XMLColorPropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, Sequence< double > aHSL; if( (rValue >>= aHSL) && (aHSL.getLength() == 3) ) { - aOut.append( OUString(RTL_CONSTASCII_USTRINGPARAM("hsl(")) ); + aOut.append( OUString("hsl(") ); aOut.append( aHSL[0] ); - aOut.append( OUString(RTL_CONSTASCII_USTRINGPARAM(",")) ); + aOut.append( OUString(",") ); aOut.append( aHSL[1] * 100.0 ); - aOut.append( OUString(RTL_CONSTASCII_USTRINGPARAM("%,")) ); + aOut.append( OUString("%,") ); aOut.append( aHSL[2] * 100.0 ); - aOut.append( OUString(RTL_CONSTASCII_USTRINGPARAM("%)")) ); + aOut.append( OUString("%)") ); rStrExpValue = aOut.makeStringAndClear(); bRet = sal_True; |