diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-01-03 16:11:26 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-01-03 16:11:53 +0100 |
commit | a90d4d5f036ab7785ba72038936c6c8427b74ba8 (patch) | |
tree | 5bc21bbd697b18747463924d934deddc54ebcbb8 /comphelper/inc | |
parent | 5807b07161d84ef105cc1a2292c8c1f09888e39f (diff) |
Do not export whole class to avoid MS C++ implicitly exporting base template.
Diffstat (limited to 'comphelper/inc')
-rw-r--r-- | comphelper/inc/comphelper/oslfile2streamwrap.hxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/comphelper/inc/comphelper/oslfile2streamwrap.hxx b/comphelper/inc/comphelper/oslfile2streamwrap.hxx index e817be98d456..754be72c963b 100644 --- a/comphelper/inc/comphelper/oslfile2streamwrap.hxx +++ b/comphelper/inc/comphelper/oslfile2streamwrap.hxx @@ -65,17 +65,20 @@ public: // FmUnoOutStream, // Datensenke fuer Files //================================================================== -class COMPHELPER_DLLPUBLIC OSLOutputStreamWrapper : public ::cppu::WeakImplHelper1<stario::XOutputStream> +class OSLOutputStreamWrapper : public ::cppu::WeakImplHelper1<stario::XOutputStream> { - ::osl::File& rFile; - public: - OSLOutputStreamWrapper(::osl::File& _rFile) :rFile(_rFile) { } + COMPHELPER_DLLPUBLIC OSLOutputStreamWrapper(::osl::File& _rFile); + +private: + virtual ~OSLOutputStreamWrapper(); // stario::XOutputStream virtual void SAL_CALL writeBytes(const staruno::Sequence< sal_Int8 >& aData) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException); virtual void SAL_CALL flush() throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException); virtual void SAL_CALL closeOutput() throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException); + + ::osl::File& rFile; }; } // namespace comphelper |