From 92906c11610f3f4c07ed730f6538d92c78533cd4 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 25 Sep 2020 12:19:51 +0100 Subject: cid#1448292 coverity has difficulty with css::uno::Sequence MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- include/com/sun/star/uno/Sequence.hxx | 9 --------- 1 file changed, 9 deletions(-) (limited to 'include') 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(pElements)); -#endif - bool success = ::uno_type_sequence_construct( &_pSequence, rType.getTypeLibType(), -- cgit