diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-17 15:51:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-18 13:12:55 +0100 |
commit | caa25f8e5f39e95fec1b32e352c841a6c0bf2fb3 (patch) | |
tree | 919330dcf1bbb2a6b28f3d99389f2067ce0a4b49 /include/filter/msfilter | |
parent | 8f4e9ea8705af4b6bdced8890410cd537363d18d (diff) |
pass SvxMSDffImportRec around using unique_ptr
Change-Id: Ib2a93682f6d2745489e07cf04e3509146213c7ee
Reviewed-on: https://gerrit.libreoffice.org/66571
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/filter/msfilter')
-rw-r--r-- | include/filter/msfilter/msdffimp.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/filter/msfilter/msdffimp.hxx b/include/filter/msfilter/msdffimp.hxx index 4ff14484e398..f27956c0d7ef 100644 --- a/include/filter/msfilter/msdffimp.hxx +++ b/include/filter/msfilter/msdffimp.hxx @@ -289,7 +289,7 @@ public: SvxMSDffImportData( SvxMSDffImportData const & ) = delete; // MSVC2015 workaround virtual ~SvxMSDffImportData() override; bool empty() const { return m_Records.empty(); } - void insert(SvxMSDffImportRec* pImpRec); + void insert(std::unique_ptr<SvxMSDffImportRec> pImpRec); void unmap(const SdrObject* pObj) { m_ObjToRecMap.erase(pObj); } size_t size() const { return m_Records.size(); } SvxMSDffImportRec* find(const SdrObject* pObj); |