summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-05-26 16:37:48 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-05-26 20:23:34 +0200
commitef9ac1b9874ccd1f1df16e9eeb53f9453311337e (patch)
treeb65ffd0f849c9a22bba887ab9f62c40c3c86f3bf /sfx2
parent7bd3f4a0724b11c18d45937078e8c2968e2b6d7f (diff)
make highlight of get_dest_row_at_pos optional
Change-Id: I280e1a49e938f45402f373896669fd6f7e8a66fc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94876 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/templdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 18be2cd2e1c6..c32c4f9e639b 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -336,7 +336,7 @@ void SfxCommonTemplateDialog_Impl::PrepareMenu(const Point& rPos)
{
weld::TreeView* pTreeView = mxTreeBox->get_visible() ? mxTreeBox.get() : mxFmtLb.get();
std::unique_ptr<weld::TreeIter> xIter(pTreeView->make_iterator());
- if (pTreeView->get_dest_row_at_pos(rPos, xIter.get()) && !pTreeView->is_selected(*xIter))
+ if (pTreeView->get_dest_row_at_pos(rPos, xIter.get(), false) && !pTreeView->is_selected(*xIter))
{
pTreeView->unselect_all();
pTreeView->select(*xIter);