summaryrefslogtreecommitdiff
path: root/basic/source/sbx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-08 17:35:47 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-10 12:49:48 +0100
commit3f82d94bdcf707e6cf30403434c3470930bb0b01 (patch)
tree5b795d19d50ef2d5f91d44f2df9813fa440a75f4 /basic/source/sbx
parent0c38c3e0899f50ba2a780ca7c261a622bcf32bb2 (diff)
String::CreateFromInt32->rtl::OUString::valueOf
Diffstat (limited to 'basic/source/sbx')
-rw-r--r--basic/source/sbx/sbxscan.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx
index b4f111c32f6c..80276a3f217f 100644
--- a/basic/source/sbx/sbxscan.cxx
+++ b/basic/source/sbx/sbxscan.cxx
@@ -800,13 +800,13 @@ void SbxValue::Format( XubString& rRes, const XubString* pFmt ) const
}
else
{
- rRes = String::CreateFromInt32( nMin );
+ rRes = rtl::OUString::valueOf(nMin);
}
}
else if( aFmtStr.EqualsIgnoreCaseAscii( VBAFORMAT_W ))
{
sal_Int32 nWeekDay = implGetWeekDay( nNumber );
- rRes = String::CreateFromInt32( nWeekDay );
+ rRes = rtl::OUString::valueOf(nWeekDay);
}
else if( aFmtStr.EqualsIgnoreCaseAscii( VBAFORMAT_Y ))
{
@@ -814,7 +814,7 @@ void SbxValue::Format( XubString& rRes, const XubString* pFmt ) const
double dBaseDate;
implDateSerial( nYear, 1, 1, dBaseDate );
sal_Int32 nYear32 = 1 + sal_Int32( nNumber - dBaseDate );
- rRes = String::CreateFromInt32( nYear32 );
+ rRes = rtl::OUString::valueOf(nYear32);
}
else
{