diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 13:09:23 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 13:09:23 +0000 |
commit | 8ace7bd9a8fbeaa1e81d1388005e7b8b755067ae (patch) | |
tree | 30971740b4519ffc92005b90e9cb2991612bf5f3 /unotools/source/ucbhelper/XTempFile.hxx | |
parent | c9d92801cdafc11a1c6c649dd4353dbc7c315f99 (diff) |
INTEGRATION: CWS warnings01 (1.8.16); FILE MERGED
2006/01/27 12:39:19 sb 1.8.16.2: #i53898# Made code warning-free.
2005/12/21 11:32:04 fs 1.8.16.1: #i55991# warning-free code
Diffstat (limited to 'unotools/source/ucbhelper/XTempFile.hxx')
-rw-r--r-- | unotools/source/ucbhelper/XTempFile.hxx | 44 |
1 files changed, 13 insertions, 31 deletions
diff --git a/unotools/source/ucbhelper/XTempFile.hxx b/unotools/source/ucbhelper/XTempFile.hxx index 14581e68bf4c..45330e5916cc 100644 --- a/unotools/source/ucbhelper/XTempFile.hxx +++ b/unotools/source/ucbhelper/XTempFile.hxx @@ -4,9 +4,9 @@ * * $RCSfile: XTempFile.hxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: rt $ $Date: 2005-09-09 09:50:11 $ + * last change: $Author: hr $ $Date: 2006-06-19 14:09:23 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -56,9 +56,6 @@ #ifndef _COM_SUN_STAR_LANG_XMULTISERVICEFACTORY_HPP_ #include <com/sun/star/lang/XMultiServiceFactory.hpp> #endif -#ifndef _COM_SUN_STAR_LANG_XTYPEPROVIDER_HPP_ -#include <com/sun/star/lang/XTypeProvider.hpp> -#endif #ifndef _COM_SUN_STAR_LANG_XSERVICEINFO_HPP_ #include <com/sun/star/lang/XServiceInfo.hpp> #endif @@ -68,8 +65,8 @@ #ifndef _COM_SUN_STAR_BEANS_XPROPERTYSET_HPP_ #include <com/sun/star/beans/XPropertySet.hpp> #endif -#ifndef _CPPUHELPER_WEAK_HXX_ -#include <cppuhelper/weak.hxx> +#ifndef _CPPUHELPER_IMPLBASE8_HXX_ +#include <cppuhelper/implbase8.hxx> #endif #ifndef _OSL_MUTEX_HXX_ #include <osl/mutex.hxx> @@ -78,16 +75,15 @@ class SvStream; namespace utl { class TempFile; } -class XTempFile : public com::sun::star::lang::XTypeProvider, - public com::sun::star::io::XInputStream, - public com::sun::star::io::XOutputStream, - public com::sun::star::io::XSeekable, - public com::sun::star::io::XStream, - public com::sun::star::io::XTruncate, - public com::sun::star::beans::XPropertySetInfo, - public com::sun::star::beans::XPropertySet, - public ::com::sun::star::lang::XServiceInfo, - public cppu::OWeakObject +class XTempFile : public ::cppu::WeakImplHelper8< com::sun::star::io::XInputStream + , ::com::sun::star::io::XOutputStream + , ::com::sun::star::io::XSeekable + , ::com::sun::star::io::XStream + , ::com::sun::star::io::XTruncate + , ::com::sun::star::beans::XPropertySetInfo + , ::com::sun::star::beans::XPropertySet + , ::com::sun::star::lang::XServiceInfo + > { protected: ::utl::TempFile* mpTempFile; @@ -110,20 +106,6 @@ public: XTempFile (); virtual ~XTempFile (); - // XInterface - virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) - throw (::com::sun::star::uno::RuntimeException); - virtual void SAL_CALL acquire( ) - throw (); - virtual void SAL_CALL release( ) - throw (); - - // XTypeProvider - virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() - throw ( ::com::sun::star::uno::RuntimeException ); - virtual ::com::sun::star::uno::Sequence< ::sal_Int8 > SAL_CALL getImplementationId() - throw ( ::com::sun::star::uno::RuntimeException ); - // XInputStream virtual sal_Int32 SAL_CALL readBytes( ::com::sun::star::uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead ) throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); |