summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl/unomodel.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-09 13:22:38 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-10 06:29:32 +0000
commitf469309e265b8cf692b2048eb29ce972f939c3f2 (patch)
treebf288ce36281a0222a9dc1271f65640a4f264c84 /sd/source/ui/unoidl/unomodel.cxx
parent65b327b873e67ae24133b6e4afef5e8a12ed822e (diff)
clang-tidy modernize-loop-convert scaddins to sdext
Change-Id: I63ccc56df1a1de8bc443abb95e520246c457912f Reviewed-on: https://gerrit.libreoffice.org/24798 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sd/source/ui/unoidl/unomodel.cxx')
-rw-r--r--sd/source/ui/unoidl/unomodel.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index 845a8de78a72..e0f6dbfa4cae 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -1383,9 +1383,8 @@ uno::Any SAL_CALL SdXImpressDocument::getPropertyValue( const OUString& Property
const SfxItemPool& rPool = mpDoc->GetPool();
const SfxPoolItem* pItem;
- for( sal_uInt16 i=0; i<3; i++ )
+ for(sal_uInt16 nWhichId : aWhichIds)
{
- sal_uInt16 nWhichId = aWhichIds[i];
sal_uInt32 nItems = rPool.GetItemCount2( nWhichId );
aSeq.realloc( aSeq.getLength() + nItems*5 + 5 );