summaryrefslogtreecommitdiff
path: root/sc/source/ui/sidebar/CellLineStyleControl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/sidebar/CellLineStyleControl.hxx')
-rw-r--r--sc/source/ui/sidebar/CellLineStyleControl.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/sc/source/ui/sidebar/CellLineStyleControl.hxx b/sc/source/ui/sidebar/CellLineStyleControl.hxx
index a00079ac8dbd..3b772db89fd9 100644
--- a/sc/source/ui/sidebar/CellLineStyleControl.hxx
+++ b/sc/source/ui/sidebar/CellLineStyleControl.hxx
@@ -31,8 +31,8 @@ class CellLineStyleControl : public svx::sidebar::PopupControl
{
private:
CellAppearancePropertyPanel& mrCellAppearancePropertyPanel;
- PushButton maPushButtonMoreOptions;
- CellLineStyleValueSet maCellLineStyleValueSet;
+ VclPtr<PushButton> maPushButtonMoreOptions;
+ VclPtr<CellLineStyleValueSet> maCellLineStyleValueSet;
OUString maStr[CELL_LINE_STYLE_ENTRIES];
/// bitfield
@@ -46,18 +46,20 @@ private:
public:
CellLineStyleControl(vcl::Window* pParent, CellAppearancePropertyPanel& rPanel);
+ virtual ~CellLineStyleControl();
+ virtual void dispose() SAL_OVERRIDE;
void GetFocus() SAL_OVERRIDE;
void SetLineStyleSelect(sal_uInt16 out, sal_uInt16 in, sal_uInt16 dis);
ValueSet& GetValueSet()
{
- return maCellLineStyleValueSet;
+ return *maCellLineStyleValueSet.get();
}
Control& GetPushButton()
{
- return maPushButtonMoreOptions;
+ return *maPushButtonMoreOptions.get();
}
};