diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2021-05-01 16:02:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-01 19:02:42 +0200 |
commit | ce7729ab473b971164822338661d1a4828d860d2 (patch) | |
tree | 9176c7dfebd4591fbc50849717a1ae1c937f71d8 /xmloff | |
parent | c2678fb0b409eb75b15e056ba7c91a4320550e4a (diff) |
remove superfluous loop variable
Change-Id: I418ea4b1770b82541bae8901d8d1b78d36cfb5d2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114920
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/style/xmlexppr.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xmloff/source/style/xmlexppr.cxx b/xmloff/source/style/xmlexppr.cxx index bd3ee809ec1a..129a568065c1 100644 --- a/xmloff/source/style/xmlexppr.cxx +++ b/xmloff/source/style/xmlexppr.cxx @@ -267,8 +267,7 @@ void FilterPropertiesInfo_Impl::FillPropertyStateArray( const beans::GetDirectPropertyTolerantResult *pResults = aResults.getConstArray(); FilterPropertyInfoList_Impl::iterator aPropIter(aPropInfos.begin()); XMLPropertyState aNewProperty( -1 ); - size_t i = 0; - while (nResultCount > 0 && i < aPropInfos.size()) + while (nResultCount > 0 && aPropIter != aPropInfos.end()) { if (pResults->Name == aPropIter->GetApiName()) { @@ -284,7 +283,6 @@ void FilterPropertiesInfo_Impl::FillPropertyStateArray( --nResultCount; } ++aPropIter; - ++i; } } } |