diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-05 10:04:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-06 11:42:07 +0100 |
commit | 485242225388b5d6c559b56c654e816e91af34e7 (patch) | |
tree | c38cd705e89b0ef8576aadfbd502a6ff52bc6f4e /include | |
parent | 65753b9713ae798804da078dd4e9ed3e478e5264 (diff) |
split closeOutput up
Change-Id: Id6408fa804e1049ceab012ec0220d8e6f8d8e555
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/seqstream.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/comphelper/seqstream.hxx b/include/comphelper/seqstream.hxx index 794a56837c78..ae7502f776e4 100644 --- a/include/comphelper/seqstream.hxx +++ b/include/comphelper/seqstream.hxx @@ -71,6 +71,8 @@ class SAL_DLLPUBLIC_TEMPLATE OSequenceOutputStream_Base class COMPHELPER_DLLPUBLIC OSequenceOutputStream : public OSequenceOutputStream_Base { +private: + void finalizeOutput(); protected: css::uno::Sequence< sal_Int8 >& m_rSequence; double m_nResizeFactor; @@ -85,7 +87,7 @@ protected: ::osl::Mutex m_aMutex; protected: - virtual ~OSequenceOutputStream() override { if (m_bConnected) closeOutput(); } + virtual ~OSequenceOutputStream() override { if (m_bConnected) finalizeOutput(); } public: /** constructs the object. Everything written into the stream through the XOutputStream methods will be forwarded |