remove deprecated ByteString::ToInt64, which is a busted 32bit atoi anyway

This commit is contained in:
Caolán McNamara
2011-08-11 10:51:57 +01:00
parent 6bbdf4dddf
commit c32e596e24
3 changed files with 2 additions and 12 deletions

View File

@@ -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: */

View File

@@ -203,7 +203,6 @@ public:
}
sal_Int32 ToInt32() const;
sal_Int64 ToInt64() const;
ByteString& Assign( const ByteString& rStr );
ByteString& Assign( const rtl::OString& rStr );

View File

@@ -99,15 +99,6 @@ sal_Int32 ByteString::ToInt32() const
// -----------------------------------------------------------------------
sal_Int64 ByteString::ToInt64() const
{
DBG_CHKTHIS( ByteString, DbgCheckByteString );
return atoi( mpData->maStr );
}
// -----------------------------------------------------------------------
sal_Bool ByteString::IsLowerAscii() const
{
DBG_CHKTHIS( ByteString, DbgCheckByteString );