From e036d4b706685b995a497808e357b9fd2eb9d965 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 2 Oct 2013 21:56:10 +0300 Subject: Spell "indices" correctly Change-Id: I63b1de195bf2f3f8bfd185181f48b1520cdd849f --- stoc/source/invocation/invocation.cxx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'stoc') diff --git a/stoc/source/invocation/invocation.cxx b/stoc/source/invocation/invocation.cxx index f6604f8befd9..b9084ab1c1ef 100644 --- a/stoc/source/invocation/invocation.cxx +++ b/stoc/source/invocation/invocation.cxx @@ -609,11 +609,11 @@ void Invocation_Impl::setValue( const OUString& PropertyName, const Any& Value ) //-------------------------------------------------------------------------------------------------- Any Invocation_Impl::invoke( const OUString& FunctionName, const Sequence& InParams, - Sequence& OutIndizes, Sequence& OutParams ) + Sequence& OutIndices, Sequence& OutParams ) throw( IllegalArgumentException, CannotConvertException, InvocationTargetException, RuntimeException ) { if (_xDirect.is()) - return _xDirect->invoke( FunctionName, InParams, OutIndizes, OutParams ); + return _xDirect->invoke( FunctionName, InParams, OutIndices, OutParams ); if (_xIntrospectionAccess.is()) { @@ -639,9 +639,9 @@ Any Invocation_Impl::invoke( const OUString& FunctionName, const Sequence& Sequence aInvokeParams( nFParamsLen ); Any* pInvokeParams = aInvokeParams.getArray(); - // OUT Indizes - OutIndizes.realloc( nFParamsLen ); - sal_Int16* pOutIndizes = OutIndizes.getArray(); + // OUT Indices + OutIndices.realloc( nFParamsLen ); + sal_Int16* pOutIndices = OutIndices.getArray(); sal_uInt32 nOutIndex = 0; for ( sal_Int32 nPos = 0; nPos < nFParamsLen; ++nPos ) @@ -675,7 +675,7 @@ Any Invocation_Impl::invoke( const OUString& FunctionName, const Sequence& // is OUT/INOUT parameter? if (rFParam.aMode != ParamMode_IN) { - pOutIndizes[nOutIndex] = (sal_Int16)nPos; + pOutIndices[nOutIndex] = (sal_Int16)nPos; if (rFParam.aMode == ParamMode_OUT) rDestType->createObject( pInvokeParams[nPos] ); // default init ++nOutIndex; @@ -692,14 +692,14 @@ Any Invocation_Impl::invoke( const OUString& FunctionName, const Sequence& Any aRet = xMethod->invoke( _aMaterial, aInvokeParams ); // OUT Params - OutIndizes.realloc( nOutIndex ); - pOutIndizes = OutIndizes.getArray(); + OutIndices.realloc( nOutIndex ); + pOutIndices = OutIndices.getArray(); OutParams.realloc( nOutIndex ); Any* pOutParams = OutParams.getArray(); while (nOutIndex--) { - pOutParams[nOutIndex] = pInvokeParams[ pOutIndizes[nOutIndex] ]; + pOutParams[nOutIndex] = pInvokeParams[ pOutIndices[nOutIndex] ]; } return aRet; -- cgit