diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-01 10:45:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-01 22:13:37 +0200 |
commit | 6a9e01ed889e92772e32ad5255fc60bd6dd7ee2a (patch) | |
tree | 38d43a98679a42071cb2c444d557caef99dd14c9 /svtools | |
parent | e772c8e86dcdb7c5b80b04d57b454158909ffe61 (diff) |
tdf#136319 do logging before calling handler which might destroy the valueset
though doing this logging always when ~100% of the time there is noone
listening seems wasteful
Change-Id: Ib18462b70136ac52a4b9340a3a0890b4f97a4593
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101839
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/valueset.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx index 9fb267e7b6cf..280d8eaff848 100644 --- a/svtools/source/control/valueset.cxx +++ b/svtools/source/control/valueset.cxx @@ -165,8 +165,8 @@ void ValueSet::ImplDeleteItems() void ValueSet::Select() { - maSelectHdl.Call( this ); collectUIInformation(OStringToOUString(GetDrawingArea()->get_buildable_name(),RTL_TEXTENCODING_UTF8) , OStringToOUString(GetDrawingArea()->get_help_id(),RTL_TEXTENCODING_UTF8) , OUString::number(GetSelectedItemId())); + maSelectHdl.Call( this ); } void ValueSet::UserDraw( const UserDrawEvent& ) |