[Libreoffice-commits] .: Branch 'libreoffice-3-5' - sc/source

Kohei Yoshida kohei at kemper.freedesktop.org
Fri Jan 6 13:51:01 PST 2012


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

New commits:
commit 3e4cded92bb2e3648840460580228e7c5dc8d380
Author: Kohei Yoshida <kohei.yoshida at 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];
 


More information about the Libreoffice-commits mailing list