Tag: cws_dev300_dba30d
User: fs      
Date: 2008-06-11 20:05:19+0000
Modified:
   dba/reportdesign/source/ui/inc/ReportController.hxx

Log:
 XSelectionSupplier not implemented by the base class anymore

File Changes:

Directory: /dba/reportdesign/source/ui/inc/
===========================================

File [changed]: ReportController.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/reportdesign/source/ui/inc/ReportController.hxx?r1=1.7&r2=1.7.24.1
Delta lines:  +16 -11
---------------------
--- ReportController.hxx        2008-04-10 19:03:27+0000        1.7
+++ ReportController.hxx        2008-06-11 20:05:16+0000        1.7.24.1
@@ -7,7 +7,7 @@
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: ReportController.hxx,v $
- * $Revision: 1.7 $
+ * $Revision: 1.7.24.1 $
  *
  * This file is part of OpenOffice.org.
  *
@@ -30,10 +30,9 @@
 #ifndef RPTUI_REPORTCONTROLLER_HXX
 #define RPTUI_REPORTCONTROLLER_HXX
 
-#ifndef rptui_SINGLEDOCCONTROLLER_HXX
 #include <dbaccess/singledoccontroller.hxx>
-#endif
-#include <cppuhelper/implbase2.hxx>
+
+#include <cppuhelper/implbase3.hxx>
 #include <com/sun/star/beans/PropertyValue.hpp>
 #include <com/sun/star/uno/Sequence.hxx>
 #include <com/sun/star/sdbc/XConnection.hpp>
@@ -49,6 +48,7 @@
 #include <com/sun/star/beans/XPropertyChangeListener.hpp>
 #include <com/sun/star/report/XReportEngine.hpp>
 #include <com/sun/star/sdbc/XRowSet.hpp>
+#include <com/sun/star/view/XSelectionSupplier.hpp>
 #include <comphelper/uno3.hxx>
 #include <svtools/transfer.hxx>
 #include <svtools/lstner.hxx>
@@ -73,8 +73,9 @@
     class OSectionView;
 
        typedef ::dbaui::OSingleDocumentController      OReportController_BASE;
-       typedef ::cppu::ImplHelper2     <       
::com::sun::star::container::XContainerListener,
-                                                                       
::com::sun::star::beans::XPropertyChangeListener
+       typedef ::cppu::ImplHelper3     <       
::com::sun::star::container::XContainerListener
+                                                               ,   
::com::sun::star::beans::XPropertyChangeListener
+                                ,   ::com::sun::star::view::XSelectionSupplier
                                                                >       
OReportController_Listener;
 
        class OReportController :        public OReportController_BASE
@@ -83,6 +84,8 @@
        {
        private:
                OModuleClient           m_aModuleClient;
+        ::cppu::OInterfaceContainerHelper
+                                m_aSelectionListeners;
         ::com::sun::star::uno::Sequence< 
::com::sun::star::beans::PropertyValue> 
                                 m_aCollapsedSections;
                ODesignView*                m_pMyOwnView;           // we want 
to avoid casts
@@ -324,6 +327,12 @@
                // XPropertyChangeListener
                virtual void SAL_CALL propertyChange( const 
::com::sun::star::beans::PropertyChangeEvent& evt ) throw 
(::com::sun::star::uno::RuntimeException);
 
+        // XSelectionSupplier
+        virtual ::sal_Bool SAL_CALL select( const ::com::sun::star::uno::Any& 
xSelection ) throw (::com::sun::star::lang::IllegalArgumentException, 
::com::sun::star::uno::RuntimeException);
+        virtual ::com::sun::star::uno::Any SAL_CALL getSelection(  ) throw 
(::com::sun::star::uno::RuntimeException);
+        virtual void SAL_CALL addSelectionChangeListener( const 
::com::sun::star::uno::Reference< 
::com::sun::star::view::XSelectionChangeListener >& xListener ) throw 
(::com::sun::star::uno::RuntimeException);
+        virtual void SAL_CALL removeSelectionChangeListener( const 
::com::sun::star::uno::Reference< 
::com::sun::star::view::XSelectionChangeListener >& xListener ) throw 
(::com::sun::star::uno::RuntimeException);
+
                // ::com::sun::star::frame::XController
                virtual sal_Bool SAL_CALL attachModel(const 
::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > & xModel) 
throw( ::com::sun::star::uno::RuntimeException );
         virtual ::com::sun::star::uno::Any SAL_CALL getViewData(void) throw( 
::com::sun::star::uno::RuntimeException );
@@ -337,10 +346,6 @@
         // ::com::sun::star::frame::XController
         virtual ::com::sun::star::uno::Reference< 
::com::sun::star::frame::XModel >  SAL_CALL getModel(void) throw( 
::com::sun::star::uno::RuntimeException );
 
-        // XSelectionSupplier
-        virtual ::sal_Bool SAL_CALL select( const ::com::sun::star::uno::Any& 
xSelection ) throw (::com::sun::star::lang::IllegalArgumentException, 
::com::sun::star::uno::RuntimeException);
-        virtual ::com::sun::star::uno::Any SAL_CALL getSelection(  ) throw 
(::com::sun::star::uno::RuntimeException);
-
         // XTitle
         virtual ::rtl::OUString SAL_CALL getTitle(  ) throw 
(::com::sun::star::uno::RuntimeException);
 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to