summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-17 13:23:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-18 06:15:55 +0000
commit292560a957498bed70b625c992ec6bcf631dceb3 (patch)
tree4b4c39fbabf370d870ac9a5b2c6154df2238599a /basctl
parente64ea98801d20e5024da900a0ac8faaf565f4bf3 (diff)
loplugin:unusedmethods
Change-Id: Icf773925c37dde8b7404edac9864e7b10fe113b4 Reviewed-on: https://gerrit.libreoffice.org/29968 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/bastype2.cxx13
-rw-r--r--basctl/source/inc/bastype2.hxx2
2 files changed, 0 insertions, 15 deletions
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,23 +157,10 @@ 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<sal_uInt16>( 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 );
nMode = 0xFF; // everything
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;