| commit | e8b16dad8a54e1d213fae59e9fdc557c478aa0ef | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Tue Nov 30 16:38:43 2021 +0000 |
| committer | Caolán McNamara <caolanm@redhat.com> | Wed Dec 01 11:54:53 2021 +0100 |
| tree | b1096dae3daa0a650a1043a4458e7e21606c075d | |
| parent | 360e50fbc8bf55a52a0b9cee424ca5c6c5996e16 [diff] |
tdf#145952 don't crash with LO_COLLECT_UIINFO set in autofilter Change-Id: I27c474c522554c825c0296cdf711d481d22fd024 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126129 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/vcl/source/uitest/logger.cxx b/vcl/source/uitest/logger.cxx index 9b67194..4eef2ee 100644 --- a/vcl/source/uitest/logger.cxx +++ b/vcl/source/uitest/logger.cxx
@@ -251,12 +251,12 @@ void UITestLogger::logKeyInput(VclPtr<vcl::Window> const& xUIElement, const KeyE VclPtr<vcl::Window> pParent = xUIElement->GetParent(); while (!pParent->IsTopWindow()) while (pParent && !pParent->IsTopWindow()) { pParent = pParent->GetParent(); } OUString aParentID = pParent->get_id(); OUString aParentID = pParent ? pParent->get_id() : OUString(); OUString aContent;