summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xistyle.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-11-27 22:58:50 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-11-27 23:00:06 -0600
commitc617be8307033394bde4255c05b72dbd01ae0056 (patch)
treebda35b72f8b61d71f22517a197517ec3bbffa0b0 /sc/source/filter/excel/xistyle.cxx
parentae0fa7cc62e1f57d22e68b2ef45086aeb1dfe41c (diff)
remove legacy String svl's Put*Entry family of function and convert users
Change-Id: Iebf4017ce4c2c48389716eac1bbf7f386ac7a296
Diffstat (limited to 'sc/source/filter/excel/xistyle.cxx')
-rw-r--r--sc/source/filter/excel/xistyle.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/excel/xistyle.cxx b/sc/source/filter/excel/xistyle.cxx
index 760cf4ad878b..dd24da424aee 100644
--- a/sc/source/filter/excel/xistyle.cxx
+++ b/sc/source/filter/excel/xistyle.cxx
@@ -659,14 +659,14 @@ void XclImpNumFmtBuffer::CreateScFormats()
const XclNumFmt& rNumFmt = aIt->second;
// insert/convert the Excel number format
- xub_StrLen nCheckPos;
+ sal_Int32 nCheckPos;
short nType = NUMBERFORMAT_DEFINED;
sal_uInt32 nKey;
if( rNumFmt.maFormat.Len() )
{
- String aFormat( rNumFmt.maFormat );
+ OUString aFormat( rNumFmt.maFormat );
rFormatter.PutandConvertEntry( aFormat, nCheckPos,
- nType, nKey, LANGUAGE_ENGLISH_US, rNumFmt.meLanguage );
+ nType, nKey, LANGUAGE_ENGLISH_US, rNumFmt.meLanguage );
}
else
nKey = rFormatter.GetFormatIndex( rNumFmt.meOffset, rNumFmt.meLanguage );