diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-04-16 22:09:41 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-16 22:09:41 +0100 |
commit | a461467a3edc1452835447ff075fda7420aaf153 (patch) | |
tree | d56f03c08335a554b8b8573a89f7535ffda6633b /fpicker/source/office/OfficeFolderPicker.cxx | |
parent | 5252a1d81eb69d3de443d2988367359c9174e36d (diff) |
drawinglayer, editeng, forms, fpicker: convert new to ::Create.
Change-Id: I5144ac74a09a3ac5679abca89e7d87386f2484fd
Diffstat (limited to 'fpicker/source/office/OfficeFolderPicker.cxx')
-rw-r--r-- | fpicker/source/office/OfficeFolderPicker.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpicker/source/office/OfficeFolderPicker.cxx b/fpicker/source/office/OfficeFolderPicker.cxx index de062ac8e7cc..8f524856884c 100644 --- a/fpicker/source/office/OfficeFolderPicker.cxx +++ b/fpicker/source/office/OfficeFolderPicker.cxx @@ -69,9 +69,9 @@ void SAL_CALL SvtFolderPicker::startExecuteModal( const Reference< ::com::sun::s getDialog()->StartExecuteModal( LINK( this, SvtFolderPicker, DialogClosedHdl ) ); } -SvtFileDialog* SvtFolderPicker::implCreateDialog( vcl::Window* _pParent ) +VclPtr<SvtFileDialog> SvtFolderPicker::implCreateDialog( vcl::Window* _pParent ) { - return new SvtFileDialog( _pParent, SFXWB_PATHDIALOG ); + return VclPtr<SvtFileDialog>::Create( _pParent, SFXWB_PATHDIALOG ); } sal_Int16 SvtFolderPicker::implExecutePicker( ) |