summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-29 09:00:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-29 11:15:36 +0100
commit176e1402b2407777c84796a7e2ef695acbd2d1da (patch)
tree0b08db43259f491db326f3cc21d623a4b1375c08
parent2c48643deb0ca265742be52c9f9a546bd3b3253f (diff)
remove deprecated ByteString::CreateFromInt64
-rw-r--r--automation/source/miniapp/testapp.cxx2
-rw-r--r--automation/source/testtool/objtest.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/automation/source/miniapp/testapp.cxx b/automation/source/miniapp/testapp.cxx
index ef5d3565b..2fb5ef843 100644
--- a/automation/source/miniapp/testapp.cxx
+++ b/automation/source/miniapp/testapp.cxx
@@ -209,7 +209,7 @@ sal_uInt16 MyDispatcher::ExecuteFunction( sal_uInt16 nSID, SfxPoolItem** ppArgs,
case IDM_SYS_DLG: pMainWin->SysDlg(); break;
default:
{
- OSL_TRACE("Dispatcher kennt Funktion nicht %s",ByteString::CreateFromInt64(nSID).GetBuffer());
+ OSL_TRACE("Dispatcher kennt Funktion nicht %s", rtl::OString::valueOf(static_cast<sal_Int64>(nSID)).getStr());
return EXECUTE_NO;
}
diff --git a/automation/source/testtool/objtest.cxx b/automation/source/testtool/objtest.cxx
index 7ad2778ce..0b4255346 100644
--- a/automation/source/testtool/objtest.cxx
+++ b/automation/source/testtool/objtest.cxx
@@ -402,7 +402,7 @@ void TestToolObj::LoadIniFile() // Laden der IniEinstellungen, die durch den
aConf.SetGroup("Misc");
String aST;
- GETSET( aST, "ServerTimeout", ByteString::CreateFromInt64(Time(0,0,45).GetTime()) ); // 45 Sekunden Initial
+ GETSET( aST, "ServerTimeout", rtl::OString::valueOf(Time(0,0,45).GetTime()) ); // 45 Sekunden Initial
pImpl->aServerTimeout = Time(sal_uLong(aST.ToInt64()));
String aSOSE;