New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Mon Sep 19 08:29:10 UTC 2022
Hi,
Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.
1 new defect(s) introduced to LibreOffice found with Coverity Scan.
2 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1515511: Control flow issues (DEADCODE)
/sw/source/uibase/utlui/content.cxx: 1881 in SwContentTree::CommandHdl(const CommandEvent &)()
________________________________________________________________________________________________________
*** CID 1515511: Control flow issues (DEADCODE)
/sw/source/uibase/utlui/content.cxx: 1881 in SwContentTree::CommandHdl(const CommandEvent &)()
1875 xPop->remove("deletecomment");
1876 if (bRemoveDeleteDrawingObjectEntry)
1877 xPop->remove("deletedrawingobject");
1878 if (bRemoveDeleteFieldEntry)
1879 xPop->remove("deletefield");
1880
>>> CID 1515511: Control flow issues (DEADCODE)
>>> Execution cannot reach the expression "bRemoveDeleteImageEntry" inside this statement: "bRemoveDeleteEntry = bRemov...".
1881 const bool bRemoveDeleteEntry =
1882 bRemoveDeleteChapterEntry ||
1883 bRemoveDeleteFrameEntry ||
1884 bRemoveDeleteImageEntry ||
1885 bRemoveDeleteOLEObjectEntry ||
1886 bRemoveDeleteBookmarkEntry ||
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DFAvP_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiIwAIPCtECq7UzcLYTWetqSzbekOtR-2Bj7jPCdwvd7K-2F-2B-2BaKDN6MBNUKbmBGiW2-2F9pSt5SKce1gTwTW8DSxnDWFyJsGZJE2QdTxqF-2BrKk-2Fvp5Xw-2BcLTA46suT7dZPcq5OhgdoeT-2F7gjhr4yV28sXns6DzFFadrKR-2FoBRI6gtkNFqM-3D
More information about the LibreOffice
mailing list