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/source/basicide/moduldl2.cxx | |
parent | set m_bLinkableSelected before calling handler (diff) | |
download | core-3525b4e098290af9953e4be571e242598fcc0a49.tar.gz core-3525b4e098290af9953e4be571e242598fcc0a49.zip |
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/source/basicide/moduldl2.cxx')
-rw-r--r-- | basctl/source/basicide/moduldl2.cxx | 18 |
1 files changed, 0 insertions, 18 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 ) { |