summaryrefslogtreecommitdiff
path: root/automation/source/testtool
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-07 00:15:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-07 10:59:48 +0100
commitf3a4489fb8885b549afcf567e88b7f46fddceba3 (patch)
treeed42ccbda4256de5a09f51d846c83cabab7315c7 /automation/source/testtool
parent6407ae08b15438965a501087c1ff8c8f6c1da9b6 (diff)
ByteString::CreateFromInt32->rtl::OString::valueOf
Diffstat (limited to 'automation/source/testtool')
-rw-r--r--automation/source/testtool/tcommuni.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/automation/source/testtool/tcommuni.cxx b/automation/source/testtool/tcommuni.cxx
index 40795641322c..c726d5193640 100644
--- a/automation/source/testtool/tcommuni.cxx
+++ b/automation/source/testtool/tcommuni.cxx
@@ -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();
}