diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-25 12:19:51 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-25 15:16:06 +0200 |
commit | 92906c11610f3f4c07ed730f6538d92c78533cd4 (patch) | |
tree | f9f85a10a4e7ee9abc52302117ec59279f37f4ac /cppu | |
parent | 2994ad9d2c4d89aea188dcb69fa5a172c01c8860 (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 'cppu')
-rw-r--r-- | cppu/source/uno/sequence.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cppu/source/uno/sequence.cxx b/cppu/source/uno/sequence.cxx index 72d3e3ead42b..c467f2c38704 100644 --- a/cppu/source/uno/sequence.cxx +++ b/cppu/source/uno/sequence.cxx @@ -307,7 +307,7 @@ static bool idefaultConstructElements( return true; } - +// coverity[ -tainted_data_sink : arg-1 ] static bool icopyConstructFromElements( uno_Sequence ** ppSeq, void * pSourceElements, typelib_TypeDescriptionReference * pElementType, @@ -652,7 +652,6 @@ static bool ireallocSequence( extern "C" { - sal_Bool SAL_CALL uno_type_sequence_construct( uno_Sequence ** ppSequence, typelib_TypeDescriptionReference * pType, void * pElements, sal_Int32 len, |