New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Sat Jun 8 15:40:49 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.


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


** CID 1603563:  Error handling issues  (CHECKED_RETURN)
/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx: 688 in ScAccessibleSpreadsheet::Notify(SfxBroadcaster &, const SfxHint &)()


________________________________________________________________________________________________________
*** CID 1603563:  Error handling issues  (CHECKED_RETURN)
/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx: 688 in ScAccessibleSpreadsheet::Notify(SfxBroadcaster &, const SfxHint &)()
682                         {
683                             OUString valStr(pScDoc->GetString(aNewCell.Col(),aNewCell.Row(),aNewCell.Tab()));
684                             if(m_strCurCellValue != valStr)
685                             {
686                                 uno::Any aOldValue;
687                                 uno::Any aNewValue;
>>>     CID 1603563:  Error handling issues  (CHECKED_RETURN)
>>>     Calling "implInitTextChangedEvent" without checking return value (as is done elsewhere 7 out of 8 times).
688                                 comphelper::OCommonAccessibleText::implInitTextChangedEvent(m_strCurCellValue, valStr, aOldValue, aNewValue);
689                                 AccessibleEventObject aTextChangedEvent;
690                                 aTextChangedEvent.EventId = AccessibleEventId::TEXT_CHANGED;
691                                 aTextChangedEvent.OldValue = aOldValue;
692                                 aTextChangedEvent.NewValue = aNewValue;
693                                 mpAccCell->CommitChange(aTextChangedEvent);


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu6VvXBlQRUbS683tC8265rGNPXqJ1ffcoLZCnTuJFQbNcTEkb4XaEQkzovKhJ5DB3c-3D2yhF_A9M4dSy7guk8NP6DcfgslOyvJRzavztVIKj6nRqYjYpWom7SJFyX0y710bz0kUGtmVoA1ZVpVtHQewmxaxpP10IOsJWFFHZ1AWjnb-2BNn4Dm5uyy5rIiKxQhMDSKKdArZJmQsaQdkJf7dCm-2BsgvDhmKs6cjEsTI1PB833ifS08gUSajunuSq7tgJZ0ZJKQwCpl2ukeBgr4z38hc7rWcKXJH5wyNr4mWuBBccK7hBRXvY-3D



More information about the LibreOffice mailing list