diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-12 09:11:02 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-12 13:03:50 +0000 |
commit | 0d3082dbf2e87bed462246307a13e206f7617081 (patch) | |
tree | 372b4a879b45e6a9e85ff42f4275a8e925c3162d /svtools | |
parent | 2efd433478cf4820b308b20cf42595345e023af2 (diff) |
callcatcher: update unused code
Change-Id: Iaaad9302ef8edb47fa95ce8ca608b6f36449521b
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/vclxaccessibleheaderbaritem.cxx | 19 | ||||
-rw-r--r-- | svtools/source/toolpanel/toolpaneldeck.cxx | 20 |
2 files changed, 0 insertions, 39 deletions
diff --git a/svtools/source/control/vclxaccessibleheaderbaritem.cxx b/svtools/source/control/vclxaccessibleheaderbaritem.cxx index d5cbb0263c56..21b1728905d6 100644 --- a/svtools/source/control/vclxaccessibleheaderbaritem.cxx +++ b/svtools/source/control/vclxaccessibleheaderbaritem.cxx @@ -65,25 +65,6 @@ VCLXAccessibleHeaderBarItem::~VCLXAccessibleHeaderBarItem() // ----------------------------------------------------------------------------- -IMPL_LINK( VCLXAccessibleHeaderBarItem, WindowEventListener, VclSimpleEvent*, pEvent ) -{ - DBG_CHKTHIS( VCLXAccessibleHeaderBarItem, 0 ); - DBG_ASSERT( pEvent && pEvent->ISA( VclWindowEvent ), "VCLXAccessibleHeaderBarItem::WindowEventListener: unknown window event!" ); - - if ( pEvent && pEvent->ISA( VclWindowEvent ) ) - { - DBG_ASSERT( ((VclWindowEvent*)pEvent)->GetWindow(), "VCLXAccessibleHeaderBarItem::WindowEventListener: no window!" ); - if ( !((VclWindowEvent*)pEvent)->GetWindow()->IsAccessibilityEventsSuppressed() || ( pEvent->GetId() == VCLEVENT_OBJECT_DYING ) ) - { - ProcessWindowEvent( *(VclWindowEvent*)pEvent ); - } - } - - return 0; -} - -// ----------------------------------------------------------------------------- - void VCLXAccessibleHeaderBarItem::ProcessWindowEvent( const VclWindowEvent& ) { } diff --git a/svtools/source/toolpanel/toolpaneldeck.cxx b/svtools/source/toolpanel/toolpaneldeck.cxx index 2653de04bc45..8564c1f457f9 100644 --- a/svtools/source/toolpanel/toolpaneldeck.cxx +++ b/svtools/source/toolpanel/toolpaneldeck.cxx @@ -73,7 +73,6 @@ namespace svt ,m_pDummyPanel( new DummyPanel ) ,m_pLayouter() ,m_bInDtor( false ) - ,m_pAccessibleParent( NULL ) { m_aPanels.AddListener( *this ); m_aPanelAnchor.Show(); @@ -118,9 +117,6 @@ namespace svt bool FocusActivePanel(); - void SetAccessibleParentWindow( Window* i_pAccessibleParent ); - Window* GetAccessibleParentWindow() const { return m_pAccessibleParent; } - protected: // IToolPanelDeckListener virtual void PanelInserted( const PToolPanel& i_pPanel, const size_t i_nPosition ); @@ -141,7 +137,6 @@ namespace svt PanelDeckListeners m_aListeners; PDeckLayouter m_pLayouter; bool m_bInDtor; - Window* m_pAccessibleParent; }; //-------------------------------------------------------------------- @@ -343,12 +338,6 @@ namespace svt // are dying, and we already sent this notification in our dtor. } - //-------------------------------------------------------------------- - void ToolPanelDeck_Impl::SetAccessibleParentWindow( Window* i_pAccessibleParent ) - { - m_pAccessibleParent = i_pAccessibleParent; - } - //==================================================================== //= ToolPanelDeck //==================================================================== @@ -516,15 +505,6 @@ namespace svt } //-------------------------------------------------------------------- - Window* ToolPanelDeck::GetAccessibleParentWindow() const - { - Window* pAccessibleParent( m_pImpl->GetAccessibleParentWindow() ); - if ( !pAccessibleParent ) - pAccessibleParent = Window::GetAccessibleParentWindow(); - return pAccessibleParent; - } - - //-------------------------------------------------------------------- Reference< XWindowPeer > ToolPanelDeck::GetComponentInterface( sal_Bool i_bCreate ) { Reference< XWindowPeer > xWindowPeer( Control::GetComponentInterface( sal_False ) ); |