From d1069a583dc1bcf4f1cf9b4bed12cb48bc757951 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 27 Jun 2020 16:47:49 +0100 Subject: cid#1401342 Uncaught exception MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ia22ed8541f1148355d71cd5b90ad13e64c1b50c2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97289 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- fpicker/source/office/OfficeFilePicker.cxx | 3 ++- fpicker/source/office/OfficeFolderPicker.cxx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'fpicker/source') diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx index d849326119f4..2c813d64c013 100644 --- a/fpicker/source/office/OfficeFilePicker.cxx +++ b/fpicker/source/office/OfficeFilePicker.cxx @@ -35,6 +35,7 @@ #include #include #include +#include #include using namespace ::com::sun::star::container; @@ -435,7 +436,7 @@ std::shared_ptr SvtFilePicker::implCreateDialog( weld::Windo { PickerFlags nBits = getPickerFlags(); - auto dialog = std::make_shared(pParent, nBits); + auto dialog = o3tl::make_shared(pParent, nBits); // Set StandardDir if present if ( !m_aStandardDir.isEmpty()) diff --git a/fpicker/source/office/OfficeFolderPicker.cxx b/fpicker/source/office/OfficeFolderPicker.cxx index 424bf708cdb0..8413020df96f 100644 --- a/fpicker/source/office/OfficeFolderPicker.cxx +++ b/fpicker/source/office/OfficeFolderPicker.cxx @@ -24,6 +24,7 @@ #include #include #include +#include #include using namespace ::com::sun::star::container; @@ -70,7 +71,7 @@ void SAL_CALL SvtFolderPicker::startExecuteModal( const Reference< css::ui::dial std::shared_ptr SvtFolderPicker::implCreateDialog( weld::Window* pParent ) { - return std::make_shared(pParent, PickerFlags::PathDialog); + return o3tl::make_shared(pParent, PickerFlags::PathDialog); } sal_Int16 SvtFolderPicker::implExecutePicker( ) -- cgit