From 69c842a4f3cd274c62b0539eb2bcbd3c0cc8879c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 9 Oct 2013 11:59:58 +0100 Subject: update unusedcode list Change-Id: I201985753fc53f037807e7870c6786a442717d6e --- sfx2/source/dialog/taskpane.cxx | 14 -------------- sfx2/source/sidebar/Sidebar.cxx | 12 ------------ 2 files changed, 26 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/dialog/taskpane.cxx b/sfx2/source/dialog/taskpane.cxx index 98d7ca768007..42d9c3a1ed94 100644 --- a/sfx2/source/dialog/taskpane.cxx +++ b/sfx2/source/dialog/taskpane.cxx @@ -730,14 +730,6 @@ namespace sfx2 { } - //------------------------------------------------------------------------------------------------------------------ - ModuleTaskPane::ModuleTaskPane( Window& i_rParentWindow, const Reference< XFrame >& i_rDocumentFrame, - const IToolPanelCompare& i_rCompare ) - :Window( &i_rParentWindow, WB_DIALOGCONTROL ) - ,m_pImpl( new ModuleTaskPane_Impl( *this, i_rDocumentFrame, &i_rCompare ) ) - { - } - //------------------------------------------------------------------------------------------------------------------ ModuleTaskPane::~ModuleTaskPane() { @@ -781,12 +773,6 @@ namespace sfx2 return m_pImpl->GetPanelPos( i_rResourceURL ); } - //------------------------------------------------------------------------------------------------------------------ - OUString ModuleTaskPane::GetPanelResourceURL( const size_t i_nPanelPos ) const - { - return m_pImpl->GetPanelResourceURL( i_nPanelPos ); - } - //------------------------------------------------------------------------------------------------------------------ void ModuleTaskPane::SetDrawersLayout() { diff --git a/sfx2/source/sidebar/Sidebar.cxx b/sfx2/source/sidebar/Sidebar.cxx index dd7efec0550a..a7ef2ccfb805 100644 --- a/sfx2/source/sidebar/Sidebar.cxx +++ b/sfx2/source/sidebar/Sidebar.cxx @@ -47,18 +47,6 @@ void Sidebar::ShowPanel ( } } - - - -void Sidebar::ShowDeck ( - const ::rtl::OUString& rsDeckId, - const Reference& rxFrame) -{ - SidebarController* pController = SidebarController::GetSidebarControllerForFrame(rxFrame); - if (pController != NULL) - pController->RequestSwitchToDeck(rsDeckId); -} - } } // end of namespace sfx2::sidebar /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit