summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-07-03 23:22:25 -0300
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-07-03 23:22:25 -0300
commit7f5f50052df9222dd3bb0908cff7d864859ae213 (patch)
treec10bb1637bf935b9b7ed40aee6ebba94ecbf3412 /svl
parentc6c99966cd4515b574e9cd21e89954dabf56009a (diff)
Make windows tinderbox happy
fix some cast for OUString Change-Id: I20563d404169b9e1f29699d52567760509fabb13
Diffstat (limited to 'svl')
-rw-r--r--svl/source/numbers/zforlist.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx
index 934a043b8ee4..368a0226bb28 100644
--- a/svl/source/numbers/zforlist.cxx
+++ b/svl/source/numbers/zforlist.cxx
@@ -949,7 +949,7 @@ sal_uInt32 SvNumberFormatter::ImpGenerateCL( LanguageType eLnge, bool bNoAdditio
if ( !aDupes.isEmpty() )
{
rtl::OUString aMsg("XML locale data FormatElement formatindex dupe: ");
- aMsg += rtl::OUString::valueOf( nIdx );
+ aMsg += rtl::OUString::valueOf( sal_Int32(nIdx) );
aMsg += "\nFormatElements: ";
aMsg += rtl::OUString::valueOf( j );
aMsg += "(";
@@ -1740,7 +1740,7 @@ SvNumberformat* SvNumberFormatter::ImpInsertFormat(
rCode.Index != NF_CURRENCY_1000DEC2_CCC )
{
rtl::OUString aMsg("SvNumberFormatter::ImpInsertFormat: no [$...] on currency format code, index ");
- aMsg += rtl::OUString::valueOf( rCode.Index );
+ aMsg += rtl::OUString::valueOf( sal_Int32(rCode.Index) );
aMsg += ":\n";
aMsg += rCode.Code;
LocaleDataWrapper::outputCheckMessage( xLocaleData->appendLocaleInfo( aMsg));
@@ -1758,7 +1758,7 @@ SvNumberformat* SvNumberFormatter::ImpInsertFormat(
if (LocaleDataWrapper::areChecksEnabled())
{
rtl::OUString aMsg( "SvNumberFormatter::ImpInsertFormat: bad format code, index " );
- aMsg += rtl::OUString::valueOf( rCode.Index );
+ aMsg += rtl::OUString::valueOf( sal_Int32(rCode.Index) );
aMsg += "\n";
aMsg += rCode.Code;
LocaleDataWrapper::outputCheckMessage( xLocaleData->appendLocaleInfo( aMsg));
@@ -1788,7 +1788,7 @@ SvNumberformat* SvNumberFormatter::ImpInsertFormat(
default:
{
rtl::OUString aMsg("SvNumberFormatter::ImpInsertFormat: dup format code, index ");
- aMsg += rtl::OUString::valueOf( rCode.Index );
+ aMsg += rtl::OUString::valueOf( sal_Int32(rCode.Index) );
aMsg += "\n";
aMsg += rCode.Code;
LocaleDataWrapper::outputCheckMessage( xLocaleData->appendLocaleInfo( aMsg));
@@ -1803,7 +1803,7 @@ SvNumberformat* SvNumberFormatter::ImpInsertFormat(
if (LocaleDataWrapper::areChecksEnabled())
{
rtl::OUString aMsg( "SvNumberFormatter::ImpInsertFormat: too many format codes, index ");
- aMsg += rtl::OUString::valueOf( rCode.Index );
+ aMsg += rtl::OUString::valueOf( sal_Int32(rCode.Index) );
aMsg += "\n";
aMsg += rCode.Code;
LocaleDataWrapper::outputCheckMessage( xLocaleData->appendLocaleInfo( aMsg));
@@ -1819,7 +1819,7 @@ SvNumberformat* SvNumberFormatter::ImpInsertFormat(
rtl::OUString aMsg( "ImpInsertFormat: can't insert number format key pos: ");
aMsg += rtl::OUString::valueOf( sal_Int32( nPos ) );
aMsg += ", code index ";
- aMsg += rtl::OUString::valueOf( rCode.Index );
+ aMsg += rtl::OUString::valueOf( sal_Int32(rCode.Index) );
aMsg += "\n";
aMsg += rCode.Code;
LocaleDataWrapper::outputCheckMessage( xLocaleData->appendLocaleInfo( aMsg));