diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 11:53:56 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 11:53:56 +0000 |
commit | 4690b5a362df57d23eccbfbfe87f66d9a9c4b79a (patch) | |
tree | 0e6302d8f7e25ed44e29451cad8d4eb0880d43ac /forms/source/component/clickableimage.hxx | |
parent | c3571361f2f1e250ab274baea691ce3b122f34f2 (diff) |
INTEGRATION: CWS warnings01 (1.6.36); FILE MERGED
2006/03/15 07:55:38 fs 1.6.36.2: #i57457# warning-free code (unxsols4)
2006/03/14 15:20:29 fs 1.6.36.1: #i57457# warning-free code
Diffstat (limited to 'forms/source/component/clickableimage.hxx')
-rw-r--r-- | forms/source/component/clickableimage.hxx | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/forms/source/component/clickableimage.hxx b/forms/source/component/clickableimage.hxx index 32ae30cd7675..debc703111d8 100644 --- a/forms/source/component/clickableimage.hxx +++ b/forms/source/component/clickableimage.hxx @@ -4,9 +4,9 @@ * * $RCSfile: clickableimage.hxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: kz $ $Date: 2006-01-03 16:09:27 $ + * last change: $Author: hr $ $Date: 2006-06-19 12:53:56 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -92,7 +92,6 @@ namespace frm //......................................................................... class OImageProducerThread_Impl; - class SubmissionVetoListeners; class ControlFeatureInterception; //================================================================== // OClickableImageBaseModel @@ -146,28 +145,30 @@ namespace frm virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation(const ::com::sun::star::uno::Type& _rType) throw(::com::sun::star::uno::RuntimeException); protected: - // OComponentHelper + // OComponentHelper virtual void SAL_CALL disposing(); - // ::com::sun::star::form::XImageProducerSupplier + // ::com::sun::star::form::XImageProducerSupplier virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XImageProducer> SAL_CALL getImageProducer() throw (::com::sun::star::uno::RuntimeException) { return m_xProducer; } - // OPropertySetHelper + // OPropertySetHelper virtual void SAL_CALL getFastPropertyValue(::com::sun::star::uno::Any& rValue, sal_Int32 nHandle ) const; virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const ::com::sun::star::uno::Any& rValue) throw (::com::sun::star::uno::Exception); virtual sal_Bool SAL_CALL convertFastPropertyValue(::com::sun::star::uno::Any& rConvertedValue, ::com::sun::star::uno::Any& rOldValue, sal_Int32 nHandle, const ::com::sun::star::uno::Any& rValue ) throw(::com::sun::star::lang::IllegalArgumentException); - // OPropertyChangeListener + using ::cppu::OPropertySetHelper::getFastPropertyValue; + + // OPropertyChangeListener virtual void _propertyChanged(const ::com::sun::star::beans::PropertyChangeEvent&) throw(::com::sun::star::uno::RuntimeException); - // ::com::sun::star::beans::XPropertyState + // XPropertyState virtual ::com::sun::star::beans::PropertyState getPropertyStateByHandle(sal_Int32 nHandle); virtual void setPropertyToDefaultByHandle(sal_Int32 nHandle); virtual ::com::sun::star::uno::Any getPropertyDefaultByHandle( sal_Int32 nHandle ) const; - // XImageProducer + // XImageProducer virtual void SAL_CALL addConsumer( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XImageConsumer >& xConsumer ) throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL removeConsumer( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XImageConsumer >& xConsumer ) throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL startProduction( ) throw (::com::sun::star::uno::RuntimeException); @@ -179,6 +180,9 @@ namespace frm // XServiceInfo virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException); + // XEventListener + using OControlModel::disposing; + public: struct GuardAccess { friend class ImageModelMethodGuard; private: GuardAccess() { } }; ::osl::Mutex& getMutex( GuardAccess ) { return m_aMutex; } @@ -225,11 +229,10 @@ namespace frm friend class OImageProducerThread_Impl; private: - OImageProducerThread_Impl* m_pThread; - ::std::auto_ptr< SubmissionVetoListeners > - m_pSubmissionVetoListeners; + OImageProducerThread_Impl* m_pThread; + ::cppu::OInterfaceContainerHelper m_aSubmissionVetoListeners; ::std::auto_ptr< ControlFeatureInterception > - m_pFeatureInterception; + m_pFeatureInterception; protected: ::cppu::OInterfaceContainerHelper m_aApproveActionListeners; @@ -245,6 +248,9 @@ namespace frm // XServiceInfo virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException); + // XEventListener + using OControl::disposing; + public: OClickableImageBaseControl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory>& _rxFactory, @@ -318,6 +324,9 @@ namespace frm {} void addEvent() { ::com::sun::star::lang::EventObject aEvt; OComponentEventThread::addEvent( &aEvt ); } + + protected: + using OComponentEventThread::addEvent; }; //......................................................................... |