From e1ace637919e44a059e4546ada623df65334ae06 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 12 Jun 2011 22:37:26 +0100 Subject: WriteByteStringLines unused --- tools/inc/tools/stream.hxx | 2 -- tools/source/stream/stream.cxx | 5 ----- 2 files changed, 7 deletions(-) (limited to 'tools') diff --git a/tools/inc/tools/stream.hxx b/tools/inc/tools/stream.hxx index 075ca946c27e..55749fac7fb3 100644 --- a/tools/inc/tools/stream.hxx +++ b/tools/inc/tools/stream.hxx @@ -452,8 +452,6 @@ public: sal_Bool ReadByteStringLine( String& rStr ) { return ReadByteStringLine( rStr, GetStreamCharSet()); } sal_Bool WriteByteStringLine( const String& rStr, rtl_TextEncoding eDestCharSet ); sal_Bool WriteByteStringLine( const String& rStr ) { return WriteByteStringLine( rStr, GetStreamCharSet()); } - sal_Bool WriteByteStringLines( const String& rStr, rtl_TextEncoding eDestCharSet ); - sal_Bool WriteByteStringLines( const String& rStr ) { return WriteByteStringLine( rStr, GetStreamCharSet()); } /// Switch to no endian swapping and write 0xfeff sal_Bool StartWritingUnicodeText(); diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx index da77e038319c..4941e9fe79ce 100644 --- a/tools/source/stream/stream.cxx +++ b/tools/source/stream/stream.cxx @@ -944,11 +944,6 @@ sal_Bool SvStream::WriteUniStringLine( const String& rStr ) |* *************************************************************************/ -sal_Bool SvStream::WriteByteStringLines( const String& rStr, rtl_TextEncoding eDestCharSet ) -{ - return WriteLines( ByteString( rStr, eDestCharSet ) ); -} - sal_Bool SvStream::WriteLines( const ByteString& rStr ) { ByteString aStr( rStr ); -- cgit