summaryrefslogtreecommitdiff
path: root/tools/source/stream/stream.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/stream/stream.cxx')
-rw-r--r--tools/source/stream/stream.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index db84400b77f9..fd5a579a8bde 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -885,18 +885,6 @@ sal_Size write_uInt16s_FromOUString(SvStream& rStrm, const rtl::OUString& rStr,
return nWritten;
}
-/*************************************************************************
-|*
-|* Stream::WriteUnicodeText()
-|*
-*************************************************************************/
-
-sal_Bool SvStream::WriteUnicodeText( const String& rStr )
-{
- write_uInt16s_FromOUString(*this, rStr, rStr.Len());
- return nError == SVSTREAM_OK;
-}
-
sal_Bool SvStream::WriteUnicodeOrByteText( const String& rStr, rtl_TextEncoding eDestCharSet )
{
if ( eDestCharSet == RTL_TEXTENCODING_UNICODE )