From 4b5e8066e230b4fcbadb39b306f7c272865b0245 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 17 Oct 2018 10:12:55 +0200 Subject: workaround weird linking error on tb71 ever since commit 9ec8bf8f22fe74884185492ef2576ce79b41e4f1 add SvStream::TellEnd Change-Id: I3043459688e9cee16cdb71137c6808a3365b69f6 Reviewed-on: https://gerrit.libreoffice.org/61869 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- tools/source/stream/stream.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools') diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx index f1d7269069f9..21b317e774b9 100644 --- a/tools/source/stream/stream.cxx +++ b/tools/source/stream/stream.cxx @@ -1911,6 +1911,11 @@ void SvMemoryStream::SetSize(sal_uInt64 const nNewSize) ReAllocateMemory( nDiff ); } +sal_uInt64 SvStream::TellEnd() +{ + return Tell() + remainingSize(); +} + //Create a OString of nLen bytes from rStream OString read_uInt8s_ToOString(SvStream& rStrm, std::size_t nLen) { -- cgit