User: ihi Date: 2007-11-20 19:09:21+0000 Modified: dba/reportdesign/source/ui/inc/AddField.hxx
Log: INTEGRATION: CWS reportdesign01 (1.2.28); FILE MERGED 2007/09/07 11:24:07 oj 1.2.28.1: #i77141# add container listener File Changes: Directory: /dba/reportdesign/source/ui/inc/ =========================================== File [changed]: AddField.hxx Url: http://dba.openoffice.org/source/browse/dba/reportdesign/source/ui/inc/AddField.hxx?r1=1.2&r2=1.3 Delta lines: +11 -4 -------------------- --- AddField.hxx 2007-07-09 11:56:30+0000 1.2 +++ AddField.hxx 2007-11-20 19:09:19+0000 1.3 @@ -57,6 +57,7 @@ #ifndef _CPPUHELPER_BASEMUTEX_HXX_ #include "cppuhelper/basemutex.hxx" #endif +#include <comphelper/containermultiplexer.hxx> #ifndef _RTL_REF_HXX_ #include <rtl/ref.hxx> #endif @@ -70,6 +71,7 @@ class OAddFieldWindow :public FloatingWindow , public ::cppu::BaseMutex , public ::comphelper::OPropertyChangeListener + , public ::comphelper::OContainerListener { ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent> m_xHoldAlive; ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess> m_xColumns; @@ -80,6 +82,7 @@ sal_Int32 m_nCommandType; sal_Bool m_bEscapeProcessing; ::rtl::Reference< comphelper::OPropertyChangeMultiplexer> m_pChangeListener; + ::rtl::Reference< comphelper::OContainerListenerAdapter> m_pContainerListener; OAddFieldWindow(const OAddFieldWindow&); void operator =(const OAddFieldWindow&); @@ -109,9 +112,13 @@ */ void fillDescriptor(SvLBoxEntry* _pSelected,::svx::ODataAccessDescriptor& _rDescriptor); -protected: +private: // FmXChangeListener virtual void _propertyChanged(const ::com::sun::star::beans::PropertyChangeEvent& evt) throw( ::com::sun::star::uno::RuntimeException ); + // OContainerListener + virtual void _elementInserted( const ::com::sun::star::container::ContainerEvent& _rEvent ) throw(::com::sun::star::uno::RuntimeException); + virtual void _elementRemoved( const ::com::sun::star::container::ContainerEvent& _rEvent ) throw(::com::sun::star::uno::RuntimeException); + virtual void _elementReplaced( const ::com::sun::star::container::ContainerEvent& _rEvent ) throw(::com::sun::star::uno::RuntimeException); }; //============================================================================== } // rptui --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
