diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-29 09:59:20 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-06-01 09:58:56 +0200 |
commit | 55bc128636596032c23ee855904822ad813986fc (patch) | |
tree | ba097deaf15579f0148a68679d915e3ba25d52c4 /svgio | |
parent | c9fd4aa8aa969ef2b669813acee15d6efcf1ecde (diff) |
loplugin:loopvartoosmall
Change-Id: I86ff38a90018a2ddfb2db3babf67168b0e6257a5
Diffstat (limited to 'svgio')
-rw-r--r-- | svgio/source/svgreader/svgcharacternode.cxx | 6 | ||||
-rw-r--r-- | svgio/source/svgreader/svgnode.cxx | 4 | ||||
-rw-r--r-- | svgio/source/svgreader/svgstylenode.cxx | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/svgio/source/svgreader/svgcharacternode.cxx b/svgio/source/svgreader/svgcharacternode.cxx index 7b8e4cb252e8..5fe2ef3d7b9c 100644 --- a/svgio/source/svgreader/svgcharacternode.cxx +++ b/svgio/source/svgreader/svgcharacternode.cxx @@ -306,7 +306,7 @@ namespace svgio ::std::vector< double > aExtendArray(aTextLayouterDevice.getTextArray(getText(), nArray, nLength - nArray)); aTextArray.reserve(nLength); - for(sal_uInt32 a(0); a < aExtendArray.size(); a++) + for(size_t a(0); a < aExtendArray.size(); a++) { aTextArray.push_back(aExtendArray[a] + fStartX); } @@ -331,7 +331,7 @@ namespace svgio aTextArray = aTextLayouterDevice.getTextArray(getText(), nIndex, nLength); } - for(sal_uInt32 a(0); a < aTextArray.size(); a++) + for(size_t a(0); a < aTextArray.size(); a++) { aTextArray[a] *= fFactor; } @@ -615,7 +615,7 @@ namespace svgio { const double fFactor(F_PI / 180.0); - for(sal_uInt32 a(0); a < maRotate.size(); a++) + for(size_t a(0); a < maRotate.size(); a++) { maRotate[a] *= fFactor; } diff --git a/svgio/source/svgreader/svgnode.cxx b/svgio/source/svgreader/svgnode.cxx index 3066fc0a5239..9e5b31a8b851 100644 --- a/svgio/source/svgreader/svgnode.cxx +++ b/svgio/source/svgreader/svgnode.cxx @@ -108,7 +108,7 @@ namespace svgio } } - for(sal_uInt32 a(0); a < aParts.size(); a++) + for(size_t a(0); a < aParts.size(); a++) { const OUString aNewConcatenated( "." + aParts[a] + aConcatenated); @@ -238,7 +238,7 @@ namespace svgio // as current SvgStyleAttributes* pCurrent = const_cast< SvgStyleAttributes* >(maCssStyleVector[0]); - for(sal_uInt32 a(1); a < maCssStyleVector.size(); a++) + for(size_t a(1); a < maCssStyleVector.size(); a++) { SvgStyleAttributes* pNext = const_cast< SvgStyleAttributes* >(maCssStyleVector[a]); diff --git a/svgio/source/svgreader/svgstylenode.cxx b/svgio/source/svgreader/svgstylenode.cxx index ab9fa025ec25..42cc554a654e 100644 --- a/svgio/source/svgreader/svgstylenode.cxx +++ b/svgio/source/svgreader/svgstylenode.cxx @@ -117,7 +117,7 @@ namespace svgio OUString aConcatenatedSelector; // re-combine without spaces, create a unique name (for now) - for(sal_uInt32 a(0); a < aSelectorParts.size(); a++) + for(size_t a(0); a < aSelectorParts.size(); a++) { aConcatenatedSelector += aSelectorParts[a]; } |