diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-11-24 14:36:20 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-11-24 23:14:54 +0100 |
commit | 79c1b05591a66fb3c7cec60bc3ad91382095a936 (patch) | |
tree | 71b68994da5075bef95cc21ce60f03a7f209bfb3 /include | |
parent | 09186fceb0ca5ab67cc81ed601fd0e25d49a03ad (diff) |
Remove not used SvLockBytesInputStream
Change-Id: Id4e0852f6d204b3a1d2a7f5ce281730f5fcad8fd
Diffstat (limited to 'include')
-rw-r--r-- | include/svl/strmadpt.hxx | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/include/svl/strmadpt.hxx b/include/svl/strmadpt.hxx index 9d1645bda956..3d9acaf2fbd5 100644 --- a/include/svl/strmadpt.hxx +++ b/include/svl/strmadpt.hxx @@ -21,10 +21,7 @@ #define INCLUDED_SVL_STRMADPT_HXX #include <svl/svldllapi.h> -#include <com/sun/star/io/XInputStream.hpp> #include <com/sun/star/io/XOutputStream.hpp> -#include <com/sun/star/io/XSeekable.hpp> -#include <cppuhelper/weak.hxx> #include <tools/stream.hxx> @@ -64,64 +61,6 @@ public: virtual void Terminate() SAL_OVERRIDE; }; - -class SVL_DLLPUBLIC SvLockBytesInputStream: public cppu::OWeakObject, - public com::sun::star::io::XInputStream, - public com::sun::star::io::XSeekable -{ - SvLockBytesRef m_xLockBytes; - sal_Int64 m_nPosition; - -public: - SvLockBytesInputStream(SvLockBytes * pTheLockBytes): - m_xLockBytes(pTheLockBytes), m_nPosition(0) {} - - virtual com::sun::star::uno::Any SAL_CALL - queryInterface(const com::sun::star::uno::Type & rType) - throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - - virtual void SAL_CALL acquire() throw() SAL_OVERRIDE; - - virtual void SAL_CALL release() throw() SAL_OVERRIDE; - - virtual sal_Int32 SAL_CALL - readBytes(com::sun::star::uno::Sequence< sal_Int8 > & rData, - sal_Int32 nBytesToRead) - throw (com::sun::star::io::IOException, - com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - - virtual sal_Int32 SAL_CALL - readSomeBytes(com::sun::star::uno::Sequence< sal_Int8 > & rData, - sal_Int32 nMaxBytesToRead) - throw (com::sun::star::io::IOException, - com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - - virtual void SAL_CALL skipBytes(sal_Int32 nBytesToSkip) - throw (com::sun::star::io::IOException, - com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - - virtual sal_Int32 SAL_CALL available() - throw (com::sun::star::io::IOException, - com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - - virtual void SAL_CALL closeInput() - throw (com::sun::star::io::IOException, - com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - - virtual void SAL_CALL seek(sal_Int64 nLocation) - throw (com::sun::star::lang::IllegalArgumentException, - com::sun::star::io::IOException, - com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - - virtual sal_Int64 SAL_CALL getPosition() - throw (com::sun::star::io::IOException, - com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - - virtual sal_Int64 SAL_CALL getLength() - throw (com::sun::star::io::IOException, - com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; -}; - #endif // INCLUDED_SVL_STRMADPT_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |