summaryrefslogtreecommitdiff
path: root/automation/source/testtool
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-07 00:15:13 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-18 02:52:07 +0200
commit326324dd764385d21754aaa2e7fc196386eb4729 (patch)
tree68aa1d81870fc376345d35329473100ceeeec2c5 /automation/source/testtool
parentd3318788b34f6c570dff9f3a969ab4182f127b0e (diff)
ByteString::CreateFromInt32->rtl::OString::valueOf
Diffstat (limited to 'automation/source/testtool')
-rw-r--r--automation/source/testtool/tcommuni.cxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/automation/source/testtool/tcommuni.cxx b/automation/source/testtool/tcommuni.cxx
index 40795641322c..2fb5092763bc 100644
--- a/automation/source/testtool/tcommuni.cxx
+++ b/automation/source/testtool/tcommuni.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -84,7 +84,7 @@ sal_Bool CommunicationManagerClientViaSocketTT::RetryConnect()
if ( bSucc )
{
- aFirstRetryCall = Time() + Time( 0, 1 ); // Max eine Minute Zeit
+ aFirstRetryCall = Time() + Time( 0, 1 ); // Max eine Minute Zeit
for ( int i = 10 ; i-- ; )
GetpApp()->Reschedule();
}
@@ -159,7 +159,7 @@ sal_uLong GetTTPortConfig()
#endif
)
{
- aPortToTalk = Application::GetCommandLineParam( i ).Copy(6);
+ aPortToTalk = Application::GetCommandLineParam( i ).Copy(6);
return (sal_uLong)aPortToTalk.ToInt64();
}
}
@@ -168,7 +168,8 @@ sal_uLong GetTTPortConfig()
Config aConf(Config::GetConfigName( Config::GetDefDirectory(), CUniString("testtool") ));
aConf.SetGroup("Communication");
- GETSET( abPortToTalk, "TTPort", ByteString::CreateFromInt32( TESTTOOL_DEFAULT_PORT ) );
+ GETSET( abPortToTalk, "TTPort",
+ rtl::OString::valueOf(static_cast<sal_Int32>(TESTTOOL_DEFAULT_PORT)) );
return (sal_uLong)abPortToTalk.ToInt64();
}
@@ -194,7 +195,8 @@ sal_uLong GetUnoPortConfig()
Config aConf(Config::GetConfigName( Config::GetDefDirectory(), CUniString("testtool") ));
aConf.SetGroup("Communication");
- GETSET( abPortToTalk, "UnoPort", ByteString::CreateFromInt32( UNO_DEFAULT_PORT ) );
+ GETSET( abPortToTalk, "UnoPort",
+ rtl::OString::valueOf(static_cast<sal_Int32>(UNO_DEFAULT_PORT)) );
return (sal_uLong)abPortToTalk.ToInt64();
}