From 3d44b720f58366398e7f59c00dba6339712a670f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 12 Apr 2018 15:40:12 +0200 Subject: loplugin:useuniqueptr in SfxItemPool_Impl Change-Id: Ic3d695dd3ad4ee5ca6537f65d643d8736e3a5700 Reviewed-on: https://gerrit.libreoffice.org/52886 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/svl/itempool.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/svl') 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& pWhichRanges ) const; const sal_uInt16* GetFrozenIdRanges() const; protected: -- cgit