New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Sun Oct 27 10:28:28 UTC 2024
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.
99 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 1633859: Incorrect expression (COPY_PASTE_ERROR)
/sc/source/ui/condformat/condformateasydlg.cxx: 300 in sc::ConditionalFormatEasyDialog::ConditionalFormatEasyDialog(SfxBindings *, SfxChildWindow *, weld::Window *, ScViewData *)()
________________________________________________________________________________________________________
*** CID 1633859: Incorrect expression (COPY_PASTE_ERROR)
/sc/source/ui/condformat/condformateasydlg.cxx: 300 in sc::ConditionalFormatEasyDialog::ConditionalFormatEasyDialog(SfxBindings *, SfxChildWindow *, weld::Window *, ScViewData *)()
294 {
295 const ScCondFormatEntry* condEntry = static_cast<const ScCondFormatEntry*>(entry);
296 sStyleName = condEntry->GetStyle();
297 if (mxNumberEntry->get_visible())
298 mxNumberEntry->set_text(condEntry->GetExpression(aRange.GetTopLeftCorner(), 0));
299 if (mxNumberEntry2->get_visible())
>>> CID 1633859: Incorrect expression (COPY_PASTE_ERROR)
>>> "mxNumberEntry" in "this->mxNumberEntry" looks like a copy-paste error.
300 mxNumberEntry->set_text(condEntry->GetExpression(aRange.GetTopLeftCorner(), 1));
301 }
302 else if (type == ScFormatEntry::Type::Date)
303 {
304 const ScCondDateFormatEntry* dateEntry
305 = static_cast<const ScCondDateFormatEntry*>(entry);
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu6VvXBlQRUbS683tC8265rGNPXqJ1ffcoLZCnTuJFQbNcTEkb4XaEQkzovKhJ5DB3c-3Dw3G-_A9M4dSy7guk8NP6DcfgslOyvJRzavztVIKj6nRqYjYpWom7SJFyX0y710bz0kUGtXO1D6xceUx5TgcHuCSM8pDgZPmHr9cj7yhHh1OLZ-2BASRBtd5DeNdta09V1AQgdxsCLErFRQPGlHQWaFsE9Ohfr6LO4FfM3NSm9Ho5ypTBYNgm-2FJi-2FvcKD7C8xQWydFPSk482ss6xLS44l0IZnrjnmmXwoAZZahkfsSEUOdqZreQ-3D
More information about the LibreOffice
mailing list