diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-07 13:48:53 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-07 13:48:53 +0200 |
commit | b8757ee8c7a024c36dda276bbe7dc69d5445e9c4 (patch) | |
tree | 7d22b6a80a53f31e7d4d8cd422495d0137af5167 /comphelper/source/streaming | |
parent | 732c19b8f39c9bf3c5a23affa27895e3dd3dccbf (diff) |
Clean up function declarations and some unused functions
Change-Id: I5817a5ad3966918cfb1920be568b7401dd6f948c
Diffstat (limited to 'comphelper/source/streaming')
-rw-r--r-- | comphelper/source/streaming/memorystream.cxx | 1 | ||||
-rw-r--r-- | comphelper/source/streaming/seqinputstreamserv.cxx | 11 | ||||
-rw-r--r-- | comphelper/source/streaming/seqoutputstreamserv.cxx | 10 |
3 files changed, 11 insertions, 11 deletions
diff --git a/comphelper/source/streaming/memorystream.cxx b/comphelper/source/streaming/memorystream.cxx index 6d7b1179dbd9..c4379cdb46ba 100644 --- a/comphelper/source/streaming/memorystream.cxx +++ b/comphelper/source/streaming/memorystream.cxx @@ -19,6 +19,7 @@ #include "comphelper_module.hxx" +#include "comphelper_services.hxx" #include <com/sun/star/io/XStream.hpp> #include <com/sun/star/io/XSeekableInputStream.hpp> diff --git a/comphelper/source/streaming/seqinputstreamserv.cxx b/comphelper/source/streaming/seqinputstreamserv.cxx index 51e67037fd2d..ffc5136f804d 100644 --- a/comphelper/source/streaming/seqinputstreamserv.cxx +++ b/comphelper/source/streaming/seqinputstreamserv.cxx @@ -17,11 +17,12 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -// MARKER( update_precomp.py ): autogen include statement, do not remove +#include <sal/config.h> #include "comphelper_module.hxx" +#include "comphelper_services.hxx" -#include <sal/config.h> +#include <boost/noncopyable.hpp> #include <osl/mutex.hxx> #include <cppuhelper/factory.hxx> #include <cppuhelper/implementationentry.hxx> @@ -43,7 +44,8 @@ class SequenceInputStreamService: public ::cppu::WeakImplHelper3< lang::XServiceInfo, io::XSeekableInputStream, - lang::XInitialization> + lang::XInitialization>, + private boost::noncopyable { public: explicit SequenceInputStreamService(); @@ -74,9 +76,6 @@ public: virtual void SAL_CALL initialize( const uno::Sequence< ::com::sun::star::uno::Any > & aArguments ) throw ( uno::RuntimeException, uno::Exception, std::exception ) SAL_OVERRIDE; private: - SequenceInputStreamService( SequenceInputStreamService & ); // not defined - void operator =( SequenceInputStreamService & ); // not defined - virtual ~SequenceInputStreamService() {} diff --git a/comphelper/source/streaming/seqoutputstreamserv.cxx b/comphelper/source/streaming/seqoutputstreamserv.cxx index e40eeca2a4fe..f1ef3c6ebb48 100644 --- a/comphelper/source/streaming/seqoutputstreamserv.cxx +++ b/comphelper/source/streaming/seqoutputstreamserv.cxx @@ -17,10 +17,12 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> #include "comphelper_module.hxx" +#include "comphelper_services.hxx" -#include <sal/config.h> +#include <boost/noncopyable.hpp> #include <osl/mutex.hxx> #include <cppuhelper/factory.hxx> #include <cppuhelper/implementationentry.hxx> @@ -37,7 +39,8 @@ using namespace ::com::sun::star; namespace { class SequenceOutputStreamService: -public ::cppu::WeakImplHelper2 < lang::XServiceInfo, io::XSequenceOutputStream > + public cppu::WeakImplHelper2<lang::XServiceInfo, io::XSequenceOutputStream>, + private boost::noncopyable { public: explicit SequenceOutputStreamService(); @@ -61,9 +64,6 @@ public: virtual uno::Sequence< ::sal_Int8 > SAL_CALL getWrittenBytes( ) throw ( io::NotConnectedException, io::IOException, uno::RuntimeException, std::exception) SAL_OVERRIDE; private: - SequenceOutputStreamService( SequenceOutputStreamService & ); //not defined - void operator =( SequenceOutputStreamService & ); //not defined - virtual ~SequenceOutputStreamService() {}; |