From ba083e5c5a4723db90acacb769c4f1624f182287 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 4 Sep 2013 00:58:42 +0300 Subject: WaE: use number() instead of valueOf() Change-Id: I4a464a8e6448d1f9b1be820f11e643930682bcdb --- dtrans/source/win32/misc/ImplHelper.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dtrans') 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(GetOEMCP( )), 10 ); + winCP = OUString::number( static_cast(GetOEMCP( )) ); } else if ( LOCALE_IDEFAULTANSICODEPAGE == lctype ) { - winCP = OUString::valueOf( static_cast(GetACP( )), 10 ); + winCP = OUString::number( static_cast(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( codepage ), 10 ); + return OUString::number( static_cast( codepage ) ); } //------------------------------------------------------------------------- -- cgit