summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-06-17 15:29:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-06-17 22:14:36 +0200
commitf170faf8d07edb548f70092c0a694ec48a8982e4 (patch)
treee357794768db5fd941863e78cd26957817548514
parent75704068032174bde83c995e445342faaa04b9c7 (diff)
don't highlight the row under the searched for point
Change-Id: I6f3bfdb25c335735a70bc78c5167e88d5dbb4ddb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96550 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--svx/source/gallery2/galbrws2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/gallery2/galbrws2.cxx b/svx/source/gallery2/galbrws2.cxx
index 7232929e6663..b1449a811d93 100644
--- a/svx/source/gallery2/galbrws2.cxx
+++ b/svx/source/gallery2/galbrws2.cxx
@@ -956,7 +956,7 @@ sal_uInt32 GalleryBrowser2::ImplGetSelectedItemId( const Point* pSelPos, Point&
std::unique_ptr<weld::TreeIter> xIter = mxListView->make_iterator();
if( pSelPos )
{
- if (mxListView->get_dest_row_at_pos(*pSelPos, xIter.get()))
+ if (mxListView->get_dest_row_at_pos(*pSelPos, xIter.get(), false))
nRet = mxListView->get_iter_index_in_parent(*xIter) + 1;
rSelPos = *pSelPos;
}