diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-10 14:54:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-11 14:50:11 +0100 |
commit | ccf986a77a4b218964033e70601ae220eb2c9b13 (patch) | |
tree | 08dc4cfd477a6723e8e389046fef9af67ca753a9 /svl/source/items/itemiter.cxx | |
parent | 9d6b6fc96718389d7bf5f84a9e00fc5bb275c265 (diff) |
loplugin:useuniqueptr in svl
Change-Id: I2fdb63517349474d90cb17ad2bd667f30840e83d
Reviewed-on: https://gerrit.libreoffice.org/47727
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl/source/items/itemiter.cxx')
-rw-r--r-- | svl/source/items/itemiter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/items/itemiter.cxx b/svl/source/items/itemiter.cxx index a42a90bc2358..2cc6ae36212d 100644 --- a/svl/source/items/itemiter.cxx +++ b/svl/source/items/itemiter.cxx @@ -32,7 +32,7 @@ SfxItemIter::SfxItemIter( const SfxItemSet& rItemSet ) } else { - SfxItemArray ppFnd = m_rSet.m_pItems; + SfxPoolItem const** ppFnd = m_rSet.m_pItems.get(); // Find the first Item that is set for (m_nStart = 0; !*(ppFnd + m_nStart ); ++m_nStart) @@ -53,7 +53,7 @@ SfxItemIter::~SfxItemIter() const SfxPoolItem* SfxItemIter::NextItem() { - SfxItemArray ppFnd = m_rSet.m_pItems; + SfxPoolItem const** ppFnd = m_rSet.m_pItems.get(); if (m_nCurrent < m_nEnd) { |