summaryrefslogtreecommitdiff
path: root/dtrans
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-09-04 00:58:42 +0300
committerTor Lillqvist <tml@collabora.com>2013-09-04 00:58:42 +0300
commitba083e5c5a4723db90acacb769c4f1624f182287 (patch)
treef980f0068e7edba53f11487c43ae93d29c8daafb /dtrans
parenta463f74ebf9a2d415f645d4d81377f0207216324 (diff)
WaE: use number() instead of valueOf()
Change-Id: I4a464a8e6448d1f9b1be820f11e643930682bcdb
Diffstat (limited to 'dtrans')
-rw-r--r--dtrans/source/win32/misc/ImplHelper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dtrans/source/win32/misc/ImplHelper.cxx b/dtrans/source/win32/misc/ImplHelper.cxx
index 982d33f067b5..3337644f63ab 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 ) );
}
//-------------------------------------------------------------------------