summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-02-28 06:48:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-28 10:56:59 +0000
commitf7aaf5c42ebe980a86abc799bffc7d504c9a1be4 (patch)
tree03f1e6389cbbba39a4476a3db19d2f1526dfb814 /tools
parent34d71c5a08639f6255704be0d4a7df2b6cf6c13f (diff)
convert some low hanging fruit
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/tools/stream.hxx2
-rw-r--r--tools/source/stream/stream.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/inc/tools/stream.hxx b/tools/inc/tools/stream.hxx
index 0f2456b4acb9..a8bde29558d4 100644
--- a/tools/inc/tools/stream.hxx
+++ b/tools/inc/tools/stream.hxx
@@ -407,7 +407,7 @@ public:
sal_Bool ReadUniStringLine( String& rStr );
/// Read a 32bit length prefixed sequence of utf-16 if eSrcCharSet==RTL_TEXTENCODING_UNICODE,
/// otherwise read a 16bit length prefixed sequence of bytes and convert from eSrcCharSet
- String ReadUniOrByteString(rtl_TextEncoding eSrcCharSet);
+ rtl::OUString ReadUniOrByteString(rtl_TextEncoding eSrcCharSet);
/// Write a 32bit length prefixed sequence of utf-16 if eSrcCharSet==RTL_TEXTENCODING_UNICODE,
/// otherwise convert to eSrcCharSet and write a 16bit length prefixed sequence of bytes
SvStream& WriteUniOrByteString( const UniString& rStr, rtl_TextEncoding eDestCharSet );
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index b1c939a40c91..ab3703b6e381 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -1379,7 +1379,7 @@ SvStream& SvStream::operator<< ( SvStream& rStream )
// -----------------------------------------------------------------------
-String SvStream::ReadUniOrByteString( rtl_TextEncoding eSrcCharSet )
+rtl::OUString SvStream::ReadUniOrByteString( rtl_TextEncoding eSrcCharSet )
{
// read UTF-16 string directly from stream ?
if (eSrcCharSet == RTL_TEXTENCODING_UNICODE)