summaryrefslogtreecommitdiff
path: root/UnoControls
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-24 15:59:06 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-25 09:15:39 +0100
commitaf4b38d6e7f769bf403a768bd310e5fa2b3e8ddd (patch)
tree3b32faa6d21f252e383411c7f9ea77973d7d03c3 /UnoControls
parent05c1c60a8258caa7b088bc52e85c4b3d8e70f68a (diff)
Remove dead code
Change-Id: I59fb7843d5c9a6cf2873b6d668d0e9dccff316d2
Diffstat (limited to 'UnoControls')
-rw-r--r--UnoControls/inc/basecontainercontrol.hxx105
-rw-r--r--UnoControls/source/base/basecontainercontrol.cxx94
2 files changed, 0 insertions, 199 deletions
diff --git a/UnoControls/inc/basecontainercontrol.hxx b/UnoControls/inc/basecontainercontrol.hxx
index 6f5b7f7a5a1b..2a71217b4cc4 100644
--- a/UnoControls/inc/basecontainercontrol.hxx
+++ b/UnoControls/inc/basecontainercontrol.hxx
@@ -285,23 +285,6 @@ public:
@onerror -
*/
- virtual void SAL_CALL addContainerListener(
- const ::com::sun::star::uno::Reference< ::com::sun::star::container::XContainerListener >& xListener
- ) throw( ::com::sun::star::uno::RuntimeException );
-
- /**_______________________________________________________________________________________________________
- @short -
- @descr -
-
- @seealso -
-
- @param -
-
- @return -
-
- @onerror -
- */
-
virtual void SAL_CALL removeControl(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl >& xControl
) throw( ::com::sun::star::uno::RuntimeException, std::exception );
@@ -319,23 +302,6 @@ public:
@onerror -
*/
- virtual void SAL_CALL removeContainerListener(
- const ::com::sun::star::uno::Reference< ::com::sun::star::container::XContainerListener >& xListener
- ) throw( ::com::sun::star::uno::RuntimeException );
-
- /**_______________________________________________________________________________________________________
- @short -
- @descr -
-
- @seealso -
-
- @param -
-
- @return -
-
- @onerror -
- */
-
virtual void SAL_CALL setStatusText(
const OUString& sStatusText
) throw( ::com::sun::star::uno::RuntimeException, std::exception );
@@ -374,77 +340,6 @@ public:
throw( ::com::sun::star::uno::RuntimeException, std::exception );
- // XUnoControlContainer
-
-
- /**_______________________________________________________________________________________________________
- @short -
- @descr -
-
- @seealso -
-
- @param -
-
- @return -
-
- @onerror -
- */
-
- virtual void SAL_CALL addTabController(
- const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTabController >& xTabController
- ) throw( ::com::sun::star::uno::RuntimeException );
-
- /**_______________________________________________________________________________________________________
- @short -
- @descr -
-
- @seealso -
-
- @param -
-
- @return -
-
- @onerror -
- */
-
- virtual void SAL_CALL removeTabController(
- const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTabController >& xTabController
- ) throw( ::com::sun::star::uno::RuntimeException );
-
- /**_______________________________________________________________________________________________________
- @short -
- @descr -
-
- @seealso -
-
- @param -
-
- @return -
-
- @onerror -
- */
-
- virtual void SAL_CALL setTabControllers(
- const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTabController > >& xTabControllers
- ) throw( ::com::sun::star::uno::RuntimeException );
-
- /**_______________________________________________________________________________________________________
- @short -
- @descr -
-
- @seealso -
-
- @param -
-
- @return -
-
- @onerror -
- */
-
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTabController > > SAL_CALL getTabControllers()
- throw( ::com::sun::star::uno::RuntimeException );
-
-
// XWindow
diff --git a/UnoControls/source/base/basecontainercontrol.cxx b/UnoControls/source/base/basecontainercontrol.cxx
index 5806504520b4..37ca44480989 100644
--- a/UnoControls/source/base/basecontainercontrol.cxx
+++ b/UnoControls/source/base/basecontainercontrol.cxx
@@ -298,18 +298,6 @@ void SAL_CALL BaseContainerControl::addControl ( const OUString& rName, const Re
// XControlContainer
-void SAL_CALL BaseContainerControl::addContainerListener ( const Reference< XContainerListener > & rListener ) throw( RuntimeException )
-{
- // Ready for multithreading
- MutexGuard aGuard ( m_aMutex ) ;
-
- m_aListeners.addInterface ( ::getCppuType((const Reference< XContainerListener >*)0), rListener ) ;
-}
-
-
-// XControlContainer
-
-
void SAL_CALL BaseContainerControl::removeControl ( const Reference< XControl > & rControl ) throw( RuntimeException, std::exception )
{
if ( rControl.is() )
@@ -363,18 +351,6 @@ void SAL_CALL BaseContainerControl::removeControl ( const Reference< XControl >
// XControlContainer
-void SAL_CALL BaseContainerControl::removeContainerListener ( const Reference< XContainerListener > & rListener ) throw( RuntimeException )
-{
- // Ready for multithreading
- MutexGuard aGuard ( m_aMutex ) ;
-
- m_aListeners.removeInterface ( ::getCppuType((const Reference< XContainerListener >*)0), rListener ) ;
-}
-
-
-// XControlContainer
-
-
void SAL_CALL BaseContainerControl::setStatusText ( const OUString& rStatusText ) throw( RuntimeException, std::exception )
{
// go down to each parent
@@ -440,76 +416,6 @@ Sequence< Reference< XControl > > SAL_CALL BaseContainerControl::getControls ()
}
-// XUnoControlContainer
-
-
-void SAL_CALL BaseContainerControl::addTabController ( const Reference< XTabController > & rTabController ) throw( RuntimeException )
-{
- // Ready for multithreading
- MutexGuard aGuard (m_aMutex) ;
-
- sal_uInt32 nOldCount = m_xTabControllerList.getLength () ;
- Sequence< Reference< XTabController > > aNewList ( nOldCount + 1 ) ;
- sal_uInt32 nCount = 0 ;
-
- // Copy old elements of sequence to new list.
- for ( nCount = 0; nCount < nOldCount; ++nCount )
- {
- aNewList.getArray () [nCount] = m_xTabControllerList.getConstArray () [nCount] ;
- }
-
- // Add new controller
- aNewList.getArray () [nOldCount] = rTabController ;
-
- // change old and new list
- m_xTabControllerList = aNewList ;
-}
-
-
-// XUnoControlContainer
-
-
-void SAL_CALL BaseContainerControl::removeTabController ( const Reference< XTabController > & rTabController ) throw( RuntimeException )
-{
- // Ready for multithreading
- MutexGuard aGuard (m_aMutex) ;
-
- sal_uInt32 nMaxCount = m_xTabControllerList.getLength () ;
- sal_uInt32 nCount = 0 ;
-
- // Search right tabcontroller ...
- for ( nCount = 0; nCount < nMaxCount; ++nCount )
- {
- if ( m_xTabControllerList.getConstArray () [nCount] == rTabController )
- {
- // ... if is it found ... remove it from list.
- m_xTabControllerList.getArray()[ nCount ].clear();
- break ;
- }
- }
-}
-
-
-// XUnoControlContainer
-
-
-void SAL_CALL BaseContainerControl::setTabControllers ( const Sequence< Reference< XTabController > >& rTabControllers ) throw( RuntimeException )
-{
- // Ready for multithreading
- MutexGuard aGuard (m_aMutex) ;
-
- m_xTabControllerList = rTabControllers ;
-}
-
-Sequence<Reference< XTabController > > SAL_CALL BaseContainerControl::getTabControllers () throw( RuntimeException )
-{
- // Ready for multithreading
- MutexGuard aGuard (m_aMutex) ;
-
- return m_xTabControllerList ;
-}
-
-
// XWindow