summaryrefslogtreecommitdiff
path: root/svl/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-12 15:40:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-16 08:22:30 +0200
commit3d44b720f58366398e7f59c00dba6339712a670f (patch)
tree452e2be1ea47d4ea5e903c05705ffb6e52ef8577 /svl/qa
parent73c29a2978f967d317235d524aad535a6bafbff0 (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 'svl/qa')
-rw-r--r--svl/qa/unit/items/test_itempool.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/qa/unit/items/test_itempool.cxx b/svl/qa/unit/items/test_itempool.cxx
index a3132be80b0a..cde5dee62f2c 100644
--- a/svl/qa/unit/items/test_itempool.cxx
+++ b/svl/qa/unit/items/test_itempool.cxx
@@ -80,7 +80,7 @@ void PoolItemTest::testPool()
}
// Test rehash
- for (SfxPoolItemArray_Impl *pSlice : pImpl->maPoolItems)
+ for (auto & pSlice : pImpl->maPoolItems)
{
if (pSlice)
pSlice->ReHash();