diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-11-05 17:47:14 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-11-18 19:57:22 -0600 |
commit | ead89ae2019b0533306d7b485ddcc71c57362599 (patch) | |
tree | bc879c17b840914dc09c54e66bb857e64d1bb7c0 /sc | |
parent | a7455a4a79f3be532b6a9cbbfb6bc00d86636902 (diff) |
svl: convert KeywordTable to OUString
Change-Id: I93daafcb6cc161f10ec87fe9f1dc877e2154299d
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/xestyle.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/filter/excel/xestyle.cxx b/sc/source/filter/excel/xestyle.cxx index d99c9fdcc8a3..ba639b6d5dd1 100644 --- a/sc/source/filter/excel/xestyle.cxx +++ b/sc/source/filter/excel/xestyle.cxx @@ -1247,12 +1247,12 @@ XclExpNumFmtBuffer::XclExpNumFmtBuffer( const XclExpRoot& rRoot ) : mxFormatter->FillKeywordTable( *mpKeywordTable, LANGUAGE_ENGLISH_US ); // remap codes unknown to Excel - (*mpKeywordTable)[ NF_KEY_NN ] = String( RTL_CONSTASCII_USTRINGPARAM( "DDD" ) ); - (*mpKeywordTable)[ NF_KEY_NNN ] = String( RTL_CONSTASCII_USTRINGPARAM( "DDDD" ) ); + (*mpKeywordTable)[ NF_KEY_NN ] = "DDD"; + (*mpKeywordTable)[ NF_KEY_NNN ] = "DDDD"; // NNNN gets a separator appended in SvNumberformat::GetMappedFormatString() - (*mpKeywordTable)[ NF_KEY_NNNN ] = String( RTL_CONSTASCII_USTRINGPARAM( "DDDD" ) ); + (*mpKeywordTable)[ NF_KEY_NNNN ] = "DDDD"; // Export the Thai T NatNum modifier. - (*mpKeywordTable)[ NF_KEY_THAI_T ] = String( RTL_CONSTASCII_USTRINGPARAM( "T" ) ); + (*mpKeywordTable)[ NF_KEY_THAI_T ] = "T"; } XclExpNumFmtBuffer::~XclExpNumFmtBuffer() @@ -2880,12 +2880,12 @@ XclExpDxfs::XclExpDxfs( const XclExpRoot& rRoot ) { mxFormatter->FillKeywordTable( *mpKeywordTable, LANGUAGE_ENGLISH_US ); // remap codes unknown to Excel - (*mpKeywordTable)[ NF_KEY_NN ] = String( RTL_CONSTASCII_USTRINGPARAM( "DDD" ) ); - (*mpKeywordTable)[ NF_KEY_NNN ] = String( RTL_CONSTASCII_USTRINGPARAM( "DDDD" ) ); + (*mpKeywordTable)[ NF_KEY_NN ] = "DDD"; + (*mpKeywordTable)[ NF_KEY_NNN ] = "DDDD"; // NNNN gets a separator appended in SvNumberformat::GetMappedFormatString() - (*mpKeywordTable)[ NF_KEY_NNNN ] = String( RTL_CONSTASCII_USTRINGPARAM( "DDDD" ) ); + (*mpKeywordTable)[ NF_KEY_NNNN ] = "DDDD"; // Export the Thai T NatNum modifier. - (*mpKeywordTable)[ NF_KEY_THAI_T ] = String( RTL_CONSTASCII_USTRINGPARAM( "T" ) ); + (*mpKeywordTable)[ NF_KEY_THAI_T ] = "T"; SCTAB nTables = rRoot.GetDoc().GetTableCount(); for(SCTAB nTab = 0; nTab < nTables; ++nTab) |