diff options
Diffstat (limited to 'sd/source/ui/inc/Window.hxx')
-rw-r--r-- | sd/source/ui/inc/Window.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sd/source/ui/inc/Window.hxx b/sd/source/ui/inc/Window.hxx index 718c17842a5b..bd83e2146491 100644 --- a/sd/source/ui/inc/Window.hxx +++ b/sd/source/ui/inc/Window.hxx @@ -45,7 +45,8 @@ class Window { public: Window (vcl::Window* pParent); - virtual ~Window(); + virtual ~Window (); + virtual void dispose() SAL_OVERRIDE; void SetViewShell (ViewShell* pViewSh); @@ -149,7 +150,7 @@ public: void DropScroll (const Point& rMousePos); virtual void KeyInput(const KeyEvent& rKEvt) SAL_OVERRIDE; protected: - ::sd::Window* mpShareWin; + VclPtr<::sd::Window> mpShareWin; Point maWinPos; Point maViewOrigin; Size maViewSize; |