diff options
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 db06eb421c76..424bf708cdb0 100644 --- a/fpicker/source/office/OfficeFolderPicker.cxx +++ b/fpicker/source/office/OfficeFolderPicker.cxx @@ -68,9 +68,9 @@ void SAL_CALL SvtFolderPicker::startExecuteModal( const Reference< css::ui::dial }); } -std::unique_ptr<SvtFileDialog_Base> SvtFolderPicker::implCreateDialog( weld::Window* pParent ) +std::shared_ptr<SvtFileDialog_Base> SvtFolderPicker::implCreateDialog( weld::Window* pParent ) { - return std::make_unique<SvtFileDialog>(pParent, PickerFlags::PathDialog); + return std::make_shared<SvtFileDialog>(pParent, PickerFlags::PathDialog); } sal_Int16 SvtFolderPicker::implExecutePicker( ) |