summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/Ruler.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/inc/Ruler.hxx')
-rw-r--r--sd/source/ui/inc/Ruler.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/ui/inc/Ruler.hxx b/sd/source/ui/inc/Ruler.hxx
index 64d214f77420..9186ebdf3f0e 100644
--- a/sd/source/ui/inc/Ruler.hxx
+++ b/sd/source/ui/inc/Ruler.hxx
@@ -41,6 +41,7 @@ public:
SfxBindings& rBindings,
WinBits nWinStyle);
virtual ~Ruler();
+ virtual void dispose() SAL_OVERRIDE;
void SetNullOffset(const Point& rOffset);
@@ -49,7 +50,7 @@ public:
using ::Ruler::SetNullOffset;
protected:
::sd::View* pSdView;
- ::sd::Window* pSdWin;
+ VclPtr<::sd::Window> pSdWin;
DrawViewShell* pDrViewShell;
RulerCtrlItem* pCtrlItem;
bool bHorz;