[Libreoffice-commits] core.git: dtrans/source
Tor Lillqvist
tml at collabora.com
Tue Sep 3 15:04:06 PDT 2013
dtrans/source/win32/misc/ImplHelper.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit ba083e5c5a4723db90acacb769c4f1624f182287
Author: Tor Lillqvist <tml at collabora.com>
Date: Wed Sep 4 00:58:42 2013 +0300
WaE: use number() instead of valueOf()
Change-Id: I4a464a8e6448d1f9b1be820f11e643930682bcdb
diff --git a/dtrans/source/win32/misc/ImplHelper.cxx b/dtrans/source/win32/misc/ImplHelper.cxx
index 982d33f..3337644 100644
--- a/dtrans/source/win32/misc/ImplHelper.cxx
+++ b/dtrans/source/win32/misc/ImplHelper.cxx
@@ -94,11 +94,11 @@ OUString SAL_CALL getWinCPFromLocaleId( LCID lcid, LCTYPE lctype )
// set an default value
if ( LOCALE_IDEFAULTCODEPAGE == lctype )
{
- winCP = OUString::valueOf( static_cast<sal_Int32>(GetOEMCP( )), 10 );
+ winCP = OUString::number( static_cast<sal_Int32>(GetOEMCP( )) );
}
else if ( LOCALE_IDEFAULTANSICODEPAGE == lctype )
{
- winCP = OUString::valueOf( static_cast<sal_Int32>(GetACP( )), 10 );
+ winCP = OUString::number( static_cast<sal_Int32>(GetACP( )) );
}
else
OSL_ASSERT( sal_False );
@@ -180,7 +180,7 @@ OUString SAL_CALL cptostr( sal_uInt32 codepage )
{
OSL_ASSERT( IsValidCodePage( codepage ) );
- return OUString::valueOf( static_cast<sal_Int64>( codepage ), 10 );
+ return OUString::number( static_cast<sal_Int64>( codepage ) );
}
//-------------------------------------------------------------------------
More information about the Libreoffice-commits
mailing list