diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-25 09:44:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-25 11:46:44 +0100 |
commit | 3525b4e098290af9953e4be571e242598fcc0a49 (patch) | |
tree | 7e5fd269be6226f9c743392b1127fa9a13347d22 /basctl | |
parent | 843ec02fcbc6e1dbc0fbac7e0ee90fd6177711e7 (diff) |
loplugin:unusedmethods
Change-Id: I085394e0f4b780dc5b376d5ac0e9d761434e3ead
Reviewed-on: https://gerrit.libreoffice.org/68301
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/moduldl2.cxx | 18 | ||||
-rw-r--r-- | basctl/source/basicide/moduldlg.hxx | 3 |
2 files changed, 0 insertions, 21 deletions
diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx index 2a5b729c2822..8ccae470425e 100644 --- a/basctl/source/basicide/moduldl2.cxx +++ b/basctl/source/basicide/moduldl2.cxx @@ -219,24 +219,6 @@ SvTreeListEntry* CheckBox::FindEntry( const OUString& rName ) return nullptr; } -void CheckBox::CheckEntryPos( sal_uLong nPos ) -{ - if ( nPos < GetEntryCount() ) - { - SvTreeListEntry* pEntry = GetEntry( nPos ); - - if ( GetCheckButtonState( pEntry ) != SvButtonState::Checked ) - SetCheckButtonState( pEntry, SvButtonState::Checked ); - } -} - -bool CheckBox::IsChecked( sal_uLong nPos ) const -{ - if ( nPos < GetEntryCount() ) - return GetCheckButtonState(GetEntry(nPos)) == SvButtonState::Checked; - return false; -} - void CheckBox::InitEntry(SvTreeListEntry* pEntry, const OUString& rTxt, const Image& rImg1, const Image& rImg2, SvLBoxButtonKind eButtonKind ) { diff --git a/basctl/source/basicide/moduldlg.hxx b/basctl/source/basicide/moduldlg.hxx index 9c72b87e1a21..7ea30df2ba00 100644 --- a/basctl/source/basicide/moduldlg.hxx +++ b/basctl/source/basicide/moduldlg.hxx @@ -123,9 +123,6 @@ public: SvTreeListEntry* DoInsertEntry( const OUString& rStr, sal_uLong nPos = LISTBOX_APPEND ); SvTreeListEntry* FindEntry( const OUString& rName ); - void CheckEntryPos( sal_uLong nPos ); - bool IsChecked( sal_uLong nPos ) const; - virtual void InitEntry(SvTreeListEntry*, const OUString&, const Image&, const Image&, SvLBoxButtonKind eButtonKind) override; virtual bool EditingEntry( SvTreeListEntry* pEntry, Selection& rSel ) override; virtual bool EditedEntry( SvTreeListEntry* pEntry, const OUString& rNewText ) override; |