Kaydet (Commit) 4788d20e authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Non-inline virtual dtors of exported classes

Change-Id: I7b3597d48bf7b0196b98c869329d2fb1a46fa8f2
üst f66db251
......@@ -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);
......
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment