From 292560a957498bed70b625c992ec6bcf631dceb3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 17 Oct 2016 13:23:23 +0200 Subject: loplugin:unusedmethods Change-Id: Icf773925c37dde8b7404edac9864e7b10fe113b4 Reviewed-on: https://gerrit.libreoffice.org/29968 Tested-by: Jenkins Reviewed-by: Noel Grandin --- basctl/source/basicide/bastype2.cxx | 13 ------------- basctl/source/inc/bastype2.hxx | 2 -- 2 files changed, 15 deletions(-) (limited to 'basctl') diff --git a/basctl/source/basicide/bastype2.cxx b/basctl/source/basicide/bastype2.cxx index af5ab344d9dc..7b836c86be48 100644 --- a/basctl/source/basicide/bastype2.cxx +++ b/basctl/source/basicide/bastype2.cxx @@ -157,22 +157,9 @@ EntryDescriptor::EntryDescriptor ( OSL_ENSURE( m_aDocument.isValid(), "EntryDescriptor::EntryDescriptor: invalid document!" ); } -// TreeListBox -TreeListBox::TreeListBox (vcl::Window* pParent, ResId const& rRes) - : SvTreeListBox( pParent, IDEResId( sal::static_int_cast( rRes.GetId() ) ) ) - , m_aNotifier( *this ) -{ - Init(); -} - TreeListBox::TreeListBox (vcl::Window* pParent, WinBits nStyle) : SvTreeListBox(pParent, nStyle) , m_aNotifier( *this ) -{ - Init(); -} - -void TreeListBox::Init() { SetNodeDefaultImages(); SetSelectionMode( SelectionMode::Single ); diff --git a/basctl/source/inc/bastype2.hxx b/basctl/source/inc/bastype2.hxx index e2892219a78c..60a8bd51715d 100644 --- a/basctl/source/inc/bastype2.hxx +++ b/basctl/source/inc/bastype2.hxx @@ -174,7 +174,6 @@ class TreeListBox : public SvTreeListBox, public DocumentEventListener private: sal_uInt16 nMode; DocumentEventNotifier m_aNotifier; - void Init(); void SetEntryBitmaps( SvTreeListEntry * pEntry, const Image& rImage ); virtual void MouseButtonDown( const MouseEvent& rMEvt ) override; @@ -204,7 +203,6 @@ protected: virtual void onDocumentModeChanged( const ScriptDocument& _rDocument ) override; public: - TreeListBox(vcl::Window* pParent, const ResId& rRes); TreeListBox(vcl::Window* pParent, WinBits nStyle); virtual ~TreeListBox() override; virtual void dispose() override; -- cgit