summaryrefslogtreecommitdiff
path: root/unotools/source/streaming/streamwrap.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-01-04 12:06:39 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-01-04 12:06:39 +0100
commit752f69bad43c86cc18f45b418de25a0f770baa3e (patch)
tree1451b69d2953f7b624b636c5b135f6ee1733eec5 /unotools/source/streaming/streamwrap.cxx
parenta11aa274dac55b06fba32e348a8386fa4fa9d146 (diff)
Do not export whole class to avoid MS C++ implicitly exporting base template.
Diffstat (limited to 'unotools/source/streaming/streamwrap.cxx')
-rw-r--r--unotools/source/streaming/streamwrap.cxx10
1 files changed, 9 insertions, 1 deletions
diff --git a/unotools/source/streaming/streamwrap.cxx b/unotools/source/streaming/streamwrap.cxx
index 0d8cf64b1dc1..4558494adf97 100644
--- a/unotools/source/streaming/streamwrap.cxx
+++ b/unotools/source/streaming/streamwrap.cxx
@@ -223,7 +223,13 @@ sal_Int64 SAL_CALL OSeekableInputStreamWrapper::getLength( ) throw (IOException
//==================================================================
//= OOutputStreamWrapper
//==================================================================
-//------------------------------------------------------------------------------
+
+OOutputStreamWrapper::OOutputStreamWrapper(SvStream& _rStream):
+ rStream(_rStream)
+{}
+
+OOutputStreamWrapper::~OOutputStreamWrapper() {}
+
void SAL_CALL OOutputStreamWrapper::writeBytes(const staruno::Sequence< sal_Int8 >& aData) throw( stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException )
{
sal_uInt32 nWritten = rStream.Write(aData.getConstArray(),aData.getLength());
@@ -265,6 +271,8 @@ OSeekableOutputStreamWrapper::OSeekableOutputStreamWrapper(SvStream& _rStream)
{
}
+OSeekableOutputStreamWrapper::~OSeekableOutputStreamWrapper() {}
+
//------------------------------------------------------------------------------
Any SAL_CALL OSeekableOutputStreamWrapper::queryInterface( const Type& _rType ) throw (RuntimeException)
{