summaryrefslogtreecommitdiff
path: root/sw/source/uibase/sidebar/PageOrientationControl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/sidebar/PageOrientationControl.hxx')
-rw-r--r--sw/source/uibase/sidebar/PageOrientationControl.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/sidebar/PageOrientationControl.hxx b/sw/source/uibase/sidebar/PageOrientationControl.hxx
index 15d7e785b2cc..2bf1f6773e72 100644
--- a/sw/source/uibase/sidebar/PageOrientationControl.hxx
+++ b/sw/source/uibase/sidebar/PageOrientationControl.hxx
@@ -38,9 +38,10 @@ public:
PagePropertyPanel& rPanel,
const bool bLandscape );
virtual ~PageOrientationControl();
+ virtual void dispose() SAL_OVERRIDE;
private:
- ::svx::sidebar::ValueSetWithTextControl* mpOrientationValueSet;
+ VclPtr<::svx::sidebar::ValueSetWithTextControl> mpOrientationValueSet;
bool mbLandscape;