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/gallery2/galbrws1.cxx | |
parent | 5df70781f3001d2f5be0343fc9daf04ab5c56719 (diff) |
svx: convert new to ::Create.
Change-Id: Idbcc64e883b79081c7a6399e1aed8a6b20035f69
Diffstat (limited to 'svx/source/gallery2/galbrws1.cxx')
-rw-r--r-- | svx/source/gallery2/galbrws1.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/gallery2/galbrws1.cxx b/svx/source/gallery2/galbrws1.cxx index 6d18452dfd39..78e12a5c5cbe 100644 --- a/svx/source/gallery2/galbrws1.cxx +++ b/svx/source/gallery2/galbrws1.cxx @@ -111,8 +111,8 @@ GalleryBrowser1::GalleryBrowser1( const ::boost::function<void(void)>& rThemeSlectionHandler) : Control ( pParent, WB_TABSTOP ), - maNewTheme ( new GalleryButton(this, WB_3DLOOK) ), - mpThemes ( new GalleryThemeListBox( this, WB_TABSTOP | WB_3DLOOK | WB_BORDER | WB_HSCROLL | WB_VSCROLL | WB_AUTOHSCROLL | WB_SORT ) ), + maNewTheme ( VclPtr<GalleryButton>::Create(this, WB_3DLOOK) ), + mpThemes ( VclPtr<GalleryThemeListBox>::Create( this, WB_TABSTOP | WB_3DLOOK | WB_BORDER | WB_HSCROLL | WB_VSCROLL | WB_AUTOHSCROLL | WB_SORT ) ), mpGallery ( pGallery ), mpExchangeData ( new ExchangeData ), mpThemePropsDlgItemSet( NULL ), |