[Libreoffice-commits] core.git: cppu/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Sep 22 14:44:28 UTC 2018


 cppu/source/uno/sequence.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 2e145afcfe9bcda3dbf916bb7a91bcf45442f12e
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Sep 22 14:41:05 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Sep 22 16:44:09 2018 +0200

    tweak markup
    
    Change-Id: I5d7171045a9c271e2ef5f456411fa4d3eb5f1571
    Reviewed-on: https://gerrit.libreoffice.org/60895
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/cppu/source/uno/sequence.cxx b/cppu/source/uno/sequence.cxx
index 1a15b1c8a8d6..848aaa39f428 100644
--- a/cppu/source/uno/sequence.cxx
+++ b/cppu/source/uno/sequence.cxx
@@ -269,7 +269,7 @@ static inline bool idefaultConstructElements(
     {
         if (nAlloc >= 0)
         {
-            // coverity[suspicious_sizeof] - sizeof(uno_Sequence*) is correct here
+            // coverity[suspicious_sizeof : FALSE] - sizeof(uno_Sequence*) is correct here
             pSeq = reallocSeq(pSeq, sizeof(uno_Sequence*), nAlloc);
         }
         if (pSeq != nullptr)
@@ -518,7 +518,7 @@ static inline bool icopyConstructFromElements(
     }
     case typelib_TypeClass_SEQUENCE: // sequence of sequence
     {
-        // coverity[suspicious_sizeof] - sizeof(uno_Sequence*) is correct here
+        // coverity[suspicious_sizeof : FALSE] - sizeof(uno_Sequence*) is correct here
         pSeq = reallocSeq(pSeq, sizeof(uno_Sequence*), nAlloc);
         if (pSeq != nullptr)
         {


More information about the Libreoffice-commits mailing list