From ac4a660da59acbd172c341f433ab96684a083da6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sun, 10 Jul 2011 21:58:57 +0100 Subject: callcatcher: unused ByteString::EmptyString --- tools/inc/tools/string.hxx | 1 - tools/source/string/tstring.cxx | 13 ------------- 2 files changed, 14 deletions(-) (limited to 'tools') diff --git a/tools/inc/tools/string.hxx b/tools/inc/tools/string.hxx index c3cd6348f0e3..4dede058d162 100644 --- a/tools/inc/tools/string.hxx +++ b/tools/inc/tools/string.hxx @@ -204,7 +204,6 @@ public: } static ByteString CreateFromInt32( sal_Int32 n, sal_Int16 nRadix = 10 ); - static const ByteString& EmptyString(); sal_Int32 ToInt32() const; sal_Int64 ToInt64() const; diff --git a/tools/source/string/tstring.cxx b/tools/source/string/tstring.cxx index e8830fd27de9..b89a51ba7cdc 100644 --- a/tools/source/string/tstring.cxx +++ b/tools/source/string/tstring.cxx @@ -38,7 +38,6 @@ #include #include #include -#include #include #include @@ -104,18 +103,6 @@ ByteString ByteString::CreateFromInt32( sal_Int32 n, sal_Int16 nRadix ) // ----------------------------------------------------------------------- -namespace -{ - struct theEmpty : public rtl::Static< const ByteString, theEmpty> {}; -} - -const ByteString& ByteString::EmptyString() -{ - return theEmpty::get(); -} - -// ----------------------------------------------------------------------- - sal_Int32 ByteString::ToInt32() const { DBG_CHKTHIS( ByteString, DbgCheckByteString ); -- cgit v1.2.1