summaryrefslogtreecommitdiff
path: root/include/tools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-12 08:27:49 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-12 10:02:35 +0200
commit8ab3f399187922452e3f29ce5e1fb933bd3a22a9 (patch)
treef308c450453f85fac076cc766dbfdec04eb5d370 /include/tools
parent576611895e51186d38ddefa10ed8d66075d9de37 (diff)
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 <sbergman@redhat.com>
Diffstat (limited to 'include/tools')
-rw-r--r--include/tools/stream.hxx3
1 files changed, 0 insertions, 3 deletions
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 <tools/ref.hxx>
#include <vcl/errcode.hxx>
#include <rtl/string.hxx>
-#include <rtl/strbuf.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <memory>
@@ -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 );