summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-31 12:49:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-31 15:05:56 +0200
commitbbf326364ce757bee0db326ef2c41602a8a05a6c (patch)
treefcf4a0ad22607fd0e07c4facb042dfe0ce08ba0a /toolkit
parent4162339adbb81fc09e6ee405e8dc75bb2321c365 (diff)
loplugin:unusedmethods
Change-Id: Idca950f341a8a0521ea2fa3d705164fcf2481027 Reviewed-on: https://gerrit.libreoffice.org/52183 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/inc/helper/btndlg.hxx1
-rw-r--r--toolkit/source/helper/btndlg.cxx11
2 files changed, 0 insertions, 12 deletions
diff --git a/toolkit/inc/helper/btndlg.hxx b/toolkit/inc/helper/btndlg.hxx
index afc26c828357..affcfa1f87e2 100644
--- a/toolkit/inc/helper/btndlg.hxx
+++ b/toolkit/inc/helper/btndlg.hxx
@@ -80,7 +80,6 @@ private:
void ImplInitButtonDialogData();
VclPtr<PushButton> ImplCreatePushButton( ButtonDialogFlags nBtnFlags );
- ImplBtnDlgItem* ImplGetItem( sal_uInt16 nId ) const;
DECL_LINK( ImplClickHdl, Button* pBtn, void );
void ImplPosControls();
diff --git a/toolkit/source/helper/btndlg.cxx b/toolkit/source/helper/btndlg.cxx
index 4e3e89944308..6364dc48f888 100644
--- a/toolkit/source/helper/btndlg.cxx
+++ b/toolkit/source/helper/btndlg.cxx
@@ -92,17 +92,6 @@ VclPtr<PushButton> ButtonDialog::ImplCreatePushButton( ButtonDialogFlags nBtnFla
return pBtn;
}
-ImplBtnDlgItem* ButtonDialog::ImplGetItem( sal_uInt16 nId ) const
-{
- for (auto & it : m_ItemList)
- {
- if (it->mnId == nId)
- return &(*it);
- }
-
- return nullptr;
-}
-
long ButtonDialog::ImplGetButtonSize()
{
if ( !mbFormat )