diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-01-06 16:47:53 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-01-06 16:51:01 -0500 |
commit | 3e4cded92bb2e3648840460580228e7c5dc8d380 (patch) | |
tree | b984b88f143149eb4983d7e6f1674899097a2f99 /sc | |
parent | 753aaaa259a6b5a1b9ac4a270d4a38c7111714b9 (diff) |
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.
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/tabview5.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/view/tabview5.cxx b/sc/source/ui/view/tabview5.cxx index bd1a979e202f..9711f141b4da 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]; |