diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-03-13 16:30:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-03-13 20:19:10 +0000 |
commit | ee555c835aac8e21f0a08e7c9d513182728a4cfe (patch) | |
tree | e34598de24df6c08b4ae7f1737891e329d0c64ae /include | |
parent | befafd4f8d58f81ac9cb0e4ef8dfbda9373787f7 (diff) |
merge these similar buffer flushes together
adds an extra SVSTREAM_WRITE_ERROR check to some of them, otherwise
they're all the same
Change-Id: I2a4c766ff267a246a9f126fa9b7d557cfa2d66b0
Reviewed-on: https://gerrit.libreoffice.org/35144
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/tools/stream.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx index 3a1843dfbe22..bd7f77bd8902 100644 --- a/include/tools/stream.hxx +++ b/include/tools/stream.hxx @@ -188,6 +188,7 @@ protected: virtual void FlushData(); virtual void SetSize(sal_uInt64 nSize); + void FlushBuffer(bool isConsistent); void ClearError(); void ClearBuffer(); |