diff options
-rw-r--r-- | framework/Library_fwk.mk | 1 | ||||
-rw-r--r-- | framework/inc/services/layoutmanager.hxx | 1 | ||||
-rw-r--r-- | framework/inc/uielement/panelwindow.hxx | 76 | ||||
-rw-r--r-- | framework/source/uielement/panelwindow.cxx | 54 | ||||
-rw-r--r-- | unusedcode.easy | 1 |
5 files changed, 0 insertions, 133 deletions
diff --git a/framework/Library_fwk.mk b/framework/Library_fwk.mk index abb96ceb452e..fde1aa0bc4d5 100644 --- a/framework/Library_fwk.mk +++ b/framework/Library_fwk.mk @@ -155,7 +155,6 @@ $(eval $(call gb_Library_add_exception_objects,fwk,\ framework/source/uielement/menubarmerger \ framework/source/uielement/menubarwrapper \ framework/source/uielement/objectmenucontroller \ - framework/source/uielement/panelwindow \ framework/source/uielement/progressbarwrapper \ framework/source/uielement/recentfilesmenucontroller \ framework/source/uielement/spinfieldtoolbarcontroller \ diff --git a/framework/inc/services/layoutmanager.hxx b/framework/inc/services/layoutmanager.hxx index f5879f4c729f..84931a3ed952 100644 --- a/framework/inc/services/layoutmanager.hxx +++ b/framework/inc/services/layoutmanager.hxx @@ -51,7 +51,6 @@ #include <uielement/menubarmanager.hxx> #include <uiconfiguration/windowstateconfiguration.hxx> #include <framework/addonsoptions.hxx> -#include <uielement/panelwindow.hxx> #include <uielement/uielement.hxx> #include <helper/ilayoutnotifications.hxx> diff --git a/framework/inc/uielement/panelwindow.hxx b/framework/inc/uielement/panelwindow.hxx deleted file mode 100644 index d0ff822360aa..000000000000 --- a/framework/inc/uielement/panelwindow.hxx +++ /dev/null @@ -1,76 +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_PANELWINDOW_HXX_ -#define __FRAMEWORK_LAYOUTMANAGER_PANELWINDOW_HXX_ - -//_________________________________________________________________________________________________________________ -// my own includes -//_________________________________________________________________________________________________________________ - -#include <vcl/dockwin.hxx> - -//_________________________________________________________________________________________________________________ -// namespace -//_________________________________________________________________________________________________________________ - -namespace framework -{ - -class PanelWindow : public DockingWindow -{ - public: - PanelWindow( Window* pParent, WinBits nWinBits =0); - virtual ~PanelWindow(); - - virtual void Command ( const CommandEvent& rCEvt ); - virtual void StateChanged( StateChangedType nType ); - virtual void DataChanged( const DataChangedEvent& rDCEvt ); - virtual void Resize(); - - // Provide additional handlers to support external implementations - void SetCommandHdl( const Link& aLink ) { m_aCommandHandler = aLink; } - const Link& GetCommandHdl() const { return m_aCommandHandler; } - void SetStateChangedHdl( const Link& aLink ) { m_aStateChangedHandler = aLink; } - const Link& GetStateChangedHdl() const { return m_aStateChangedHandler; } - void SetDataChangedHdl( const Link& aLink ) { m_aDataChangedHandler = aLink; } - const Link& GetDataChangedHdl() { return m_aDataChangedHandler; } - - private: - ::rtl::OUString m_aResourceURL; - Link m_aCommandHandler; - Link m_aStateChangedHandler; - Link m_aDataChangedHandler; - Window* m_pContentWindow; -}; - -} - -#endif // __FRAMEWORK_UIELEMENT_PANELWINDOW_HXX_ - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/source/uielement/panelwindow.cxx b/framework/source/uielement/panelwindow.cxx deleted file mode 100644 index e24fbc3d8ee0..000000000000 --- a/framework/source/uielement/panelwindow.cxx +++ /dev/null @@ -1,54 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ - -// MARKER(update_precomp.py): autogen include statement, do not remove -#include "precompiled_framework.hxx" - -//_________________________________________________________________________________________________________________ -// my own includes -//_________________________________________________________________________________________________________________ - -#include <uielement/panelwindow.hxx> - -namespace framework -{ - -PanelWindow::PanelWindow( Window* pParent, WinBits nWinBits ) : - DockingWindow( pParent, nWinBits ) -{ -} - -PanelWindow::~PanelWindow() -{ -} - -void PanelWindow::Command( const CommandEvent& rCEvt ) -{ - if ( m_aCommandHandler.IsSet() ) - m_aCommandHandler.Call( (void *)( &rCEvt )); - DockingWindow::Command( rCEvt ); -} - -void PanelWindow::StateChanged( StateChangedType nType ) -{ - DockingWindow::StateChanged( nType ); - if ( m_aStateChangedHandler.IsSet() ) - m_aStateChangedHandler.Call( &nType ); -} - -void PanelWindow::DataChanged( const DataChangedEvent& rDCEvt ) -{ - DockingWindow::DataChanged( rDCEvt ); - if ( m_aDataChangedHandler.IsSet() ) - m_aDataChangedHandler.Call( (void*)&rDCEvt ); -} - -void PanelWindow::Resize() -{ - DockingWindow::Resize(); - if ( m_pContentWindow ) - m_pContentWindow->SetSizePixel( GetOutputSizePixel() ); -} - -} - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unusedcode.easy b/unusedcode.easy index 3e7cc887ae82..7ad45672359a 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -2256,7 +2256,6 @@ formula::FormulaTokenIterator::First() formula::ResourceManager::loadString(unsigned short, char const*, rtl::OUString const&) formula::StructPage::GetSelectedEntryText() formula::StructPage::GetSelectedToken() -framework::PanelWindow::PanelWindow(Window*, long) framework::ShareableMutex::getShareableOslMutex() framework::StatusBarDescriptor::DeleteAndDestroy(unsigned short, unsigned short) framework::TabWindow::impl_createFactory(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&) |