diff options
Diffstat (limited to 'include/tools/stream.hxx')
-rw-r--r-- | include/tools/stream.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx index bd7f77bd8902..ef7091e98eba 100644 --- a/include/tools/stream.hxx +++ b/include/tools/stream.hxx @@ -650,7 +650,7 @@ public: void ObjectOwnsMemory( bool bOwn ) { bOwnsData = bOwn; } void SetResizeOffset( std::size_t nNewResize ) { nResize = nNewResize; } - virtual sal_uInt64 remainingSize() override { return GetEndOfData() - Tell(); } + virtual sal_uInt64 remainingSize() override { FlushBuffer(true); return GetEndOfData() - Tell(); } }; class TOOLS_DLLPUBLIC SvScriptStream: public SvStream |