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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Oct 2 08:18:40 UTC 2018


 sw/source/filter/ww8/ww8atr.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 3d9809bb6a20c34ef9f5ef0f4a6bc4eab7d8551f
Author:     Michael Stahl <Michael.Stahl at cib.de>
AuthorDate: Mon Oct 1 17:32:29 2018 +0200
Commit:     Michael Stahl <Michael.Stahl at cib.de>
CommitDate: Tue Oct 2 10:18:16 2018 +0200

    coverity#1439597 it's not possible for SwPaM::End to return null
    
    Change-Id: I1289721e2e62e258237096d79182779ca3f15bdb
    Reviewed-on: https://gerrit.libreoffice.org/61205
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <Michael.Stahl at cib.de>

diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx
index a93b849797ea..7a92a825ceaf 100644
--- a/sw/source/filter/ww8/ww8atr.cxx
+++ b/sw/source/filter/ww8/ww8atr.cxx
@@ -5509,9 +5509,6 @@ const SwRedlineData* AttributeOutputBase::GetParagraphMarkerRedline( const SwTex
             continue;
 
         const SwPosition* pCheckedEnd = pRedl->End();
-        if (!pCheckedEnd)
-            continue;
-
         const SwPosition* pCheckedStt = pRedl->Start();
         sal_uLong uStartNodeIndex = pCheckedStt->nNode.GetIndex();
         sal_uLong uStartCharIndex = pCheckedStt->nContent.GetIndex();


More information about the Libreoffice-commits mailing list