summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-02-26 20:45:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-27 09:45:57 +0000
commitb36d555440b86d8293b188e4d99ec8682a2139a5 (patch)
tree85fba385e1c021c3b2d86bc8922c5980b4abe9ff /ucb
parentd6100ba273e7d73cc4b00a378ce5bad49559943b (diff)
drop UniString::CreateFromInt64
Diffstat (limited to 'ucb')
-rw-r--r--ucb/workben/ucb/ucbdemo.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/ucb/workben/ucb/ucbdemo.cxx b/ucb/workben/ucb/ucbdemo.cxx
index 0a61f75fabda..4e71592958a6 100644
--- a/ucb/workben/ucb/ucbdemo.cxx
+++ b/ucb/workben/ucb/ucbdemo.cxx
@@ -1197,7 +1197,7 @@ void UcbContent::open( const rtl::OUString & rName, const UniString& rInput,
UniString
aText( UniString::CreateFromAscii(
RTL_CONSTASCII_STRINGPARAM( "Operation took " ) ) );
- aText += UniString::CreateFromInt64( nTime );
+ aText += rtl::OUString::valueOf(static_cast<sal_Int64>(nTime));
aText.AppendAscii( RTL_CONSTASCII_STRINGPARAM( " ms." ) );
print( aText );
}
@@ -1225,7 +1225,7 @@ void UcbContent::openAll( Ucb& rUCB, bool bPrint, bool bTiming, bool bSort,
for ( sal_uInt32 i = aEntry.m_nLevel; i != 0; --i )
aText += '=';
aText.AppendAscii( RTL_CONSTASCII_STRINGPARAM( "LEVEL " ) );
- aText += UniString::CreateFromInt64( aEntry.m_nLevel );
+ aText += rtl::OUString::valueOf(static_cast<sal_Int64>(aEntry.m_nLevel));
uno::Reference< ucb::XContentIdentifier > xID;
if ( aEntry.m_bUseIdentifier )
@@ -1279,7 +1279,7 @@ void UcbContent::openAll( Ucb& rUCB, bool bPrint, bool bTiming, bool bSort,
UniString
aText( UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM(
"Operation took " ) ) );
- aText += UniString::CreateFromInt64( nTime );
+ aText += rtl::OUString::valueOf(static_cast<sal_Int64>(nTime));
aText.AppendAscii( RTL_CONSTASCII_STRINGPARAM( " ms." ) );
print( aText );
}