remove deprecated ByteString::ToInt64, which is a busted 32bit atoi anyway
This commit is contained in:
@@ -170,7 +170,7 @@ sal_uLong GetTTPortConfig()
|
|||||||
|
|
||||||
GETSET( abPortToTalk, "TTPort",
|
GETSET( abPortToTalk, "TTPort",
|
||||||
rtl::OString::valueOf(static_cast<sal_Int32>(TESTTOOL_DEFAULT_PORT)) );
|
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",
|
GETSET( abPortToTalk, "UnoPort",
|
||||||
rtl::OString::valueOf(static_cast<sal_Int32>(UNO_DEFAULT_PORT)) );
|
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: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
@@ -203,7 +203,6 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
sal_Int32 ToInt32() const;
|
sal_Int32 ToInt32() const;
|
||||||
sal_Int64 ToInt64() const;
|
|
||||||
|
|
||||||
ByteString& Assign( const ByteString& rStr );
|
ByteString& Assign( const ByteString& rStr );
|
||||||
ByteString& Assign( const rtl::OString& rStr );
|
ByteString& Assign( const rtl::OString& rStr );
|
||||||
|
@@ -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
|
sal_Bool ByteString::IsLowerAscii() const
|
||||||
{
|
{
|
||||||
DBG_CHKTHIS( ByteString, DbgCheckByteString );
|
DBG_CHKTHIS( ByteString, DbgCheckByteString );
|
||||||
|
Reference in New Issue
Block a user