summaryrefslogtreecommitdiffstats
path: root/unotools/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-01-04 12:05:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-01-04 12:05:23 +0100
commita11aa274dac55b06fba32e348a8386fa4fa9d146 (patch)
treedd467618cc828bd14b1497ceef7d45fa4ddea240 /unotools/inc
parentpack UI localizations with MediaWiki extension (diff)
downloadcore-a11aa274dac55b06fba32e348a8386fa4fa9d146.tar.gz
core-a11aa274dac55b06fba32e348a8386fa4fa9d146.zip
Dead code.
Diffstat (limited to 'unotools/inc')
-rw-r--r--unotools/inc/unotools/streamhelper.hxx31
1 files changed, 0 insertions, 31 deletions
diff --git a/unotools/inc/unotools/streamhelper.hxx b/unotools/inc/unotools/streamhelper.hxx
index 51c0b7fd4025..8a383436c5fc 100644
--- a/unotools/inc/unotools/streamhelper.hxx
+++ b/unotools/inc/unotools/streamhelper.hxx
@@ -29,11 +29,9 @@
#ifndef _UNOTOOLS_STREAMHELPER_HXX_
#define _UNOTOOLS_STREAMHELPER_HXX_
-#include <com/sun/star/io/XOutputStream.hpp>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/XSeekable.hpp>
#include <osl/mutex.hxx>
-#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/implbase2.hxx>
#include <tools/stream.hxx>
@@ -81,35 +79,6 @@ public:
virtual sal_Int64 SAL_CALL getLength( ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
};
-/**
- * The helper implementation for a using output streams based on SvLockBytes.
- *
- * @author Dirk Grobler
- * @since 00/28/03
- */
-typedef ::cppu::WeakImplHelper1<stario::XOutputStream> OutputStreamHelper_Base;
- // needed for some compilers
-class UNOTOOLS_DLLPUBLIC OOutputStreamHelper : public OutputStreamHelper_Base
-{
- ::osl::Mutex m_aMutex;
- SvLockBytesRef m_xLockBytes;
- sal_uInt32 m_nActPos;
-
-public:
- OOutputStreamHelper(const SvLockBytesRef& _xLockBytes, sal_uInt32 _nPos = 0)
- :m_xLockBytes(_xLockBytes)
- ,m_nActPos(_nPos){}
-
-// staruno::XInterface
- virtual void SAL_CALL acquire() throw ();
- virtual void SAL_CALL release() throw ();
-
-// stario::XOutputStream
- virtual void SAL_CALL writeBytes( const staruno::Sequence< sal_Int8 >& aData ) throw(stario::NotConnectedException, stario::BufferSizeExceededException, stario::IOException, staruno::RuntimeException);
- virtual void SAL_CALL flush( ) throw(stario::NotConnectedException, stario::BufferSizeExceededException, stario::IOException, staruno::RuntimeException);
- virtual void SAL_CALL closeOutput( ) throw(stario::NotConnectedException, stario::BufferSizeExceededException, stario::IOException, staruno::RuntimeException);
-};
-
} // namespace utl