diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-17 16:55:41 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-17 17:05:46 +0200 |
commit | cb516fafbb2a6217d9c41030217cb024ff18272e (patch) | |
tree | aba24db02557760d36d748a5352b13efd85655ae /svx/source/sidebar/text/TextCharacterSpacingControl.cxx | |
parent | 5df70781f3001d2f5be0343fc9daf04ab5c56719 (diff) |
svx: convert new to ::Create.
Change-Id: Idbcc64e883b79081c7a6399e1aed8a6b20035f69
Diffstat (limited to 'svx/source/sidebar/text/TextCharacterSpacingControl.cxx')
-rw-r--r-- | svx/source/sidebar/text/TextCharacterSpacingControl.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/sidebar/text/TextCharacterSpacingControl.cxx b/svx/source/sidebar/text/TextCharacterSpacingControl.cxx index 8ec03f6726d8..bd1489431c3c 100644 --- a/svx/source/sidebar/text/TextCharacterSpacingControl.cxx +++ b/svx/source/sidebar/text/TextCharacterSpacingControl.cxx @@ -36,13 +36,13 @@ TextCharacterSpacingControl::TextCharacterSpacingControl ( : PopupControl( pParent,SVX_RES(RID_POPUPPANEL_TEXTPAGE_SPACING)) , mrTextPropertyPanel(rPanel) , mpBindings(pBindings) -, maVSSpacing (new ValueSetWithTextControl(ValueSetWithTextControl::IMAGE_TEXT,this, SVX_RES(VS_SPACING))) -, maLastCus (new FixedText(this, SVX_RES(FT_LASTCUSTOM))) +, maVSSpacing (VclPtr<ValueSetWithTextControl>::Create(ValueSetWithTextControl::IMAGE_TEXT,this, SVX_RES(VS_SPACING))) +, maLastCus (VclPtr<FixedText>::Create(this, SVX_RES(FT_LASTCUSTOM))) //, maBorder (this, SVX_RES(CT_BORDER)) -, maFTSpacing (new FixedText(this, SVX_RES(FT_SPACING))) -, maLBKerning (new ListBox(this, SVX_RES(LB_KERNING))) -, maFTBy (new FixedText(this, SVX_RES(FT_BY))) -, maEditKerning (new MetricField(this, SVX_RES(ED_KERNING))) +, maFTSpacing (VclPtr<FixedText>::Create(this, SVX_RES(FT_SPACING))) +, maLBKerning (VclPtr<ListBox>::Create(this, SVX_RES(LB_KERNING))) +, maFTBy (VclPtr<FixedText>::Create(this, SVX_RES(FT_BY))) +, maEditKerning (VclPtr<MetricField>::Create(this, SVX_RES(ED_KERNING))) , mpImg (NULL) , mpImgSel (NULL) |