diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-03-05 12:42:44 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-03-05 21:24:34 +0100 |
commit | 180606c1debaec3d36426c1c7f37e69637142048 (patch) | |
tree | 76046d90eb4502e8580cd494bebeb7307adb7576 /sw | |
parent | 8be34ca25e966f32d99dca8df9177cebea180225 (diff) |
rename SwContentTree FocusHdl to match SwGlobalTree equivalent
Change-Id: I5f06d857c04f5378df45e149d779466584fc0ce3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112016
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/inc/conttree.hxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/utlui/content.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/inc/conttree.hxx b/sw/source/uibase/inc/conttree.hxx index 478d9da699e9..24488a8c713b 100644 --- a/sw/source/uibase/inc/conttree.hxx +++ b/sw/source/uibase/inc/conttree.hxx @@ -173,7 +173,7 @@ class SwContentTree final : public SfxListener DECL_LINK(CollapseHdl, const weld::TreeIter&, bool); DECL_LINK(ContentDoubleClickHdl, weld::TreeView&, bool); DECL_LINK(SelectHdl, weld::TreeView&, void); - DECL_LINK(FocusHdl, weld::Widget&, void); + DECL_LINK(FocusInHdl, weld::Widget&, void); DECL_LINK(KeyInputHdl, const KeyEvent&, bool); DECL_LINK(CommandHdl, const CommandEvent&, bool); DECL_LINK(QueryTooltipHdl, const weld::TreeIter&, OUString); @@ -252,7 +252,7 @@ public: void grab_focus() { m_xTreeView->grab_focus(); - FocusHdl(*m_xTreeView); + FocusInHdl(*m_xTreeView); } OUString get_selected_text() const diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index 885d63da164e..605831d3b360 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx @@ -930,7 +930,7 @@ SwContentTree::SwContentTree(std::unique_ptr<weld::TreeView> xTreeView, SwNaviga m_xTreeView->connect_collapsing(LINK(this, SwContentTree, CollapseHdl)); m_xTreeView->connect_row_activated(LINK(this, SwContentTree, ContentDoubleClickHdl)); m_xTreeView->connect_changed(LINK(this, SwContentTree, SelectHdl)); - m_xTreeView->connect_focus_in(LINK(this, SwContentTree, FocusHdl)); + m_xTreeView->connect_focus_in(LINK(this, SwContentTree, FocusInHdl)); m_xTreeView->connect_key_press(LINK(this, SwContentTree, KeyInputHdl)); m_xTreeView->connect_popup_menu(LINK(this, SwContentTree, CommandHdl)); m_xTreeView->connect_query_tooltip(LINK(this, SwContentTree, QueryTooltipHdl)); @@ -3496,7 +3496,7 @@ void SwContentTree::MoveOutline(SwOutlineNodes::size_type nTargetPos) } // Update immediately -IMPL_LINK_NOARG(SwContentTree, FocusHdl, weld::Widget&, void) +IMPL_LINK_NOARG(SwContentTree, FocusInHdl, weld::Widget&, void) { SwView* pActView = GetParentWindow()->GetCreateView(); if(pActView) |