From 731f08e5a84817dbc3c6be6e670025d51f39cd61 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 23 Feb 2021 10:50:35 +0000 Subject: reportdesigner focus out handler clobbering the preexisting handler MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit set by the databrowser, so chain one after the other Change-Id: I5aa16635031be425b9354e5a2d6b891a81d54e55 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111384 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- svtools/source/brwbox/ebbcontrols.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'svtools') diff --git a/svtools/source/brwbox/ebbcontrols.cxx b/svtools/source/brwbox/ebbcontrols.cxx index 35fb994daaea..ef783529e6a5 100644 --- a/svtools/source/brwbox/ebbcontrols.cxx +++ b/svtools/source/brwbox/ebbcontrols.cxx @@ -356,12 +356,13 @@ namespace svt IMPL_LINK_NOARG(ControlBase, FocusInHdl, weld::Widget&, void) { - return static_cast(GetParent())->GetParent()->ChildFocusIn(); + m_aFocusInHdl.Call(nullptr); + static_cast(GetParent())->GetParent()->ChildFocusIn(); } IMPL_LINK_NOARG(ControlBase, FocusOutHdl, weld::Widget&, void) { - return static_cast(GetParent())->GetParent()->ChildFocusOut(); + static_cast(GetParent())->GetParent()->ChildFocusOut(); } void EditControlBase::dispose() -- cgit