summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-27 23:14:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-27 23:14:00 +0100
commitc3a0be5e2a884c4be85b2da6e9f26ae6e7c4f324 (patch)
tree8268c9d74edb494b50b716fbc3cce18768fb13ca /tools
parent27ba00f563353033369ad325b5cb45a3fafa9749 (diff)
remove insanely stubbed methods
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/tools/string.hxx4
-rw-r--r--tools/source/string/tstring.cxx20
2 files changed, 0 insertions, 24 deletions
diff --git a/tools/inc/tools/string.hxx b/tools/inc/tools/string.hxx
index f77d9630d962..d027a2f25610 100644
--- a/tools/inc/tools/string.hxx
+++ b/tools/inc/tools/string.hxx
@@ -154,8 +154,6 @@ class TOOLS_DLLPUBLIC ByteString
{
friend class UniString;
- TOOLS_DLLPRIVATE void InitStringRes( const UniString& rStr );
-
private:
ByteStringData* mpData;
@@ -212,8 +210,6 @@ public:
static const ByteString& EmptyString();
sal_Int32 ToInt32() const;
sal_Int64 ToInt64() const;
- float ToFloat() const;
- double ToDouble() const;
ByteString& Assign( const ByteString& rStr );
ByteString& Assign( const rtl::OString& rStr );
diff --git a/tools/source/string/tstring.cxx b/tools/source/string/tstring.cxx
index c7a5f380fb72..1f962d4deae9 100644
--- a/tools/source/string/tstring.cxx
+++ b/tools/source/string/tstring.cxx
@@ -161,26 +161,6 @@ sal_Int64 ByteString::ToInt64() const
// -----------------------------------------------------------------------
-float ByteString::ToFloat() const
-{
- DBG_CHKTHIS( ByteString, DbgCheckByteString );
-
- OSL_FAIL("ByteString::ToFloat unusable");
- return 0;
-}
-
-// -----------------------------------------------------------------------
-
-double ByteString::ToDouble() const
-{
- DBG_CHKTHIS( ByteString, DbgCheckByteString );
-
- OSL_FAIL("ByteString::ToDouble unusable");
- return 0;
-}
-
-// -----------------------------------------------------------------------
-
sal_Bool ByteString::IsLowerAscii() const
{
DBG_CHKTHIS( ByteString, DbgCheckByteString );