diff options
Diffstat (limited to 'sfx2/source/inc/splitwin.hxx')
-rw-r--r-- | sfx2/source/inc/splitwin.hxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sfx2/source/inc/splitwin.hxx b/sfx2/source/inc/splitwin.hxx index 1a332e8e5e58..177bd769c70c 100644 --- a/sfx2/source/inc/splitwin.hxx +++ b/sfx2/source/inc/splitwin.hxx @@ -31,9 +31,9 @@ class SfxEmptySplitWin_Impl; struct SfxDock_Impl { sal_uInt16 nType; - SfxDockingWindow* pWin; // SplitWindow has this window - bool bNewLine; - bool bHide; // SplitWindow had this window + VclPtr<SfxDockingWindow> pWin; // SplitWindow has this window + bool bNewLine; + bool bHide; // SplitWindow had this window long nSize; }; @@ -49,8 +49,8 @@ private: SfxDockArr_Impl* pDockArr; bool bLocked; bool bPinned; - SfxEmptySplitWin_Impl* pEmptyWin; - SfxDockingWindow* pActive; + VclPtr<SfxEmptySplitWin_Impl> pEmptyWin; + VclPtr<SfxDockingWindow> pActive; void InsertWindow_Impl( SfxDock_Impl* pDockWin, const Size& rSize, @@ -79,6 +79,7 @@ public: WinBits nBits = WB_BORDER | WB_SIZEABLE | WB_3DLOOK ); virtual ~SfxSplitWindow(); + virtual void dispose() SAL_OVERRIDE; void ReleaseWindow_Impl(SfxDockingWindow *pWin, bool bSaveConfig=true); |