summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-17 10:12:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-17 12:06:31 +0200
commit4b5e8066e230b4fcbadb39b306f7c272865b0245 (patch)
tree83feb3ba53f1bf14800ecb40e22473a7e0c8d887 /tools
parenta463287a3bf12ee3f6f58311e2629da19e6d014b (diff)
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 <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r--tools/source/stream/stream.cxx5
1 files changed, 5 insertions, 0 deletions
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)
{