summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-10 22:36:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-11 12:06:23 +0100
commit41e055112ea778c7a45d6cc5f0ce32e44bdb031c (patch)
tree83bca8c70dc94beb5ebaad07f432fa135826bc4b /cui
parentcc84a792f2131d8e5b244f239f5ba71e4ef5d48d (diff)
String::CreateFromInt32->rtl::OUString::valueOf
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optlingu.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx
index b23de8b7aba3..5c2ad383ffc4 100644
--- a/cui/source/options/optlingu.cxx
+++ b/cui/source/options/optlingu.cxx
@@ -490,10 +490,10 @@ void BrwString_Impl::Paint( const Point& rPos, SvLBox& rDev, sal_uInt16,
OptionsUserData aData( (sal_uLong) pEntry->GetUserData() );
if(aData.HasNumericValue())
{
- String sTxt( ' ' );
- sTxt += String::CreateFromInt32( aData.GetNumericValue() );
+ rtl::OUStringBuffer sTxt;
+ aTxt.append(' ').append(static_cast<sal_Int32>(aData.GetNumericValue()));
rDev.SetFont( aFont );
- rDev.DrawText( aNewPos, sTxt );
+ rDev.DrawText( aNewPos, sTxt.makeStringAndClear() );
}
rDev.SetFont( aOldFont );