diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-14 16:20:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-16 12:09:05 +0200 |
commit | 13c78ceb25151b971e28f64d2ab931016eea7408 (patch) | |
tree | 1269857b73a80fb2336152d9f989feff52a9d7e3 /sw/inc | |
parent | 899fbd617b32771bc8c14effc52a7153465adf5d (diff) |
pass SfxMedium around by std::unique_ptr
Change-Id: Ibde7b68d9248f80d5304991390a80742265f37b3
Reviewed-on: https://gerrit.libreoffice.org/59031
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/view.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/view.hxx b/sw/inc/view.hxx index 7f8b78e674f4..c2543d6e463b 100644 --- a/sw/inc/view.hxx +++ b/sw/inc/view.hxx @@ -583,7 +583,7 @@ public: const OUString& rFilterName, sal_Int16 nVersion = 0 ); void ExecuteInsertDoc( SfxRequest& rRequest, const SfxPoolItem* pItem ); - long InsertMedium( sal_uInt16 nSlotId, SfxMedium* pMedium, sal_Int16 nVersion ); + long InsertMedium( sal_uInt16 nSlotId, std::unique_ptr<SfxMedium> pMedium, sal_Int16 nVersion ); DECL_LINK( DialogClosedHdl, sfx2::FileDialogHelper *, void ); // status methods for clipboard. |