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 /extensions | |
parent | 4d646780dee68d319b0b801111e99cb2eab03a5d (diff) |
Spell "indices" correctly
Change-Id: I63b1de195bf2f3f8bfd185181f48b1520cdd849f
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/ole/unoconversionutilities.hxx | 2 | ||||
-rw-r--r-- | extensions/test/ole/cpnt/cpnt.cxx | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx index 46db5c9db7f4..918899613194 100644 --- a/extensions/source/ole/unoconversionutilities.hxx +++ b/extensions/source/ole/unoconversionutilities.hxx @@ -1069,7 +1069,7 @@ SAFEARRAY* UnoConversionUtilities<T>::createUnoSequenceWrapper(const Any& rSeq, uno_Sequence * pMultiSeq= *(uno_Sequence* const*) rSeq.getValue(); sal_Int32 dimsSeq= dims - 1; - // arDimSeqIndizes contains the current index of a block of data. + // arDimSeqIndices contains the current index of a block of data. // E.g. Sequence<Sequence<sal_Int32>> , the index would refer to Sequence<sal_Int32> // In this case arDimSeqIndices would have the size 1. That is the elements are not counted // but the Sequences that contain those elements. diff --git a/extensions/test/ole/cpnt/cpnt.cxx b/extensions/test/ole/cpnt/cpnt.cxx index ae4604b42e6c..e938b87b79f3 100644 --- a/extensions/test/ole/cpnt/cpnt.cxx +++ b/extensions/test/ole/cpnt/cpnt.cxx @@ -1732,9 +1732,9 @@ void SAL_CALL OComponent::testInterface( const Reference< XCallback >& xCallbac Reference<XInterface> xIntCallback= oleFact->createInstance(L"XCallback_Impl.Callback"); Reference<XInvocation> xInv( xIntCallback, UNO_QUERY); - Sequence<sal_Int16> seqIndizes; + Sequence<sal_Int16> seqIndices; Sequence<Any> seqOutParams; - xInv->invoke( OUString( L"outValuesAll"), Sequence<Any>(), seqIndizes, seqOutParams); + xInv->invoke( OUString( L"outValuesAll"), Sequence<Any>(), seqIndices, seqOutParams); if( seqOutParams.getLength() == 12) { @@ -1776,7 +1776,7 @@ void SAL_CALL OComponent::testInterface( const Reference< XCallback >& xCallbac Reference<XInterface> xIntCallback= oleFact->createInstance(L"XCallback_Impl.Callback"); Reference<XInvocation> xInv( xIntCallback, UNO_QUERY); - Sequence<sal_Int16> seqIndizes; + Sequence<sal_Int16> seqIndices; Sequence<Any> seqOutParams; @@ -1829,7 +1829,7 @@ void SAL_CALL OComponent::testInterface( const Reference< XCallback >& xCallbac // Sequence<Any> params( arAny, 13); - xInv->invoke( OUString( L"inoutValuesAll"), params, seqIndizes, seqOutParams); + xInv->invoke( OUString( L"inoutValuesAll"), params, seqIndices, seqOutParams); if( seqOutParams.getLength() == 12) { @@ -1871,7 +1871,7 @@ void SAL_CALL OComponent::testInterface( const Reference< XCallback >& xCallbac Reference<XInterface> xIntCallback= oleFact->createInstance(L"XCallback_Impl.Callback"); Reference<XInvocation> xInv( xIntCallback, UNO_QUERY); - Sequence<sal_Int16> seqIndizes; + Sequence<sal_Int16> seqIndices; Sequence<Any> seqOutParams; Any arAny[3]; @@ -1882,7 +1882,7 @@ void SAL_CALL OComponent::testInterface( const Reference< XCallback >& xCallbac OUString aString(L" a string parameter"); arAny[2] <<= aString; - xInv->invoke( OUString( L"inValues"), Sequence<Any>(arAny,3), seqIndizes, seqOutParams); + xInv->invoke( OUString( L"inValues"), Sequence<Any>(arAny,3), seqIndices, seqOutParams); break; } |