New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Tue Mar 21 02:09:05 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.


New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1524485:  Possible Control flow issues  (DEADCODE)
/cui/source/options/optgdlg.cxx: 822 in OfaViewTabPage::FillItemSet(SfxItemSet *)()


________________________________________________________________________________________________________
*** CID 1524485:  Possible Control flow issues  (DEADCODE)
/cui/source/options/optgdlg.cxx: 822 in OfaViewTabPage::FillItemSet(SfxItemSet *)()
816         {
817             // Set changed settings to the application instance
818             AllSettings aAllSettings = Application::GetSettings();
819     
820             if (bMenuOptModified)
821             {
>>>     CID 1524485:  Possible Control flow issues  (DEADCODE)
>>>     Execution cannot reach this statement: "aStyleSettings.StyleSetting...".
822                 StyleSettings aStyleSettings = aAllSettings.GetStyleSettings();
823                 aAllSettings.SetStyleSettings(aStyleSettings);
824             }
825     
826             if (bDarkModeOptModified)
827                 MiscSettings::SetDarkMode(m_xAppearanceStyleLB->get_active());


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3D5lSA_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiUeV3QvrQo6pySkdYmtB7NUEF-2B-2BA97xV2WJY-2BOemzjwF23xpUfvUcGsTEZ1Koe2jzWEegw10mX-2BeqbZWRr5odOldELgOcxig5seIbReEKsWXcsGsUCK2A3w9WDBeSjzWvZbc2oA6zVfyxUPtGx0F0zJUuTcbyzBY95rZZGghASBY-3D



More information about the LibreOffice mailing list