diff options
Diffstat (limited to 'starmath/inc/edit.hxx')
-rw-r--r-- | starmath/inc/edit.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/starmath/inc/edit.hxx b/starmath/inc/edit.hxx index dfb24e945c4f..17cea6de1857 100644 --- a/starmath/inc/edit.hxx +++ b/starmath/inc/edit.hxx @@ -55,9 +55,9 @@ class SmEditWindow : public vcl::Window, public DropTargetHelper SmCmdBoxWindow &rCmdBox; std::unique_ptr<EditView> pEditView; - std::unique_ptr<ScrollBar> pHScrollBar; - std::unique_ptr<ScrollBar> pVScrollBar; - std::unique_ptr<ScrollBarBox> pScrollBox; + VclPtr<ScrollBar> pHScrollBar, + pVScrollBar; + VclPtr<ScrollBarBox> pScrollBox; Idle aModifyIdle, aCursorMoveIdle; ESelection aOldSelection; @@ -92,6 +92,7 @@ class SmEditWindow : public vcl::Window, public DropTargetHelper public: SmEditWindow( SmCmdBoxWindow &rMyCmdBoxWin ); virtual ~SmEditWindow(); + virtual void dispose() SAL_OVERRIDE; SmDocShell * GetDoc(); SmViewShell * GetView(); |