From b36d555440b86d8293b188e4d99ec8682a2139a5 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 26 Feb 2012 20:45:18 +0000 Subject: drop UniString::CreateFromInt64 --- ucb/workben/ucb/ucbdemo.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ucb') 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(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(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(nTime)); aText.AppendAscii( RTL_CONSTASCII_STRINGPARAM( " ms." ) ); print( aText ); } -- cgit