summaryrefslogtreecommitdiff
path: root/include/svx/colrctrl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/colrctrl.hxx')
-rw-r--r--include/svx/colrctrl.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/svx/colrctrl.hxx b/include/svx/colrctrl.hxx
index 0987da9dea53..04e67f1f0a9f 100644
--- a/include/svx/colrctrl.hxx
+++ b/include/svx/colrctrl.hxx
@@ -26,6 +26,7 @@
#include <svl/lstner.hxx>
#include <svx/svxdllapi.h>
#include <svx/xtable.hxx>
+#include <vcl/vclptr.hxx>
class SvData;
@@ -75,7 +76,7 @@ friend class SvxColorChildWindow;
private:
XColorListRef pColorList;
- SvxColorValueSet_docking aColorSet;
+ VclPtr<SvxColorValueSet_docking> aColorSet;
sal_uInt16 nLeftSlot;
sal_uInt16 nRightSlot;
sal_uInt16 nCols;
@@ -103,6 +104,7 @@ public:
SfxChildWindow *pCW,
vcl::Window* pParent);
virtual ~SvxColorDockingWindow();
+ virtual void dispose() SAL_OVERRIDE;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE;