From 6c0f5f7f2a6cc122a738deb0a17353cca1cd5c7e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 25 Mar 2019 15:55:37 +0200 Subject: loplugin:unusedmethods Change-Id: I8bbf439d69a330a9ad28ff52cc49a9fec2c12500 Reviewed-on: https://gerrit.libreoffice.org/69684 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sfx2/source/dialog/basedlgs.cxx | 13 ------------- sfx2/source/dialog/tabdlg.cxx | 18 ------------------ 2 files changed, 31 deletions(-) (limited to 'sfx2/source') diff --git a/sfx2/source/dialog/basedlgs.cxx b/sfx2/source/dialog/basedlgs.cxx index b7174b1ff76d..ce416ad935e4 100644 --- a/sfx2/source/dialog/basedlgs.cxx +++ b/sfx2/source/dialog/basedlgs.cxx @@ -506,19 +506,6 @@ void SfxModelessDialogController::Close() SfxCallMode::RECORD|SfxCallMode::SYNCHRON, { &aValue } ); } -/* [Description] - - Fills a SfxChildWinInfo with specific data from SfxModelessDialog, - so that it can be written in the INI file. It is assumed that rinfo - receives all other possible relevant data in the ChildWindow class. - ModelessDialogs have no specific information, so that the base - implementation does nothing and therefore must not be called. -*/ -void SfxModelessDialogController::FillInfo(SfxChildWinInfo& rInfo) const -{ - rInfo.aSize = m_xDialog->get_size(); -} - bool SfxFloatingWindow::EventNotify( NotifyEvent& rEvt ) /* [Description] diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index 4fcc3cc25653..c73265b406d5 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -564,18 +564,6 @@ bool SfxTabDialog::StartExecuteAsync( VclAbstractDialog::AsyncContext &rCtx ) return TabDialog::StartExecuteAsync( rCtx ); } -void SfxTabDialog::Start() -{ - m_pImpl->bModal = false; - Start_Impl(); - - Show(); - - if ( IsVisible() && ( !HasChildPathFocus() || HasFocus() ) ) - GrabFocusToFirstControl(); -} - - void SfxTabDialog::Start_Impl() { assert(m_pImpl->aData.size() == m_pTabCtrl->GetPageCount() @@ -685,12 +673,6 @@ void SfxTabDialog::RemoveTabPage( sal_uInt16 nId ) } } -void SfxTabDialog::RemoveTabPage(const OString &rName) -{ - RemoveTabPage(m_pTabCtrl->GetPageId(rName)); -} - - void SfxTabDialog::PageCreated /* [Description] -- cgit