diff options
Diffstat (limited to 'registry/source/reflread.cxx')
-rw-r--r-- | registry/source/reflread.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/registry/source/reflread.cxx b/registry/source/reflread.cxx index fe223c7b46cb..844b73166e03 100644 --- a/registry/source/reflread.cxx +++ b/registry/source/reflread.cxx @@ -955,7 +955,7 @@ RTParamMode MethodList::getMethodParamMode(sal_uInt16 index, sal_uInt16 paramInd return aMode; } -#if defined(__COVERITY__) +#if defined(__COVERITY__) && __COVERITY_MAJOR__ <= 2023 extern "C" void __coverity_tainted_data_sanitize__(void *); #endif @@ -967,7 +967,7 @@ sal_uInt16 MethodList::getMethodExcCount(sal_uInt16 index) const { try { aCount = readUINT16(m_pIndex[index] + calcMethodParamIndex(readUINT16(m_pIndex[index] + METHOD_OFFSET_PARAM_COUNT))); -#if defined(__COVERITY__) +#if defined(__COVERITY__) && __COVERITY_MAJOR__ <= 2023 __coverity_tainted_data_sanitize__(&aCount); #endif } catch (BlopObject::BoundsError &) { |