summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-10 21:58:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-11 11:10:38 +0100
commit7488e1107c461b529c1c8771fd98488588fe8645 (patch)
tree2721584cfb32bd13f00cf0b9a17a5a58eb22d4fd /tools
parent35c83a7f4f84cb708b534c77d7344e8abb4539f9 (diff)
ditch unused ByteString using code
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/tools/config.hxx1
-rw-r--r--tools/source/generic/config.cxx9
2 files changed, 0 insertions, 10 deletions
diff --git a/tools/inc/tools/config.hxx b/tools/inc/tools/config.hxx
index b09e6aadc0da..fdb00529b312 100644
--- a/tools/inc/tools/config.hxx
+++ b/tools/inc/tools/config.hxx
@@ -74,7 +74,6 @@ public:
UniString ReadKey( const ByteString& rKey, rtl_TextEncoding eEncoding ) const;
ByteString ReadKey( const ByteString& rKey, const ByteString& rDefault ) const;
void WriteKey( const ByteString& rKey, const ByteString& rValue );
- void WriteKey( const ByteString& rKey, const UniString& rValue, rtl_TextEncoding eEncoding );
void DeleteKey( const ByteString& rKey );
ByteString GetKeyName( sal_uInt16 nKey ) const;
ByteString ReadKey( sal_uInt16 nKey ) const;
diff --git a/tools/source/generic/config.cxx b/tools/source/generic/config.cxx
index 7df9dd8b2c52..1cf709464903 100644
--- a/tools/source/generic/config.cxx
+++ b/tools/source/generic/config.cxx
@@ -1079,15 +1079,6 @@ void Config::WriteKey( const ByteString& rKey, const ByteString& rStr )
// -----------------------------------------------------------------------
-void Config::WriteKey( const ByteString& rKey, const UniString& rValue, rtl_TextEncoding eEncoding )
-{
- if ( mpData->mbIsUTF8BOM )
- eEncoding = RTL_TEXTENCODING_UTF8;
- WriteKey( rKey, ByteString( rValue, eEncoding ) );
-}
-
-// -----------------------------------------------------------------------
-
void Config::DeleteKey( const ByteString& rKey )
{
// Config-Daten evt. updaten