summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/inc/tools/string.hxx1
-rw-r--r--tools/source/string/tstring.cxx13
2 files changed, 0 insertions, 14 deletions
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 <rtl/alloc.h>
#include <rtl/memory.h>
#include <rtl/tencinfo.h>
-#include <rtl/instance.hxx>
#include <tools/string.hxx>
#include <impstrg.hxx>
@@ -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 );