summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-01 17:11:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-09-02 13:52:07 +0200
commit87e33c3c1c481ee38d03f66412374cd9bd2d76cb (patch)
tree0df38a0e381c5284dc7963ab135108d09ee49658 /vcl/source
parent3ee5c24a03516892dfc58b4fe1211b21562b6cec (diff)
drop some unused methods
Change-Id: I4da391591d30db9e51c1dd543bcf128f2e8621c3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101914 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/app/salvtables.cxx9
-rw-r--r--vcl/source/control/imivctl.hxx1
-rw-r--r--vcl/source/control/imivctl1.cxx17
3 files changed, 0 insertions, 27 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index a152131338b3..4859706e0ffe 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -4363,15 +4363,6 @@ public:
return rVclIter.iter != nullptr;
}
- virtual bool iter_next_visible(weld::TreeIter& rIter) const override
- {
- SalInstanceTreeIter& rVclIter = static_cast<SalInstanceTreeIter&>(rIter);
- rVclIter.iter = m_xTreeView->NextVisible(rVclIter.iter);
- if (rVclIter.iter && IsDummyEntry(rVclIter.iter))
- return iter_next_visible(rVclIter);
- return rVclIter.iter != nullptr;
- }
-
virtual bool iter_children(weld::TreeIter& rIter) const override
{
SalInstanceTreeIter& rVclIter = static_cast<SalInstanceTreeIter&>(rIter);
diff --git a/vcl/source/control/imivctl.hxx b/vcl/source/control/imivctl.hxx
index 5dfa9c06946e..5c23cee3c0d1 100644
--- a/vcl/source/control/imivctl.hxx
+++ b/vcl/source/control/imivctl.hxx
@@ -110,7 +110,6 @@ class SvxIconChoiceCtrl_Impl
friend class IcnCursor_Impl;
friend class IcnGridMap_Impl;
- bool bChooseWithCursor;
std::vector< std::unique_ptr<SvxIconChoiceCtrlEntry> > maEntries;
VclPtr<ScrollBar> aVerSBar;
VclPtr<ScrollBar> aHorSBar;
diff --git a/vcl/source/control/imivctl1.cxx b/vcl/source/control/imivctl1.cxx
index 14dd3e302c1e..4410d7241378 100644
--- a/vcl/source/control/imivctl1.cxx
+++ b/vcl/source/control/imivctl1.cxx
@@ -53,7 +53,6 @@ SvxIconChoiceCtrl_Impl::SvxIconChoiceCtrl_Impl(
SvtIconChoiceCtrl* pCurView,
WinBits nWinStyle
) :
- bChooseWithCursor(false),
aVerSBar( VclPtr<ScrollBar>::Create(pCurView, WB_DRAG | WB_VSCROLL) ),
aHorSBar( VclPtr<ScrollBar>::Create(pCurView, WB_DRAG | WB_HSCROLL) ),
aScrBarBox( VclPtr<ScrollBarBox>::Create(pCurView) ),
@@ -904,14 +903,6 @@ bool SvxIconChoiceCtrl_Impl::KeyInput( const KeyEvent& rKEvt )
MakeVisible( aRect );
}
}
-
- if ( bChooseWithCursor && pNewCursor != nullptr )
- {
- pHdlEntry = pNewCursor;//GetCurEntry();
- pCurHighlightFrame = pHdlEntry;
- pView->ClickIcon();
- pCurHighlightFrame = nullptr;
- }
}
break;
@@ -924,14 +915,6 @@ bool SvxIconChoiceCtrl_Impl::KeyInput( const KeyEvent& rKEvt )
else
pNewCursor=pImpCursor->GoPageUpDown( pCursor,true );
SetCursor_Impl( pOldCursor, pNewCursor, bMod1, bShift );
-
- if ( bChooseWithCursor && pNewCursor != nullptr)
- {
- pHdlEntry = pNewCursor;//GetCurEntry();
- pCurHighlightFrame = pHdlEntry;
- pView->ClickIcon();
- pCurHighlightFrame = nullptr;
- }
}
break;