vcl/inc/svimpbox.hxx | 1 - vcl/source/treelist/treelistbox.cxx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-)
New commits: commit eca8526607d8e5b883989adf480780661380b12e Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Thu Apr 16 08:11:53 2020 +0300 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Thu Apr 16 08:13:31 2020 +0200 Drop redundant member function SvImpLBox::GetCurrentEntry was identical to GetCurEntry Change-Id: I2ede6ecd8516a2a76fe504e30b5195f3950b340e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92294 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/vcl/inc/svimpbox.hxx b/vcl/inc/svimpbox.hxx index e62177571c74..df7d5724663f 100644 --- a/vcl/inc/svimpbox.hxx +++ b/vcl/inc/svimpbox.hxx @@ -272,7 +272,6 @@ public: void SetDragDropMode( DragDropMode eDDMode ); void SetSelectionMode( SelectionMode eSelMode ); - SvTreeListEntry* GetCurrentEntry() const { return m_pCursor; } virtual bool IsEntryInView( SvTreeListEntry* pEntry ) const; virtual SvTreeListEntry* GetEntry( const Point& rPos ) const; // returns last entry, if Pos below last entry diff --git a/vcl/source/treelist/treelistbox.cxx b/vcl/source/treelist/treelistbox.cxx index 22c67368c52d..9358fb830654 100644 --- a/vcl/source/treelist/treelistbox.cxx +++ b/vcl/source/treelist/treelistbox.cxx @@ -1945,7 +1945,7 @@ void SvTreeListBox::GetFocus() SvTreeListEntry* pEntry = FirstSelected(); if ( !pEntry ) { - pEntry = pImpl->GetCurrentEntry(); + pEntry = pImpl->GetCurEntry(); } if (pImpl->m_pCursor) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits