dbaccess/source/ui/querydesign/TableWindowTitle.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
New commits: commit c8a795c9a0cc542f008166109528d4257afe2851 Author: Michael Meeks <[email protected]> Date: Wed Oct 7 17:13:59 2015 +0100 tdf#94709 - protect TableWindowTitle Command execution. Change-Id: I202a154e18c1fbffc31abcc7ccd7f500b67a4c13 diff --git a/dbaccess/source/ui/querydesign/TableWindowTitle.cxx b/dbaccess/source/ui/querydesign/TableWindowTitle.cxx index c661ee0..9db6d52 100644 --- a/dbaccess/source/ui/querydesign/TableWindowTitle.cxx +++ b/dbaccess/source/ui/querydesign/TableWindowTitle.cxx @@ -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); } _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
