Kaydet (Commit) 46b32a02 authored tarafından Noel Grandin's avatar Noel Grandin

tdf#115998 base: crash on delete relationship

Change-Id: Ida8cc9ef0b812254990ac808f78ae183ae28a1c0
Reviewed-on: https://gerrit.libreoffice.org/50633Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 1b51bca4
......@@ -490,6 +490,7 @@ void OTableWindow::Remove()
{
// Delete the window
OJoinTableView* pTabWinCont = getTableView();
VclPtr<OTableWindow> aHoldSelf(this); // keep ourselves alive during the RemoveTabWin process
pTabWinCont->RemoveTabWin( this );
pTabWinCont->Invalidate();
}
......
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