summaryrefslogtreecommitdiff
path: root/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/sidebar/AlignmentPropertyPanel.hxx')
-rw-r--r--sc/source/ui/sidebar/AlignmentPropertyPanel.hxx33
1 files changed, 17 insertions, 16 deletions
diff --git a/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx b/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx
index 050c79d48b63..dab38a72a3ef 100644
--- a/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx
+++ b/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx
@@ -39,7 +39,7 @@ class AlignmentPropertyPanel
public ::sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
{
public:
- static AlignmentPropertyPanel* Create(
+ static VclPtr<vcl::Window> Create(
vcl::Window* pParent,
const css::uno::Reference<css::frame::XFrame>& rxFrame,
SfxBindings* pBindings);
@@ -58,16 +58,24 @@ public:
SfxBindings* GetBindings() { return mpBindings;}
+ // constructor/destuctor
+ AlignmentPropertyPanel(
+ vcl::Window* pParent,
+ const css::uno::Reference<css::frame::XFrame>& rxFrame,
+ SfxBindings* pBindings);
+ virtual ~AlignmentPropertyPanel();
+ virtual void dispose() SAL_OVERRIDE;
+
private:
//ui controls
- FixedText* mpFTLeftIndent;
- MetricField* mpMFLeftIndent;
- CheckBox* mpCBXWrapText;
- CheckBox* mpCBXMergeCell;
- FixedText* mpFtRotate;
- svx::sidebar::SidebarDialControl* mpCtrlDial;
- MetricBox* mpMtrAngle;
- CheckBox* mpCbStacked;
+ VclPtr<FixedText> mpFTLeftIndent;
+ VclPtr<MetricField> mpMFLeftIndent;
+ VclPtr<CheckBox> mpCBXWrapText;
+ VclPtr<CheckBox> mpCBXMergeCell;
+ VclPtr<FixedText> mpFtRotate;
+ VclPtr<svx::sidebar::SidebarDialControl> mpCtrlDial;
+ VclPtr<MetricBox> mpMtrAngle;
+ VclPtr<CheckBox> mpCbStacked;
::sfx2::sidebar::ControllerItem maAlignHorControl;
::sfx2::sidebar::ControllerItem maLeftIndentControl;
@@ -90,13 +98,6 @@ private:
DECL_LINK( RotationHdl, void * );
DECL_LINK( ClickStackHdl, void * );
- // constructor/destuctor
- AlignmentPropertyPanel(
- vcl::Window* pParent,
- const css::uno::Reference<css::frame::XFrame>& rxFrame,
- SfxBindings* pBindings);
- virtual ~AlignmentPropertyPanel();
-
void Initialize();
void FormatDegrees(double& dTmp);
};