diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-17 13:14:20 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-17 13:16:52 +0200 |
commit | a3525585f10ff39b9aae14d7506e94cf77542c14 (patch) | |
tree | 2219d91c5da071598ab773f43216bf4febc955ce /sw/source/uibase/sidebar/PageSizeControl.cxx | |
parent | 0a497cb52a2ffecd94178eed296ba8ae7f526358 (diff) |
sw: convert new to ::Create.
Change-Id: I937aa67ee4a3b07bd180daaaa3c665245ea08b92
Diffstat (limited to 'sw/source/uibase/sidebar/PageSizeControl.cxx')
-rw-r--r-- | sw/source/uibase/sidebar/PageSizeControl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/sidebar/PageSizeControl.cxx b/sw/source/uibase/sidebar/PageSizeControl.cxx index 6eb4ea3501f2..bc9c0b9be335 100644 --- a/sw/source/uibase/sidebar/PageSizeControl.cxx +++ b/sw/source/uibase/sidebar/PageSizeControl.cxx @@ -43,8 +43,8 @@ PageSizeControl::PageSizeControl( const FieldUnit eFUnit ) : ::svx::sidebar::PopupControl( pParent, SW_RES(RID_POPUP_SWPAGE_SIZE) ) , mpSizeValueSet( new ::svx::sidebar::ValueSetWithTextControl( ::svx::sidebar::ValueSetWithTextControl::TEXT_TEXT, this, SW_RES(VS_SIZE) ) ) - , maMoreButton( new PushButton( this, SW_RES(CB_SIZE_MORE) ) ) - , maWidthHeightField( new MetricField( this, SW_RES(FLD_WIDTH_HEIGHT) ) ) + , maMoreButton( VclPtr<PushButton>::Create( this, SW_RES(CB_SIZE_MORE) ) ) + , maWidthHeightField( VclPtr<MetricField>::Create( this, SW_RES(FLD_WIDTH_HEIGHT) ) ) , mePaper( ePaper ) , maPaperList() , mrPagePropPanel(rPanel) |