diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-12 15:40:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-16 08:22:30 +0200 |
commit | 3d44b720f58366398e7f59c00dba6339712a670f (patch) | |
tree | 452e2be1ea47d4ea5e903c05705ffb6e52ef8577 /include | |
parent | 73c29a2978f967d317235d524aad535a6bafbff0 (diff) |
loplugin:useuniqueptr in SfxItemPool_Impl
Change-Id: Ic3d695dd3ad4ee5ca6537f65d643d8736e3a5700
Reviewed-on: https://gerrit.libreoffice.org/52886
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/svl/itempool.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svl/itempool.hxx b/include/svl/itempool.hxx index f4f5d86f3a08..29f736f44ca1 100644 --- a/include/svl/itempool.hxx +++ b/include/svl/itempool.hxx @@ -77,7 +77,7 @@ private: public: // for default SfxItemSet::CTOR, set default WhichRanges - void FillItemIdRanges_Impl( sal_uInt16*& pWhichRanges ) const; + void FillItemIdRanges_Impl( std::unique_ptr<sal_uInt16[]>& pWhichRanges ) const; const sal_uInt16* GetFrozenIdRanges() const; protected: |