diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-01 10:29:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-01 15:00:16 +0200 |
commit | 5021a10f75870e7fa8f34e58512fd7c027debc68 (patch) | |
tree | 0c1d2e4d67a564ed09f206e79259ee41b500def4 /sfx2/source/dialog/filedlgimpl.hxx | |
parent | 5c23560ba39fe17c75cafe3d495af743238e4d67 (diff) |
sfx2::FileDialogHelper allocate SfxItemSet on stack
and pass around the explicit sub-type, instead of doing static_cast in
various places
Change-Id: I28ba8fd6f5c9e2a1ffbf5ec091bcf0ebdd1d18b1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118210
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/dialog/filedlgimpl.hxx')
-rw-r--r-- | sfx2/source/dialog/filedlgimpl.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/filedlgimpl.hxx b/sfx2/source/dialog/filedlgimpl.hxx index e5e02e209748..f8a75f049f76 100644 --- a/sfx2/source/dialog/filedlgimpl.hxx +++ b/sfx2/source/dialog/filedlgimpl.hxx @@ -176,7 +176,7 @@ namespace sfx2 virtual ~FileDialogHelper_Impl() override; ErrCode execute( std::vector<OUString>& rpURLList, - std::unique_ptr<SfxItemSet>& rpSet, + std::optional<SfxAllItemSet>& rpSet, OUString& rFilter ); ErrCode execute(); |