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

New commits:
commit 5c8c4d78f6daae5c5add593c16fd6f92836af869
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Thu Nov 14 11:56:47 2024 +0100
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Thu Nov 14 14:11:03 2024 +0100

    tdf#163486: PVS: Expression is always false
    
    V560    A part of conditional expression is always false: pPap.
    V560    A part of conditional expression is always false: pSty.
    
    Change-Id: I37a2cce02f303b9a3944c232d57f89b9087375ee
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176586
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Tested-by: Jenkins

diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index 5ea42441dde8..d405e293658b 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -1438,10 +1438,6 @@ static sal_uInt8 lcl_ReadBorders(bool bVer67, 
WW8_BRCVer9* brc, WW8PLCFx_Cp_FKP*
                 }
             }
         }
-        else {
-            OSL_ENSURE( pSty || pPap, "WW8PLCFx_Cp_FKP and WW8RStyle "
-                               "and WW8PLCFx_SEPX is 0" );
-        }
     }
 
     return nBorder;

Reply via email to