diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-29 13:34:26 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-06-02 09:45:16 +0200 |
commit | 1df41142451685d33b1821a839061c63f23e44fd (patch) | |
tree | be78d70c5212ffb3496bf9fb6ec5f75f4c5e649c /sdext | |
parent | 44cab3c9db5aef97fde57baec205a34fc794f64b (diff) |
loplugin:loopvartoosmall
Change-Id: I809e408c994222cfa95ba8f56e4db7bd96be7080
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/minimizer/pppoptimizer.cxx | 2 | ||||
-rw-r--r-- | sdext/source/minimizer/pppoptimizerdialog.cxx | 2 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterConfigurationAccess.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sdext/source/minimizer/pppoptimizer.cxx b/sdext/source/minimizer/pppoptimizer.cxx index c2c5b6b16deb..f6341f6fd7d3 100644 --- a/sdext/source/minimizer/pppoptimizer.cxx +++ b/sdext/source/minimizer/pppoptimizer.cxx @@ -70,7 +70,7 @@ Sequence< Reference< com::sun::star::frame::XDispatch > > SAL_CALL PPPOptimizer: Sequence< Reference< com::sun::star::frame::XDispatch> > aReturn( aDescripts.getLength() ); Reference< com::sun::star::frame::XDispatch>* pReturn = aReturn.getArray(); const com::sun::star::frame::DispatchDescriptor* pDescripts = aDescripts.getConstArray(); - for (sal_Int16 i = 0; i < aDescripts.getLength(); ++i, ++pReturn, ++pDescripts ) + for (sal_Int32 i = 0; i < aDescripts.getLength(); ++i, ++pReturn, ++pDescripts ) { *pReturn = queryDispatch( pDescripts->FeatureURL, pDescripts->FrameName, pDescripts->SearchFlags ); } diff --git a/sdext/source/minimizer/pppoptimizerdialog.cxx b/sdext/source/minimizer/pppoptimizerdialog.cxx index 49064f1812f1..67e5613d0aed 100644 --- a/sdext/source/minimizer/pppoptimizerdialog.cxx +++ b/sdext/source/minimizer/pppoptimizerdialog.cxx @@ -86,7 +86,7 @@ Sequence< Reference< com::sun::star::frame::XDispatch > > SAL_CALL PPPOptimizerD Sequence< Reference< com::sun::star::frame::XDispatch> > aReturn( aDescripts.getLength() ); Reference< com::sun::star::frame::XDispatch>* pReturn = aReturn.getArray(); const com::sun::star::frame::DispatchDescriptor* pDescripts = aDescripts.getConstArray(); - for (sal_Int16 i = 0; i < aDescripts.getLength(); ++i, ++pReturn, ++pDescripts ) + for (sal_Int32 i = 0; i < aDescripts.getLength(); ++i, ++pReturn, ++pDescripts ) { *pReturn = queryDispatch( pDescripts->FeatureURL, pDescripts->FrameName, pDescripts->SearchFlags ); } diff --git a/sdext/source/presenter/PresenterConfigurationAccess.cxx b/sdext/source/presenter/PresenterConfigurationAccess.cxx index 16914a9e917b..96e0da6508db 100644 --- a/sdext/source/presenter/PresenterConfigurationAccess.cxx +++ b/sdext/source/presenter/PresenterConfigurationAccess.cxx @@ -203,7 +203,7 @@ void PresenterConfigurationAccess::ForAll ( { // Get from the current item of the container the children // that match the names in the rArguments list. - for (sal_uInt32 nValueIndex=0; nValueIndex<aValues.size(); ++nValueIndex) + for (size_t nValueIndex=0; nValueIndex<aValues.size(); ++nValueIndex) { if ( ! xSetItem->hasByName(rArguments[nValueIndex])) bHasAllValues = false; |