sc/source/ui/view/tabview5.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 47dd76d42be8de592597a5206bd2e5c7b54a7536
Author: Kohei Yoshida <kohei.yosh...@suse.com>
Date:   Fri Jan 6 16:47:53 2012 -0500

    Fixed a crash-on-exit, when the validation message is up when closing.
    
    Delete the hint window instnce before the grid windows get deleted,
    since the hint window is now a child window of one of the grid
    window instances.

diff --git a/sc/source/ui/view/tabview5.cxx b/sc/source/ui/view/tabview5.cxx
index bd1a979..9711f14 100644
--- a/sc/source/ui/view/tabview5.cxx
+++ b/sc/source/ui/view/tabview5.cxx
@@ -185,6 +185,8 @@ ScTabView::~ScTabView()
 
     delete pSelEngine;
 
+    // Delete this before the grid windows, since its a child window of one of 
them.
+    mpInputHintWindow.reset();
     for (i=0; i<4; i++)
         delete pGridWin[i];
 
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to