From 8ab3f399187922452e3f29ce5e1fb933bd3a22a9 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 12 Oct 2019 08:27:49 +0200 Subject: All occurrences of WriteOStringBuffer(b) can easily be replaced... ...with WriteOString(b.makeStringAndClear()) Change-Id: I46be4f80d6633b5c51a2c3d99f9faf0db5764d3f Reviewed-on: https://gerrit.libreoffice.org/80704 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- include/tools/stream.hxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx index 195119d70d5a..b072970822f9 100644 --- a/include/tools/stream.hxx +++ b/include/tools/stream.hxx @@ -24,7 +24,6 @@ #include #include #include -#include #include #include @@ -248,8 +247,6 @@ public: SvStream& WriteUnicode( sal_Unicode ); SvStream& WriteOString(const OString& rStr) { WriteBytes(rStr.getStr(), rStr.getLength()); return *this; } - SvStream& WriteOStringBuffer(const OStringBuffer& rStr) - { WriteBytes(rStr.getStr(), rStr.getLength()); return *this; } SvStream& WriteStream( SvStream& rStream ); sal_uInt64 WriteStream( SvStream& rStream, sal_uInt64 nSize ); -- cgit