summaryrefslogtreecommitdiff
path: root/include/com
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-25 12:19:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-09-25 15:16:06 +0200
commit92906c11610f3f4c07ed730f6538d92c78533cd4 (patch)
treef9f85a10a4e7ee9abc52302117ec59279f37f4ac /include/com
parent2994ad9d2c4d89aea188dcb69fa5a172c01c8860 (diff)
cid#1448292 coverity has difficulty with css::uno::Sequence
current attempt isn't working, try a different approach to silence these warnings Change-Id: I0cc97df0897abc665dfbb683d7aa0df55f8affb2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103387 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/com')
-rw-r--r--include/com/sun/star/uno/Sequence.hxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/com/sun/star/uno/Sequence.hxx b/include/com/sun/star/uno/Sequence.hxx
index 3d0c024a1da3..af82925d5f1b 100644
--- a/include/com/sun/star/uno/Sequence.hxx
+++ b/include/com/sun/star/uno/Sequence.hxx
@@ -73,20 +73,11 @@ inline Sequence< E >::Sequence(
{
}
-#if defined(__COVERITY__)
-extern "C" void __coverity_tainted_data_sanitize__(void *);
-#endif
-
template< class E >
inline Sequence< E >::Sequence( const E * pElements, sal_Int32 len )
{
const Type & rType = ::cppu::getTypeFavourUnsigned( this );
-#if defined(__COVERITY__)
- // cid#1448292 coverity has difficulty with css::uno::Sequence
- __coverity_tainted_data_sanitize__(const_cast<E*>(pElements));
-#endif
-
bool success =
::uno_type_sequence_construct(
&_pSequence, rType.getTypeLibType(),