diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-24 15:51:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-25 09:19:59 +0200 |
commit | a8520074425cd0b05ea54af4e189caafca634655 (patch) | |
tree | 8360b25d613a133b73c47194f3a5cecdbaa8c38d /sfx2 | |
parent | d90ec5d26f1e9ff6afe7544cff8413d105d4d439 (diff) |
loplugin:unusedmethods
Change-Id: I1f9ac5f8a090f365d9a21486029e1c13d721a4a4
Reviewed-on: https://gerrit.libreoffice.org/62338
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/tabdlg.cxx | 5 | ||||
-rw-r--r-- | sfx2/source/sidebar/FocusManager.cxx | 10 |
2 files changed, 0 insertions, 15 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index ae9a9cbfd0da..72fd6089f4d2 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -643,11 +643,6 @@ void SfxTabDialog::Start_Impl() ActivatePageHdl( m_pTabCtrl ); } -void SfxTabDialog::AddTabPage( sal_uInt16 nId, const OUString &rRiderText ) -{ - AddTabPage( nId, rRiderText, nullptr ); -} - /* Adds a page to the dialog. The Name must correspond to a entry in the TabControl in the dialog .ui diff --git a/sfx2/source/sidebar/FocusManager.cxx b/sfx2/source/sidebar/FocusManager.cxx index 85a9a7741630..a95b4405ffd0 100644 --- a/sfx2/source/sidebar/FocusManager.cxx +++ b/sfx2/source/sidebar/FocusManager.cxx @@ -63,16 +63,6 @@ void FocusManager::GrabFocusPanel() FocusPanel(0, false); } -void FocusManager::GrabFocusButton(const sal_Int32 nIndex) -{ - if (static_cast<size_t>(nIndex) >= maButtons.size()) - { - SAL_WARN("sfx.sidebar", "invalid focus index, probably during teardown"); - return; - } - FocusButton(nIndex); -} - void FocusManager::Clear() { SetDeckTitle(nullptr); |