include/unotools/streamwrap.hxx | 5 +++++ unotools/source/streaming/streamwrap.cxx | 4 ++++ 2 files changed, 9 insertions(+)
New commits: commit 4788d20ec411d2688af59715944d32fc82ad4d43 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Dec 8 08:55:03 2016 +0100 Non-inline virtual dtors of exported classes Change-Id: I7b3597d48bf7b0196b98c869329d2fb1a46fa8f2 diff --git a/include/unotools/streamwrap.hxx b/include/unotools/streamwrap.hxx index e2303a1..f0b52aa 100644 --- a/include/unotools/streamwrap.hxx +++ b/include/unotools/streamwrap.hxx @@ -82,6 +82,8 @@ class UNOTOOLS_DLLPUBLIC OSeekableInputStreamWrapper : public ::cppu::ImplInheri { protected: OSeekableInputStreamWrapper() {} + ~OSeekableInputStreamWrapper() override; + public: OSeekableInputStreamWrapper(SvStream& _rStream); OSeekableInputStreamWrapper(SvStream* _pStream, bool _bOwner = false); @@ -146,6 +148,9 @@ private: class UNOTOOLS_DLLPUBLIC OStreamWrapper : public ::cppu::ImplInheritanceHelper3 < OSeekableInputStreamWrapper, css::io::XStream, css::io::XOutputStream, css::io::XTruncate > { +protected: + ~OStreamWrapper() override; + public: OStreamWrapper(SvStream& _rStream); diff --git a/unotools/source/streaming/streamwrap.cxx b/unotools/source/streaming/streamwrap.cxx index 92f7aa4..59d751d 100644 --- a/unotools/source/streaming/streamwrap.cxx +++ b/unotools/source/streaming/streamwrap.cxx @@ -139,6 +139,8 @@ void OInputStreamWrapper::checkError() const //= OSeekableInputStreamWrapper +OSeekableInputStreamWrapper::~OSeekableInputStreamWrapper() = default; + OSeekableInputStreamWrapper::OSeekableInputStreamWrapper(SvStream& _rStream) { SetStream( &_rStream, false ); @@ -276,6 +278,8 @@ sal_Int64 SAL_CALL OSeekableOutputStreamWrapper::getLength( ) throw (IOExceptio return (sal_Int64)nEndPos; } +OStreamWrapper::~OStreamWrapper() = default; + OStreamWrapper::OStreamWrapper(SvStream& _rStream) { SetStream( &_rStream, false ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits