New Defects reported by Coverity Scan for LibreOffice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
4 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 1524600:  Control flow issues  (DEADCODE)
/svx/source/svdraw/svdotext.cxx: 1300 in SdrTextObj::ImpAutoFitText(SdrOutliner &, const Size &, bool) const()


________________________________________________________________________________________________________
*** CID 1524600:  Control flow issues  (DEADCODE)
/svx/source/svdraw/svdotext.cxx: 1300 in SdrTextObj::ImpAutoFitText(SdrOutliner &, const Size &, bool) const()
1294             {
1295                 if (aCurrTextSize.Width() != 0)
1296                 {
1297                     fFactor = double(rTextSize.Width())/aCurrTextSize.Width();
1298                 }
1299             }
>>>     CID 1524600:  Control flow issues  (DEADCODE)
>>>     Execution cannot reach this statement: "if (aCurrTextSize.Height() ...".
1300             else if (aCurrTextSize.Height() != 0)
1301             {
1302                 fFactor = double(rTextSize.Height())/aCurrTextSize.Height();
1303             }
1304             // fFactor scales in both x and y directions
1305             // - this is fine for bulleted words


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DK7Rc_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJipRyHzEdEGaUDJhPMr0veJiM2w6mRszBwpHkD-2BHX0ipzg01hO3LRaqwHZZqu1stAX8EKd6jp1bQKcMzZ5BSxq1EhAWcUHaHAGCdcwDCBiDt9jUpyba9hm9RmK4m2AGo31KNn0am6vm8y-2BMo-2FX77bE-2F7-2FELJH3lY56z6LX1AblLx8-3D




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux