New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Fri Apr 8 23:02:20 UTC 2016
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.
7 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 1358391: Incorrect expression (MIXED_ENUMS)
/sw/source/filter/ww8/ww8par5.cxx: 898 in SwWW8ImplReader::Read_Field(WW8PLCFManResult *)()
________________________________________________________________________________________________________
*** CID 1358391: Incorrect expression (MIXED_ENUMS)
/sw/source/filter/ww8/ww8par5.cxx: 898 in SwWW8ImplReader::Read_Field(WW8PLCFManResult *)()
892
893 //Only one type of field (hyperlink) in drawing textboxes exists
894 if (aF.nId != 88 && m_pPlcxMan->GetDoingDrawTextBox())
895 return aF.nLen;
896
897 bool bHasHandler = aWW8FieldTab[aF.nId] != nullptr;
>>> CID 1358391: Incorrect expression (MIXED_ENUMS)
>>> Mixing enum types "_ZZN15SwWW8ImplReader10Read_FieldEP16WW8PLCFManResultE6Limits_275287" and "ww::eField" for "nId".
898 if (aF.nId == ww::eSTYLEREF)
899 {
900 // STYLEREF, by default these are not handled.
901 bHasHandler = false;
902 sal_uInt64 nOldPos = m_pStrm->Tell();
903 OUString aStr;
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/libreoffice?tab=overview
To manage Coverity Scan email notifications for "libreoffice at lists.freedesktop.org", click https://scan.coverity.com/subscriptions/edit?email=libreoffice%40lists.freedesktop.org&token=d6481d718a775246b2340f282ebe5939
More information about the LibreOffice
mailing list