summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-22 22:58:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-23 09:02:23 +0100
commit17b8373171e52e6ce4c5ecf5074082f76cb36118 (patch)
tree9f3a3ff4b99458596747260c503bbecfcade8b40 /framework
parent8b56cbf38f086653713a7fdeafe83126d1786b93 (diff)
callcatcher: various unused methods
Diffstat (limited to 'framework')
-rw-r--r--framework/Library_fwk.mk1
-rw-r--r--framework/inc/classes/fwktabwindow.hxx1
-rw-r--r--framework/inc/classes/protocolhandlercache.hxx1
-rw-r--r--framework/inc/classes/rootactiontriggercontainer.hxx2
-rw-r--r--framework/inc/dispatch/menudispatcher.hxx2
-rw-r--r--framework/inc/uielement/addonstoolbarmanager.hxx1
-rw-r--r--framework/inc/uielement/constitemcontainer.hxx1
-rw-r--r--framework/inc/uielement/itemcontainer.hxx1
-rw-r--r--framework/inc/uielement/rootitemcontainer.hxx1
-rw-r--r--framework/inc/uielement/toolbarmanager.hxx1
-rw-r--r--framework/inc/xml/menudocumenthandler.hxx2
-rw-r--r--framework/source/classes/fwktabwindow.cxx7
-rw-r--r--framework/source/dispatch/menudispatcher.cxx27
-rw-r--r--framework/source/fwe/classes/rootactiontriggercontainer.cxx19
-rw-r--r--framework/source/fwe/xml/menudocumenthandler.cxx5
-rw-r--r--framework/source/fwi/classes/protocolhandlercache.cxx13
-rw-r--r--framework/source/fwi/uielement/constitemcontainer.cxx13
-rw-r--r--framework/source/fwi/uielement/itemcontainer.cxx9
-rw-r--r--framework/source/fwi/uielement/rootitemcontainer.cxx10
-rw-r--r--framework/source/layoutmanager/panel.cxx87
-rw-r--r--framework/source/layoutmanager/panel.hxx88
-rw-r--r--framework/source/uielement/addonstoolbarmanager.cxx5
-rw-r--r--framework/source/uielement/toolbarmanager.cxx5
23 files changed, 0 insertions, 302 deletions
diff --git a/framework/Library_fwk.mk b/framework/Library_fwk.mk
index 8dacdda7762a..abb96ceb452e 100644
--- a/framework/Library_fwk.mk
+++ b/framework/Library_fwk.mk
@@ -113,7 +113,6 @@ $(eval $(call gb_Library_add_exception_objects,fwk,\
framework/source/jobs/joburl \
framework/source/layoutmanager/helpers \
framework/source/layoutmanager/layoutmanager \
- framework/source/layoutmanager/panel \
framework/source/layoutmanager/toolbarlayoutmanager \
framework/source/layoutmanager/uielement \
framework/source/loadenv/loadenv \
diff --git a/framework/inc/classes/fwktabwindow.hxx b/framework/inc/classes/fwktabwindow.hxx
index 9ddbe9bbfaf4..d1c7cad7f1e2 100644
--- a/framework/inc/classes/fwktabwindow.hxx
+++ b/framework/inc/classes/fwktabwindow.hxx
@@ -116,7 +116,6 @@ private:
DECL_DLLPRIVATE_LINK( ActivatePageHdl, TabControl * );
DECL_DLLPRIVATE_LINK( DeactivatePageHdl, TabControl * );
- DECL_DLLPRIVATE_LINK( CloseHdl, PushButton * );
public:
FwkTabWindow( Window* pParent );
diff --git a/framework/inc/classes/protocolhandlercache.hxx b/framework/inc/classes/protocolhandlercache.hxx
index 52a53a9b5179..79f4cdc93259 100644
--- a/framework/inc/classes/protocolhandlercache.hxx
+++ b/framework/inc/classes/protocolhandlercache.hxx
@@ -157,7 +157,6 @@ class FWI_DLLPUBLIC HandlerCache
sal_Bool search( const ::rtl::OUString& sURL, ProtocolHandler* pReturn ) const;
sal_Bool search( const css::util::URL& aURL, ProtocolHandler* pReturn ) const;
- sal_Bool exists( const ::rtl::OUString& sURL ) const;
void takeOver(HandlerHash* pHandler, PatternHash* pPattern);
};
diff --git a/framework/inc/classes/rootactiontriggercontainer.hxx b/framework/inc/classes/rootactiontriggercontainer.hxx
index 89b48fc8972b..924d3598cfed 100644
--- a/framework/inc/classes/rootactiontriggercontainer.hxx
+++ b/framework/inc/classes/rootactiontriggercontainer.hxx
@@ -55,8 +55,6 @@ class FWE_DLLPUBLIC RootActionTriggerContainer : public PropertySetContainer,
RootActionTriggerContainer( const Menu* pMenu, const ::rtl::OUString* pMenuIdentifier, const com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >& rServiceManager );
virtual ~RootActionTriggerContainer();
- const Menu* GetMenu();
-
// XInterface
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType )
throw (::com::sun::star::uno::RuntimeException);
diff --git a/framework/inc/dispatch/menudispatcher.hxx b/framework/inc/dispatch/menudispatcher.hxx
index a43800a13499..8d22bff48573 100644
--- a/framework/inc/dispatch/menudispatcher.hxx
+++ b/framework/inc/dispatch/menudispatcher.hxx
@@ -255,8 +255,6 @@ class MenuDispatcher : // interfaces
private:
- DECL_LINK( Close_Impl, void* );
-
/*-****************************************************************************************************//**
@short -
@descr -
diff --git a/framework/inc/uielement/addonstoolbarmanager.hxx b/framework/inc/uielement/addonstoolbarmanager.hxx
index 5b71fe167e54..883e0d7c936e 100644
--- a/framework/inc/uielement/addonstoolbarmanager.hxx
+++ b/framework/inc/uielement/addonstoolbarmanager.hxx
@@ -85,7 +85,6 @@ class AddonsToolBarManager : public ToolBarManager
DECL_LINK( DoubleClick, ToolBox * );
DECL_LINK( Command, CommandEvent * );
DECL_LINK( Select, ToolBox * );
- DECL_LINK( Highlight, ToolBox * );
DECL_LINK( Activate, ToolBox * );
DECL_LINK( Deactivate, ToolBox * );
DECL_LINK( StateChanged, StateChangedType* );
diff --git a/framework/inc/uielement/constitemcontainer.hxx b/framework/inc/uielement/constitemcontainer.hxx
index 36e29d5ba8e0..6dc42f4ed322 100644
--- a/framework/inc/uielement/constitemcontainer.hxx
+++ b/framework/inc/uielement/constitemcontainer.hxx
@@ -77,7 +77,6 @@ class FWI_DLLPUBLIC ConstItemContainer : public ::com::sun::star::lang::XType
public:
ConstItemContainer();
ConstItemContainer( const ItemContainer& rtemContainer );
- ConstItemContainer( const RootItemContainer& rRootItemContainer, sal_Bool bFastCopy = sal_False );
ConstItemContainer( const com::sun::star::uno::Reference< com::sun::star::container::XIndexAccess >& rSourceContainer, sal_Bool bFastCopy = sal_False );
virtual ~ConstItemContainer();
diff --git a/framework/inc/uielement/itemcontainer.hxx b/framework/inc/uielement/itemcontainer.hxx
index 56780f44890b..159d6a5f6e5a 100644
--- a/framework/inc/uielement/itemcontainer.hxx
+++ b/framework/inc/uielement/itemcontainer.hxx
@@ -74,7 +74,6 @@ class FWI_DLLPUBLIC ItemContainer : public ::cppu::WeakImplHelper1< ::com::sun
// XUnoTunnel
static const ::com::sun::star::uno::Sequence< sal_Int8 >& GetUnoTunnelId() throw();
static ItemContainer* GetImplementation( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rxIFace ) throw();
- sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rIdentifier ) throw(::com::sun::star::uno::RuntimeException);
// XIndexContainer
virtual void SAL_CALL insertByIndex( sal_Int32 Index, const ::com::sun::star::uno::Any& Element )
diff --git a/framework/inc/uielement/rootitemcontainer.hxx b/framework/inc/uielement/rootitemcontainer.hxx
index 92677b956f3a..43ee41cc1cbc 100644
--- a/framework/inc/uielement/rootitemcontainer.hxx
+++ b/framework/inc/uielement/rootitemcontainer.hxx
@@ -76,7 +76,6 @@ class RootItemContainer : public ::com::sun::star::lang::XTypeProvider
public:
FWI_DLLPUBLIC RootItemContainer();
- FWI_DLLPUBLIC RootItemContainer( const ConstItemContainer& rConstItemContainer );
FWI_DLLPUBLIC RootItemContainer( const com::sun::star::uno::Reference< com::sun::star::container::XIndexAccess >& rItemAccessContainer );
virtual FWI_DLLPUBLIC ~RootItemContainer();
diff --git a/framework/inc/uielement/toolbarmanager.hxx b/framework/inc/uielement/toolbarmanager.hxx
index e34913d0ddbb..2f8ad0564f3b 100644
--- a/framework/inc/uielement/toolbarmanager.hxx
+++ b/framework/inc/uielement/toolbarmanager.hxx
@@ -169,7 +169,6 @@ class ToolBarManager : public ::com::sun::star::frame::XFrameActionListener
DECL_LINK( DropdownClick, ToolBox * );
DECL_LINK( DoubleClick, ToolBox * );
DECL_LINK( Select, ToolBox * );
- DECL_LINK( Highlight, ToolBox * );
DECL_LINK( Activate, ToolBox * );
DECL_LINK( Deactivate, ToolBox * );
DECL_LINK( StateChanged, StateChangedType* );
diff --git a/framework/inc/xml/menudocumenthandler.hxx b/framework/inc/xml/menudocumenthandler.hxx
index 3c899ed07cd3..c6b67657749a 100644
--- a/framework/inc/xml/menudocumenthandler.hxx
+++ b/framework/inc/xml/menudocumenthandler.hxx
@@ -169,8 +169,6 @@ class FWE_DLLPUBLIC OReadMenuBarHandler : public ReadMenuDocumentHandlerBase
const com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleComponentFactory >& rContainerFactory );
virtual ~OReadMenuBarHandler();
- const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& getServiceFactory();
-
// XDocumentHandler
virtual void SAL_CALL startDocument(void)
throw ( ::com::sun::star::xml::sax::SAXException,
diff --git a/framework/source/classes/fwktabwindow.cxx b/framework/source/classes/fwktabwindow.cxx
index 3c3cd7d21bff..f9f15a208f9c 100644
--- a/framework/source/classes/fwktabwindow.cxx
+++ b/framework/source/classes/fwktabwindow.cxx
@@ -319,13 +319,6 @@ IMPL_LINK( FwkTabWindow, DeactivatePageHdl, TabControl *, EMPTYARG )
// -----------------------------------------------------------------------
-IMPL_LINK( FwkTabWindow, CloseHdl, PushButton *, EMPTYARG )
-{
- return 0;
-}
-
-// -----------------------------------------------------------------------
-
void FwkTabWindow::AddEventListener( const Link& rEventListener )
{
m_aTabCtrl.AddEventListener( rEventListener );
diff --git a/framework/source/dispatch/menudispatcher.cxx b/framework/source/dispatch/menudispatcher.cxx
index ce8f9c374a21..8fcd6ccf9074 100644
--- a/framework/source/dispatch/menudispatcher.cxx
+++ b/framework/source/dispatch/menudispatcher.cxx
@@ -368,33 +368,6 @@ sal_Bool MenuDispatcher::impl_setMenuBar( MenuBar* pMenuBar, sal_Bool bMenuFromR
return sal_False;
}
-IMPL_LINK( MenuDispatcher, Close_Impl, void*, EMPTYARG )
-{
- css::uno::Reference < css::frame::XFrame > xFrame( m_xOwnerWeak.get(), css::uno::UNO_QUERY );
- if ( !xFrame.is() )
- return 0;
-
- css::util::URL aURL;
- aURL.Complete = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(".uno:CloseWin"));
- css::uno::Reference< css::util::XURLTransformer > xTrans ( m_xFactory->createInstance(
- SERVICENAME_URLTRANSFORMER ), css::uno::UNO_QUERY );
- if( xTrans.is() )
- {
- // Datei laden
- xTrans->parseStrict( aURL );
- uno::Reference< XDispatchProvider > xProv( xFrame, UNO_QUERY );
- if ( xProv.is() )
- {
- css::uno::Reference < css::frame::XDispatch > aDisp = xProv->queryDispatch( aURL, ::rtl::OUString(), 0 );
- if ( aDisp.is() )
- aDisp->dispatch( aURL, css::uno::Sequence < css::beans::PropertyValue>() );
- }
- }
-
- return 0;
-}
-
-
//_________________________________________________________________________________________________________________
// debug methods
//_________________________________________________________________________________________________________________
diff --git a/framework/source/fwe/classes/rootactiontriggercontainer.cxx b/framework/source/fwe/classes/rootactiontriggercontainer.cxx
index 9f6fe91a685b..0d2f1252f026 100644
--- a/framework/source/fwe/classes/rootactiontriggercontainer.cxx
+++ b/framework/source/fwe/classes/rootactiontriggercontainer.cxx
@@ -72,25 +72,6 @@ RootActionTriggerContainer::~RootActionTriggerContainer()
{
}
-const Menu* RootActionTriggerContainer::GetMenu()
-{
- if ( !m_bContainerChanged )
- return m_pMenu;
- else
- {
- ResetableGuard aGuard( m_aLock );
-
- Menu* pNewMenu = new PopupMenu;
-
- ActionTriggerHelper::CreateMenuFromActionTriggerContainer( pNewMenu, this );
- m_pMenu = pNewMenu;
- m_bContainerChanged = sal_False;
-
- return m_pMenu;
- }
-}
-
-
// XInterface
Any SAL_CALL RootActionTriggerContainer::queryInterface( const Type& aType )
throw ( RuntimeException )
diff --git a/framework/source/fwe/xml/menudocumenthandler.cxx b/framework/source/fwe/xml/menudocumenthandler.cxx
index bb36e403cc9d..0695698b6780 100644
--- a/framework/source/fwe/xml/menudocumenthandler.cxx
+++ b/framework/source/fwe/xml/menudocumenthandler.cxx
@@ -345,11 +345,6 @@ OReadMenuBarHandler::OReadMenuBarHandler(
}
-const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& OReadMenuBarHandler::getServiceFactory()
-{
- return mxServiceFactory;
-}
-
OReadMenuBarHandler::~OReadMenuBarHandler()
{
}
diff --git a/framework/source/fwi/classes/protocolhandlercache.cxx b/framework/source/fwi/classes/protocolhandlercache.cxx
index 1a7ddf2e2be6..b6fc7e89f268 100644
--- a/framework/source/fwi/classes/protocolhandlercache.cxx
+++ b/framework/source/fwi/classes/protocolhandlercache.cxx
@@ -215,19 +215,6 @@ sal_Bool HandlerCache::search( const css::util::URL& aURL, ProtocolHandler* pRet
}
//_________________________________________________________________________________________________________________
-
-sal_Bool HandlerCache::exists( const ::rtl::OUString& sURL ) const
-{
- sal_Bool bFound = sal_False;
- /* SAFE */{
- ReadGuard aReadLock( LockHelper::getGlobalLock() );
- PatternHash::const_iterator pItem = m_pPattern->findPatternKey(sURL);
- bFound = pItem!=m_pPattern->end();
- /* SAFE */}
- return bFound;
-}
-
-//_________________________________________________________________________________________________________________
void HandlerCache::takeOver(HandlerHash* pHandler, PatternHash* pPattern)
{
// SAFE ->
diff --git a/framework/source/fwi/uielement/constitemcontainer.cxx b/framework/source/fwi/uielement/constitemcontainer.cxx
index 285a7fe8f3f8..452f35319a9e 100644
--- a/framework/source/fwi/uielement/constitemcontainer.cxx
+++ b/framework/source/fwi/uielement/constitemcontainer.cxx
@@ -151,19 +151,6 @@ ConstItemContainer::ConstItemContainer() : ::cppu::OWeakObject()
{
}
-ConstItemContainer::ConstItemContainer( const RootItemContainer& rRootItemContainer, sal_Bool bFastCopy )
-{
- ShareGuard( rRootItemContainer.m_aShareMutex );
-
- // If bFastCopy is set the onwer of the root item container will transfer ownership to us. So
- // it is possible to copy only the root part.
- m_aUIName = rRootItemContainer.m_aUIName;
- if ( bFastCopy )
- m_aItemVector = rRootItemContainer.m_aItemVector;
- else
- copyItemContainer( rRootItemContainer.m_aItemVector );
-}
-
ConstItemContainer::ConstItemContainer( const ItemContainer& rItemContainer )
{
ShareGuard( rItemContainer.m_aShareMutex );
diff --git a/framework/source/fwi/uielement/itemcontainer.cxx b/framework/source/fwi/uielement/itemcontainer.cxx
index 42dc8c2ea507..78d5f1ba093f 100644
--- a/framework/source/fwi/uielement/itemcontainer.cxx
+++ b/framework/source/fwi/uielement/itemcontainer.cxx
@@ -151,15 +151,6 @@ Reference< XIndexAccess > ItemContainer::deepCopyContainer( const Reference< XIn
return xReturn;
}
-// XUnoTunnel
-sal_Int64 ItemContainer::getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rIdentifier ) throw(::com::sun::star::uno::RuntimeException)
-{
- if( ( rIdentifier.getLength() == 16 ) && ( 0 == rtl_compareMemory( ItemContainer::GetUnoTunnelId().getConstArray(), rIdentifier.getConstArray(), 16 ) ) )
- return sal::static_int_cast< sal_Int64 >( reinterpret_cast< sal_IntPtr >( this ));
-
- return 0;
-}
-
namespace
{
class theItemContainerUnoTunnelId : public rtl::Static< UnoTunnelIdInit, theItemContainerUnoTunnelId > {};
diff --git a/framework/source/fwi/uielement/rootitemcontainer.cxx b/framework/source/fwi/uielement/rootitemcontainer.cxx
index b00a61805799..f4729a931888 100644
--- a/framework/source/fwi/uielement/rootitemcontainer.cxx
+++ b/framework/source/fwi/uielement/rootitemcontainer.cxx
@@ -95,16 +95,6 @@ RootItemContainer::RootItemContainer()
{
}
-RootItemContainer::RootItemContainer( const ConstItemContainer& rConstItemContainer )
- : ThreadHelpBase ( )
- , ::cppu::OBroadcastHelperVar< ::cppu::OMultiTypeInterfaceContainerHelper, ::cppu::OMultiTypeInterfaceContainerHelper::keyType >( m_aLock.getShareableOslMutex() )
- , ::cppu::OPropertySetHelper ( *(static_cast< ::cppu::OBroadcastHelper* >(this)) )
- , ::cppu::OWeakObject()
-{
- m_aUIName = rConstItemContainer.m_aUIName;
- copyItemContainer( rConstItemContainer.m_aItemVector );
-}
-
RootItemContainer::RootItemContainer( const Reference< XIndexAccess >& rSourceContainer )
: ThreadHelpBase ( )
, ::cppu::OBroadcastHelperVar< ::cppu::OMultiTypeInterfaceContainerHelper, ::cppu::OMultiTypeInterfaceContainerHelper::keyType >( m_aLock.getShareableOslMutex() )
diff --git a/framework/source/layoutmanager/panel.cxx b/framework/source/layoutmanager/panel.cxx
deleted file mode 100644
index 969e24098982..000000000000
--- a/framework/source/layoutmanager/panel.cxx
+++ /dev/null
@@ -1,87 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-// MARKER(update_precomp.py): autogen include statement, do not remove
-#include "precompiled_framework.hxx"
-
-//_________________________________________________________________________________________________________________
-// my own includes
-//_________________________________________________________________________________________________________________
-
-#include "panel.hxx"
-#include "helpers.hxx"
-
-//_________________________________________________________________________________________________________________
-// other includes
-//_________________________________________________________________________________________________________________
-
-#include <vcl/svapp.hxx>
-#include <toolkit/unohlp.hxx>
-
-//_________________________________________________________________________________________________________________
-// namespace
-//_________________________________________________________________________________________________________________
-
-using namespace ::com::sun::star;
-
-namespace framework
-{
-
-Panel::Panel(
- const uno::Reference< lang::XMultiServiceFactory >& rSMGR,
- const uno::Reference< awt::XWindow >& rParent,
- PanelPosition nPanel ) :
- m_xSMGR(rSMGR), m_nPanelPosition(nPanel)
-{
- uno::Reference< awt::XWindowPeer > xWindowPeer( rParent, uno::UNO_QUERY );
- m_xPanelWindow = uno::Reference< awt::XWindow >( createToolkitWindow( rSMGR, xWindowPeer, "splitwindow" ), uno::UNO_QUERY );
-
- SolarMutexGuard aGuard;
- SplitWindow* pSplitWindow = dynamic_cast< SplitWindow* >( VCLUnoHelper::GetWindow( m_xPanelWindow ));
-
- if ( pSplitWindow )
- {
- // Set alignment
- if (nPanel == PANEL_TOP)
- pSplitWindow->SetAlign( WINDOWALIGN_TOP );
- else if (nPanel == PANEL_BOTTOM)
- pSplitWindow->SetAlign( WINDOWALIGN_BOTTOM );
- else if (nPanel == PANEL_LEFT)
- pSplitWindow->SetAlign( WINDOWALIGN_LEFT );
- else
- pSplitWindow->SetAlign( WINDOWALIGN_RIGHT );
- }
-}
-
-Panel::~Panel()
-{
-}
-
-} // namespace framework
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/source/layoutmanager/panel.hxx b/framework/source/layoutmanager/panel.hxx
deleted file mode 100644
index 34fb61207457..000000000000
--- a/framework/source/layoutmanager/panel.hxx
+++ /dev/null
@@ -1,88 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef __FRAMEWORK_LAYOUTMANAGER_PANEL_HXX_
-#define __FRAMEWORK_LAYOUTMANAGER_PANEL_HXX_
-
-//_________________________________________________________________________________________________________________
-// my own includes
-//_________________________________________________________________________________________________________________
-
-#include <macros/generic.hxx>
-#include <stdtypes.h>
-#include <properties.h>
-
-//_________________________________________________________________________________________________________________
-// interface includes
-//_________________________________________________________________________________________________________________
-
-#include <com/sun/star/awt/XWindow.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
-
-//_________________________________________________________________________________________________________________
-// other includes
-//_________________________________________________________________________________________________________________
-
-#include <vcl/window.hxx>
-#include <vcl/splitwin.hxx>
-
-//_________________________________________________________________________________________________________________
-// namespace
-//_________________________________________________________________________________________________________________
-
-namespace framework
-{
-
-enum PanelPosition
-{
- PANEL_TOP,
- PANEL_LEFT,
- PANEL_RIGHT,
- PANEL_BOTTOM,
- PANEL_COUNT
-};
-
-class Panel
-{
- public:
- Panel( const css::uno::Reference< css::lang::XMultiServiceFactory >& rSMGR,
- const css::uno::Reference< css::awt::XWindow >& rParent,
- PanelPosition nPanel );
- virtual ~Panel();
-
- private:
- css::uno::Reference< css::lang::XMultiServiceFactory > m_xSMGR;
- css::uno::Reference< css::awt::XWindow > m_xPanelWindow;
- PanelPosition m_nPanelPosition;
-};
-
-}
-
-#endif // __FRAMEWORK_LAYOUTMANAGER_PANEL_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/source/uielement/addonstoolbarmanager.cxx b/framework/source/uielement/addonstoolbarmanager.cxx
index a8c98847d7d1..dfbc197c9c8a 100644
--- a/framework/source/uielement/addonstoolbarmanager.cxx
+++ b/framework/source/uielement/addonstoolbarmanager.cxx
@@ -488,11 +488,6 @@ IMPL_LINK( AddonsToolBarManager, Select, ToolBox*, EMPTYARG )
return 1;
}
-IMPL_LINK( AddonsToolBarManager, Highlight, ToolBox*, EMPTYARG )
-{
- return 1;
-}
-
IMPL_LINK( AddonsToolBarManager, Activate, ToolBox*, EMPTYARG )
{
return 1;
diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx
index bc02e01fda13..f73dbd95415a 100644
--- a/framework/source/uielement/toolbarmanager.cxx
+++ b/framework/source/uielement/toolbarmanager.cxx
@@ -2075,11 +2075,6 @@ IMPL_LINK( ToolBarManager, Select, ToolBox*, EMPTYARG )
return 1;
}
-IMPL_LINK( ToolBarManager, Highlight, ToolBox*, EMPTYARG )
-{
- return 1;
-}
-
IMPL_LINK( ToolBarManager, Activate, ToolBox*, EMPTYARG )
{
return 1;