[Libreoffice-commits] .: automation/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Jun 29 03:17:33 PDT 2011
automation/source/miniapp/testapp.cxx | 2 +-
automation/source/testtool/objtest.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 176e1402b2407777c84796a7e2ef695acbd2d1da
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Jun 29 09:00:20 2011 +0100
remove deprecated ByteString::CreateFromInt64
diff --git a/automation/source/miniapp/testapp.cxx b/automation/source/miniapp/testapp.cxx
index ef5d356..2fb5ef8 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 7ad2778..0b42553 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;
More information about the Libreoffice-commits
mailing list