diff options
author | Michael Stahl <mst@apache.org> | 2011-08-28 22:36:28 +0000 |
---|---|---|
committer | Michael Stahl <mst@apache.org> | 2011-08-28 22:36:28 +0000 |
commit | 09240cd108e75ceece7769eba298aaa862ac3831 (patch) | |
tree | 2b7e0a2a4b317be712a9a024c50c3b79dfc4da43 /comphelper | |
parent | 332eac8bd99a1a1a838da2a8ec978bd4d71307c6 (diff) |
comphelper: OSLOutputStreamWrapper:
remove re-implementation of XInterface
(symbols are somehow not exported with GCC 4.6, and it seems to be
unnecessary)
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/inc/comphelper/oslfile2streamwrap.hxx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/comphelper/inc/comphelper/oslfile2streamwrap.hxx b/comphelper/inc/comphelper/oslfile2streamwrap.hxx index 1a0a7cc55e04..484e34383dc7 100644 --- a/comphelper/inc/comphelper/oslfile2streamwrap.hxx +++ b/comphelper/inc/comphelper/oslfile2streamwrap.hxx @@ -57,14 +57,6 @@ public: OSLInputStreamWrapper(::osl::File* pStream, sal_Bool bOwner=sal_False); virtual ~OSLInputStreamWrapper(); -// UNO Anbindung - virtual void SAL_CALL acquire() throw() - { InputStreamWrapper_Base::acquire(); } - virtual void SAL_CALL release() throw() - { InputStreamWrapper_Base::release(); } - virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException) - { return InputStreamWrapper_Base::queryInterface(_rType); } - // stario::XInputStream virtual sal_Int32 SAL_CALL readBytes(staruno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException); virtual sal_Int32 SAL_CALL readSomeBytes(staruno::Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException); @@ -87,14 +79,6 @@ class COMPHELPER_DLLPUBLIC OSLOutputStreamWrapper : public OutputStreamWrapper_B public: OSLOutputStreamWrapper(::osl::File& _rFile) :rFile(_rFile) { } -// UNO Anbindung - virtual void SAL_CALL acquire() throw() - { OutputStreamWrapper_Base::acquire(); } - virtual void SAL_CALL release() throw() - { OutputStreamWrapper_Base::release(); } - virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException) - { return OutputStreamWrapper_Base::queryInterface(_rType); } - // 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); |