Kaydet (Commit) f7e8fe2a authored tarafından Michael Meeks's avatar Michael Meeks Kaydeden (comit) Caolán McNamara

tdf#94709 - protect TableWindowTitle Command execution.

Change-Id: I202a154e18c1fbffc31abcc7ccd7f500b67a4c13
Reviewed-on: https://gerrit.libreoffice.org/19233Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst bfd51e38
......@@ -110,7 +110,11 @@ void OTableWindowTitle::Command( const CommandEvent& rEvt )
{
GrabFocus();
if ( m_pTabWin )
m_pTabWin->Command( rEvt );
{
// tdf#94709 - protect shutdown code-path.
VclPtr<OTableWindow> xTabWin(m_pTabWin);
xTabWin->Command( rEvt );
}
else
Control::Command(rEvt);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment