summaryrefslogtreecommitdiff
path: root/sw/source/uibase/sidebar/PageSizeControl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/sidebar/PageSizeControl.hxx')
-rw-r--r--sw/source/uibase/sidebar/PageSizeControl.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/source/uibase/sidebar/PageSizeControl.hxx b/sw/source/uibase/sidebar/PageSizeControl.hxx
index bd3e9f0ca1b8..91f63cea737f 100644
--- a/sw/source/uibase/sidebar/PageSizeControl.hxx
+++ b/sw/source/uibase/sidebar/PageSizeControl.hxx
@@ -48,12 +48,13 @@ public:
const bool bLandscape,
const FieldUnit eFUnit );
virtual ~PageSizeControl();
+ virtual void dispose() SAL_OVERRIDE;
private:
- ::svx::sidebar::ValueSetWithTextControl* mpSizeValueSet;
- PushButton maMoreButton;
+ VclPtr<::svx::sidebar::ValueSetWithTextControl> mpSizeValueSet;
+ VclPtr<PushButton> maMoreButton;
// hidden metric field
- MetricField maWidthHeightField;
+ VclPtr<MetricField> maWidthHeightField;
Paper mePaper;
::std::vector< Paper > maPaperList;