diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-10-02 21:56:10 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-10-02 21:57:42 +0300 |
commit | e036d4b706685b995a497808e357b9fd2eb9d965 (patch) | |
tree | e1981081ae4b49913db9923795fb43236a48ab8a /stoc/source/invocation | |
parent | 4d646780dee68d319b0b801111e99cb2eab03a5d (diff) |
Spell "indices" correctly
Change-Id: I63b1de195bf2f3f8bfd185181f48b1520cdd849f
Diffstat (limited to 'stoc/source/invocation')
-rw-r--r-- | stoc/source/invocation/invocation.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
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<Any>& InParams, - Sequence<sal_Int16>& OutIndizes, Sequence<Any>& OutParams ) + Sequence<sal_Int16>& OutIndices, Sequence<Any>& 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<Any>& Sequence<Any> 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<Any>& // 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>& 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; |