From b2dffb1addc0285c6a00ad3efdbfafff734c260c Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Wed, 7 May 2014 21:01:47 +0200 Subject: fix crash on exit Change-Id: I31374684a09f1b056154efcaa5c7dfe73bcc1a61 --- sc/source/ui/inc/gridwin.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sc/source/ui/inc/gridwin.hxx') diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx index 63e930b28a8b..5170e2567b0d 100644 --- a/sc/source/ui/inc/gridwin.hxx +++ b/sc/source/ui/inc/gridwin.hxx @@ -32,6 +32,7 @@ #include #include #include +#include namespace editeng { struct MisspellRanges; @@ -129,6 +130,7 @@ class ScGridWindow : public Window, public DropTargetHelper, public DragSourceHe VisibleRange maVisibleRange; boost::scoped_ptr mpSpellCheckCxt; + boost::ptr_vector maChildWindows; ScViewData* pViewData; ScSplitPos eWhich; @@ -409,6 +411,11 @@ public: void UpdateShrinkOverlay(); void UpdateAllOverlays(); + /** + * Takes ownership of the window + */ + void AddChildWindow(Window* pChildWindow); + protected: // #114409# void ImpCreateOverlayObjects(); -- cgit