diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-18 08:25:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-18 10:27:47 +0100 |
commit | 574678cf92d50abf456ebbb56b9ea6cc5ca5ecf6 (patch) | |
tree | 98418aa4599b57e2fd3f3982e69680ea9a28596d /include | |
parent | 7f2d0dc559e24d861d72cf03a451b0aa4d275d91 (diff) |
use unique_ptr in FileOpenDialog_Impl
Change-Id: I530d26a489a130c9fdfa105b3891d21cbfeb3379
Reviewed-on: https://gerrit.libreoffice.org/65305
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/filedlghelper.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sfx2/filedlghelper.hxx b/include/sfx2/filedlghelper.hxx index 2a2374a0b728..2e2104eeb7fc 100644 --- a/include/sfx2/filedlghelper.hxx +++ b/include/sfx2/filedlghelper.hxx @@ -230,10 +230,10 @@ public: DECL_LINK( ExecuteSystemFilePicker, void*, void ); ErrCode Execute( std::vector<OUString>& rpURLList, - SfxItemSet *& rpSet, + std::unique_ptr<SfxItemSet>& rpSet, OUString& rFilter, const OUString& rDirPath ); - ErrCode Execute( SfxItemSet *& rpSet, + ErrCode Execute( std::unique_ptr<SfxItemSet>& rpSet, OUString& rFilter ); }; @@ -247,7 +247,7 @@ ErrCode FileOpenDialog_Impl( weld::Window* pParent, FileDialogFlags nFlags, std::vector<OUString>& rpURLList, OUString& rFilter, - SfxItemSet *& rpSet, + std::unique_ptr<SfxItemSet>& rpSet, const OUString* pPath, sal_Int16 nDialog, const OUString& rStandardDir, |