summaryrefslogtreecommitdiff
path: root/automation
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-11 10:51:57 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-11 11:10:39 +0100
commitc32e596e2457847afdac7b3162b19ad052d4da7c (patch)
treed2439eb1a423cc792b7d97c93cdfbbc0d9ad1e8a /automation
parent6bbdf4dddffd828b38efe8849d7e205f21baaefd (diff)
remove deprecated ByteString::ToInt64, which is a busted 32bit atoi anyway
Diffstat (limited to 'automation')
-rw-r--r--automation/source/testtool/tcommuni.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/automation/source/testtool/tcommuni.cxx b/automation/source/testtool/tcommuni.cxx
index c726d5193640..32b97075f77c 100644
--- a/automation/source/testtool/tcommuni.cxx
+++ b/automation/source/testtool/tcommuni.cxx
@@ -170,7 +170,7 @@ sal_uLong GetTTPortConfig()
GETSET( abPortToTalk, "TTPort",
rtl::OString::valueOf(static_cast<sal_Int32>(TESTTOOL_DEFAULT_PORT)) );
- return (sal_uLong)abPortToTalk.ToInt64();
+ return (sal_uLong)abPortToTalk.ToInt32();
}
@@ -197,7 +197,7 @@ sal_uLong GetUnoPortConfig()
GETSET( abPortToTalk, "UnoPort",
rtl::OString::valueOf(static_cast<sal_Int32>(UNO_DEFAULT_PORT)) );
- return (sal_uLong)abPortToTalk.ToInt64();
+ return (sal_uLong)abPortToTalk.ToInt32();
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */