diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-23 21:38:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-26 10:18:38 +0100 |
commit | dea0b22a4639a2ef9c75ed6f04d61ca9d99fcb95 (patch) | |
tree | 4972226c0349fd6f146ed6930468a671f8c0742a /framework | |
parent | 19549cfc22e9a5d442153d596d5db80efe819da7 (diff) |
callcatcher: panelwindow unused
Diffstat (limited to 'framework')
-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 |
4 files changed, 0 insertions, 132 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: */ |