diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-07 00:15:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-07 10:59:48 +0100 |
commit | f3a4489fb8885b549afcf567e88b7f46fddceba3 (patch) | |
tree | ed42ccbda4256de5a09f51d846c83cabab7315c7 /automation/source/testtool | |
parent | 6407ae08b15438965a501087c1ff8c8f6c1da9b6 (diff) |
ByteString::CreateFromInt32->rtl::OString::valueOf
Diffstat (limited to 'automation/source/testtool')
-rw-r--r-- | automation/source/testtool/tcommuni.cxx | 6 |
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(); } |