diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-28 16:05:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-05-29 11:51:17 +0200 |
commit | 652e2136984a5b023b5551914cb9786a0d8f1540 (patch) | |
tree | 35c97066b96e5ba9277e4df34e162d699d9fc1a5 /cui/source/customize/SvxToolbarConfigPage.cxx | |
parent | 7f8f7e7284e29cc0e8a0f282761abea428d0eb33 (diff) |
change TreeView toggle signal to provide an iter instead of a row index
Change-Id: Ib611780816d170daa40f394b9798640ff6284d68
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95056
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/customize/SvxToolbarConfigPage.cxx')
-rw-r--r-- | cui/source/customize/SvxToolbarConfigPage.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/customize/SvxToolbarConfigPage.cxx b/cui/source/customize/SvxToolbarConfigPage.cxx index 7bc2115b36fa..5efa3283498b 100644 --- a/cui/source/customize/SvxToolbarConfigPage.cxx +++ b/cui/source/customize/SvxToolbarConfigPage.cxx @@ -865,9 +865,9 @@ void SvxToolbarEntriesListBox::ChangedVisibility(int nRow) } } -IMPL_LINK(SvxToolbarEntriesListBox, CheckButtonHdl, const row_col&, rRowCol, void) +IMPL_LINK(SvxToolbarEntriesListBox, CheckButtonHdl, const weld::TreeView::iter_col&, rRowCol, void) { - ChangedVisibility(rRowCol.first); + ChangedVisibility(m_xControl->get_iter_index_in_parent(rRowCol.first)); } IMPL_LINK(SvxToolbarEntriesListBox, KeyInputHdl, const KeyEvent&, rKeyEvent, bool) |