diff options
Diffstat (limited to 'include/tools')
-rw-r--r-- | include/tools/stream.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx index 86a29f8093ff..3793094155d6 100644 --- a/include/tools/stream.hxx +++ b/include/tools/stream.hxx @@ -666,11 +666,11 @@ public: virtual void ResetError() override; - const void* GetBuffer(); - sal_uInt64 GetSize(); + sal_uInt64 GetSize(); std::size_t GetEndOfData() const { return nEndOfData; } const void* GetData() { Flush(); return pBuf; } + // return the buffer currently in use, and allocate a new buffer internally void* SwitchBuffer(); // the buffer is not owned by this class void SetBuffer( void* pBuf, std::size_t nSize, std::size_t nEOF ); |