Tag: cws_dev300_dba30d
User: fs      
Date: 2008-06-11 20:24:15+0000
Modified:
   dba/dbaccess/source/ui/browser/genericcontroller.cxx

Log:
 during #i80943#: don't implement XSelectionSupplier (empty) if only a few 
derived classes need it

File Changes:

Directory: /dba/dbaccess/source/ui/browser/
===========================================

File [changed]: genericcontroller.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/browser/genericcontroller.cxx?r1=1.88.6.5&r2=1.88.6.6
Delta lines:  +2 -26
--------------------
--- genericcontroller.cxx       2008-06-10 06:41:05+0000        1.88.6.5
+++ genericcontroller.cxx       2008-06-11 20:24:12+0000        1.88.6.6
@@ -7,7 +7,7 @@
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: genericcontroller.cxx,v $
- * $Revision: 1.88.6.5 $
+ * $Revision: 1.88.6.6 $
  *
  * This file is part of OpenOffice.org.
  *
@@ -191,7 +191,6 @@
 #ifdef DBG_UTIL
     ,m_bDescribingSupportedFeatures( false )
 #endif
-    ,m_aSelectionListeners(m_aMutex)
        ,m_aAsyncInvalidateAll(LINK(this, OGenericUnoController, 
OnAsyncInvalidateAll))
        ,m_aAsyncCloseTask(LINK(this, OGenericUnoController, OnAsyncCloseTask))
        ,m_xServiceFactory(_rM)
@@ -221,7 +220,6 @@
 #ifdef DBG_UTIL
     ,m_bDescribingSupportedFeatures( false )
 #endif
-    ,m_aSelectionListeners(m_aMutex)
        ,m_aAsyncInvalidateAll(LINK(this, OGenericUnoController, 
OnAsyncInvalidateAll))
        ,m_aAsyncCloseTask(LINK(this, OGenericUnoController, OnAsyncCloseTask))
     ,m_aCurrentFrame( *this )
@@ -853,7 +851,6 @@
                        aIter->xListener->disposing(aDisposeEvent);
                }
                m_arrStatusListener.clear();
-        m_aSelectionListeners.disposeAndClear( aDisposeEvent );
        }
 
        m_xDatabaseContext = NULL;
@@ -1620,26 +1617,5 @@
     m_bDescribingSupportedFeatures = false;
 #endif
 }
-// 
-----------------------------------------------------------------------------
-::sal_Bool SAL_CALL OGenericUnoController::select( const Any& /*xSelection*/ ) 
throw (IllegalArgumentException, RuntimeException)
-{
-    return sal_False;
-}
-// 
-----------------------------------------------------------------------------
-Any SAL_CALL OGenericUnoController::getSelection(  ) throw (RuntimeException)
-{
-    return Any();
-}
-// 
-----------------------------------------------------------------------------
-void SAL_CALL OGenericUnoController::addSelectionChangeListener( const 
Reference< view::XSelectionChangeListener >& xListener ) throw 
(RuntimeException)
-{
-    m_aSelectionListeners.addInterface(xListener);
-}
-// 
-----------------------------------------------------------------------------
-void SAL_CALL OGenericUnoController::removeSelectionChangeListener( const 
Reference< view::XSelectionChangeListener >& xListener ) throw 
(RuntimeException)
-{
-    m_aSelectionListeners.removeInterface(xListener);
-}
-
 }   // namespace dbaui
 




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

Reply via email to