diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-12-28 13:36:36 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-12-28 13:37:02 +0100 |
commit | 4fd5136cbd1baa86361e84e3e3b146ba29d7d316 (patch) | |
tree | edc62a6215616af420adf6f1701024bbedd2128a /xmloff/source/style | |
parent | c3b0f13546b30e5db3aecd311c7178e4e0933208 (diff) |
xmloff: mostly kill CONSTASCII_STRINGPARAM usage
Diffstat (limited to 'xmloff/source/style')
-rw-r--r-- | xmloff/source/style/xmlnumfi.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx index 28a4ec62b4a7..7b0799cc80cc 100644 --- a/xmloff/source/style/xmlnumfi.cxx +++ b/xmloff/source/style/xmlnumfi.cxx @@ -1381,7 +1381,7 @@ SvXMLNumFormatContext::SvXMLNumFormatContext( SvXMLImport& rImport, if ( pFormatter ) { sal_Int32 nNatNum = pFormatter->GetNatNum()->convertFromXmlAttributes( aNatNumAttr ); - aFormatCode.appendAscii( RTL_CONSTASCII_STRINGPARAM( "[NatNum" ) ); + aFormatCode.append( "[NatNum" ); aFormatCode.append( nNatNum, 10 ); LanguageType eLang = LanguageTag( aNatNumAttr.Locale ).getLanguageType( false); @@ -1389,7 +1389,7 @@ SvXMLNumFormatContext::SvXMLNumFormatContext( SvXMLImport& rImport, eLang = LANGUAGE_SYSTEM; //! error handling for invalid locales? if ( eLang != nFormatLang && eLang != LANGUAGE_SYSTEM ) { - aFormatCode.appendAscii( RTL_CONSTASCII_STRINGPARAM( "][$-" ) ); + aFormatCode.append( "][$-" ); // language code in upper hex: aFormatCode.append(rtl::OUString::valueOf(sal_Int32(eLang), 16).toAsciiUpperCase()); } |