diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-11-05 10:15:38 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-11-05 14:58:00 +0000 |
commit | 12bcfec04fcbe6425e327109ad47cd2b2b80d2bd (patch) | |
tree | b57ac6784ce892defa6d06fd5974318c8ffb6972 /basic | |
parent | ea272d9fe4bf2dc7419f76e2ddee707d768ccd50 (diff) |
markup with event type not checker type
Change-Id: I14c0c5d90b67000cb4fe9e6be647854abfe784da
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/sbunoobj.cxx | 4 | ||||
-rw-r--r-- | basic/source/runtime/methods.cxx | 2 | ||||
-rw-r--r-- | basic/source/runtime/methods1.cxx | 4 | ||||
-rw-r--r-- | basic/source/runtime/runtime.cxx | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index 13bc3dc47a3e..36e419eab68a 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -905,7 +905,7 @@ Type getUnoTypeForSbxValue( const SbxValue* pVal ) sal_Int32 nIdx = nLower; for( sal_Int32 i = 0 ; i < nSize ; i++,nIdx++ ) { - // coverity[array_vs_singleton] + // coverity[callee_ptr_arith] SbxVariableRef xVar = pArray->Get32( &nIdx ); Type aType = getUnoTypeForSbxValue( (SbxVariable*)xVar ); if( bNeedsInit ) @@ -1351,7 +1351,7 @@ Any sbxToUnoValue( const SbxValue* pVar, const Type& rType, Property* pUnoProper sal_Int32 nIdx = nLower; for( sal_Int32 i = 0 ; i < nSeqSize ; i++,nIdx++ ) { - // coverity[array_vs_singleton] + // coverity[callee_ptr_arith] SbxVariableRef xVar = pArray->Get32( &nIdx ); // Convert the value of Sbx to Uno diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index 4ab4fff52036..c1b688903e92 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -4372,7 +4372,7 @@ RTLFUNC(StrConv) { ++index; } - // coverity[array_vs_singleton] + // coverity[callee_ptr_arith] pArray->Put( pNew, &index ); } diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx index 3c816524e7db..94ee18bd2161 100644 --- a/basic/source/runtime/methods1.cxx +++ b/basic/source/runtime/methods1.cxx @@ -839,7 +839,7 @@ RTLFUNC(Array) { ++index; } - // coverity[array_vs_singleton] + // coverity[callee_ptr_arith] pArray->Put( pNew, &index ); } @@ -1734,7 +1734,7 @@ RTLFUNC(Join) pArr->GetDim( 1, nLower, nUpper ); for (short i = nLower; i <= nUpper; ++i) { - // coverity[array_vs_singleton] + // coverity[callee_ptr_arith] OUString aStr = pArr->Get( &i )->GetOUString(); aRetStr += aStr; if( i != nUpper ) diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index 455611f4c4e2..a8a5e94b1759 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -669,7 +669,7 @@ void SbiRuntime::SetParameters( SbxArray* pParams ) { SbxVariable* v = pParams->Get( j ); short nDimIndex = j - i; - // coverity[array_vs_singleton] + // coverity[callee_ptr_arith] pArray->Put( v, &nDimIndex ); } SbxVariable* pArrayVar = new SbxVariable( SbxVARIANT ); |