New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Sat Oct 7 13:11:46 UTC 2023


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.
1 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 1547086:  Control flow issues  (DEADCODE)
/svx/source/form/fmundo.cxx: 326 in FmXUndoEnvironment::Notify(SfxBroadcaster &, const SfxHint &)()


________________________________________________________________________________________________________
*** CID 1547086:  Control flow issues  (DEADCODE)
/svx/source/form/fmundo.cxx: 326 in FmXUndoEnvironment::Notify(SfxBroadcaster &, const SfxHint &)()
320                     break;
321                 default: break;
322             }
323         }
324         else if (rHint.GetId() == SfxHintId::ThisIsAnSfxEventHint)
325         {
>>>     CID 1547086:  Control flow issues  (DEADCODE)
>>>     Execution cannot reach this statement: "switch (static_cast<SfxEven...".
326             switch (static_cast<const SfxEventHint&>(rHint).GetEventId())
327             {
328                 case SfxEventHintId::CreateDoc:
329                 case SfxEventHintId::OpenDoc:
330                     ModeChanged();
331                     break;


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DFJqn_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJi6683qbSYhY5UBDD4eu64QOTLnEPAUXodBdXiBzlOfOpTx3ZOkJan5Bsf9ZsqIGUszTDDr-2FYyjb8nFcDDjLX7qQ0zQ7N9H-2BWaqlhPwKmhbEc1HmpQYvH-2FKwOoOTh9JRN7LsPIHpGdeJRsnH25hbkiMWUjZmgO4Zh7i5eHmXxbInM-3D



More information about the LibreOffice mailing list