Kaydet (Commit) 2caef562 authored tarafından Caolán McNamara's avatar Caolán McNamara

remove ugly and unused WriteUniOrByteStringLine

üst bfb45c2b
...@@ -490,11 +490,6 @@ public: ...@@ -490,11 +490,6 @@ public:
sal_Bool WriteUniStringLine( const String& rStr ); sal_Bool WriteUniStringLine( const String& rStr );
/// Write multiple lines of Unicode (with CovertLineEnd) and append line end (endlu()) /// Write multiple lines of Unicode (with CovertLineEnd) and append line end (endlu())
sal_Bool WriteUniStringLines( const String& rStr ); sal_Bool WriteUniStringLines( const String& rStr );
/// Write a line of Unicode if eDestCharSet==RTL_TEXTENCODING_UNICODE,
/// otherwise write a line of Bytecode converted to eDestCharSet
sal_Bool WriteUniOrByteStringLine( const String& rStr, rtl_TextEncoding eDestCharSet );
sal_Bool WriteUniOrByteStringLine( const String& rStr )
{ return WriteUniOrByteStringLine( rStr, GetStreamCharSet() ); }
/// Write a Unicode character if eDestCharSet==RTL_TEXTENCODING_UNICODE, /// Write a Unicode character if eDestCharSet==RTL_TEXTENCODING_UNICODE,
/// otherwise write as Bytecode converted to eDestCharSet. /// otherwise write as Bytecode converted to eDestCharSet.
......
...@@ -938,14 +938,6 @@ sal_Bool SvStream::WriteUniStringLine( const String& rStr ) ...@@ -938,14 +938,6 @@ sal_Bool SvStream::WriteUniStringLine( const String& rStr )
return nError == SVSTREAM_OK; return nError == SVSTREAM_OK;
} }
sal_Bool SvStream::WriteUniOrByteStringLine( const String& rStr, rtl_TextEncoding eDestCharSet )
{
if ( eDestCharSet == RTL_TEXTENCODING_UNICODE )
return WriteUniStringLine( rStr );
else
return WriteByteStringLine( rStr, eDestCharSet );
}
/************************************************************************* /*************************************************************************
|* |*
|* Stream::WriteLines() |* Stream::WriteLines()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment