Kaydet (Commit) 4b5e8066 authored tarafından Noel Grandin's avatar Noel Grandin

workaround weird linking error on tb71

ever since
    commit 9ec8bf8f
    add SvStream::TellEnd

Change-Id: I3043459688e9cee16cdb71137c6808a3365b69f6
Reviewed-on: https://gerrit.libreoffice.org/61869Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
Tested-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst a463287a
......@@ -273,7 +273,7 @@ public:
sal_uInt64 Seek( sal_uInt64 nPos );
sal_uInt64 SeekRel( sal_Int64 nPos );
sal_uInt64 Tell() const { return m_nBufFilePos + m_nBufActualPos; }
sal_uInt64 TellEnd() { return Tell() + remainingSize(); }
sal_uInt64 TellEnd();
// length between current (Tell()) pos and end of stream
virtual sal_uInt64 remainingSize();
void Flush();
......
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment