[Libreoffice-commits] core.git: svx/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed Jun 17 20:15:12 UTC 2020


 svx/source/gallery2/galbrws2.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f170faf8d07edb548f70092c0a694ec48a8982e4
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jun 17 15:29:14 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Jun 17 22:14:36 2020 +0200

    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 at redhat.com>

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;
         }


More information about the Libreoffice-commits mailing list