diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-17 08:21:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-17 16:26:34 +0200 |
commit | e40e5726e0062b214f4198ad9156d606d830d4ee (patch) | |
tree | 44c3b61a20dd3c40caba68971b76026e0c1700f5 /vcl | |
parent | 4a31ceba3bf80d9e050cde3266d49e83df372a8a (diff) |
loplugin:unusedmethods
Change-Id: I31002cc322c43498ef8c37f6b7f94ae1a8278ba9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100857
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/svimpbox.hxx | 1 | ||||
-rw-r--r-- | vcl/source/treelist/svimpbox.cxx | 6 | ||||
-rw-r--r-- | vcl/source/treelist/treelist.cxx | 22 |
3 files changed, 0 insertions, 29 deletions
diff --git a/vcl/inc/svimpbox.hxx b/vcl/inc/svimpbox.hxx index 70173e25a1a7..34f2500b5ea2 100644 --- a/vcl/inc/svimpbox.hxx +++ b/vcl/inc/svimpbox.hxx @@ -301,7 +301,6 @@ public: void ShowCursor( bool bShow ); bool RequestHelp( const HelpEvent& rHEvt ); - void EndSelection(); bool IsNodeButton( const Point& rPosPixel, SvTreeListEntry* pEntry ) const; void SetUpdateMode( bool bMode ); bool GetUpdateMode() const { return m_bUpdateMode; } diff --git a/vcl/source/treelist/svimpbox.cxx b/vcl/source/treelist/svimpbox.cxx index 4dfe1a9205ef..a00b4fba94a6 100644 --- a/vcl/source/treelist/svimpbox.cxx +++ b/vcl/source/treelist/svimpbox.cxx @@ -3090,12 +3090,6 @@ SvLBoxTab* SvImpLBox::NextTab( SvLBoxTab const * pTab ) return nullptr; } -void SvImpLBox::EndSelection() -{ - DestroyAnchor(); - m_nFlags &= ~LBoxFlags::StartEditTimer; -} - void SvImpLBox::SetUpdateMode( bool bMode ) { if( m_bUpdateMode != bMode ) diff --git a/vcl/source/treelist/treelist.cxx b/vcl/source/treelist/treelist.cxx index a09ca22baef3..dc0d99009fda 100644 --- a/vcl/source/treelist/treelist.cxx +++ b/vcl/source/treelist/treelist.cxx @@ -1027,28 +1027,6 @@ SvTreeListEntry* SvTreeList::GetRootLevelParent( SvTreeListEntry* pEntry ) const return pCurParent; } -std::pair<SvTreeListEntries::iterator, SvTreeListEntries::iterator> - SvTreeList::GetChildIterators(SvTreeListEntry* pParent) -{ - typedef std::pair<SvTreeListEntries::iterator, SvTreeListEntries::iterator> IteratorPair; - - static SvTreeListEntries dummy; // prevent singular iterator asserts - IteratorPair aRet(dummy.begin(), dummy.end()); - - if (!pParent) - pParent = pRootItem.get(); - - if (pParent->m_Children.empty()) - // This entry has no children. - return aRet; - - aRet.first = pParent->m_Children.begin(); - aRet.second = pParent->m_Children.end(); - - return aRet; -} - - SvListView::SvListView() : m_pImpl(new Impl(*this)) { |