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.

2 new defect(s) introduced to LibreOffice found with Coverity Scan.
5 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 2 of 2 defect(s)


** CID 1494631:  Control flow issues  (DEADCODE)
/svx/source/sdr/contact/viewcontactofgraphic.cxx: 339 in sdr::contact::ViewContactOfGraphic::createViewIndependentPrimitive2DSequence(drawinglayer::primitive2d::Primitive2DDecompositionVisitor &) const()


________________________________________________________________________________________________________
*** CID 1494631:  Control flow issues  (DEADCODE)
/svx/source/sdr/contact/viewcontactofgraphic.cxx: 339 in sdr::contact::ViewContactOfGraphic::createViewIndependentPrimitive2DSequence(drawinglayer::primitive2d::Primitive2DDecompositionVisitor &) const()
333                     bHMirr = !bHMirr;
334                     bVMirr = false;
335                 }
336     
337                 if(bHMirr || bVMirr)
338                 {
>>>     CID 1494631:  Control flow issues  (DEADCODE)
>>>     Execution cannot reach the expression "BmpMirrorFlags::NONE" inside this statement: "aLocalGrafInfo.SetMirrorFla...".
339                     aLocalGrafInfo.SetMirrorFlags((bHMirr ? BmpMirrorFlags::Horizontal : BmpMirrorFlags::NONE)|(bVMirr ? BmpMirrorFlags::Vertical : BmpMirrorFlags::NONE));
340                 }
341     
342                 // fill object matrix
343                 const double fShearX(-rGeoStat.mfTanShearAngle);
344                 const double fRotate(nRotationAngle ? toRadians(36000_deg100 - nRotationAngle) : 0.0);

** CID 1494630:  Control flow issues  (DEADCODE)
/svx/source/sdr/contact/viewcontactofgraphic.cxx: 339 in sdr::contact::ViewContactOfGraphic::createViewIndependentPrimitive2DSequence(drawinglayer::primitive2d::Primitive2DDecompositionVisitor &) const()


________________________________________________________________________________________________________
*** CID 1494630:  Control flow issues  (DEADCODE)
/svx/source/sdr/contact/viewcontactofgraphic.cxx: 339 in sdr::contact::ViewContactOfGraphic::createViewIndependentPrimitive2DSequence(drawinglayer::primitive2d::Primitive2DDecompositionVisitor &) const()
333                     bHMirr = !bHMirr;
334                     bVMirr = false;
335                 }
336     
337                 if(bHMirr || bVMirr)
338                 {
>>>     CID 1494630:  Control flow issues  (DEADCODE)
>>>     Execution cannot reach the expression "BmpMirrorFlags::Vertical" inside this statement: "aLocalGrafInfo.SetMirrorFla...".
339                     aLocalGrafInfo.SetMirrorFlags((bHMirr ? BmpMirrorFlags::Horizontal : BmpMirrorFlags::NONE)|(bVMirr ? BmpMirrorFlags::Vertical : BmpMirrorFlags::NONE));
340                 }
341     
342                 // fill object matrix
343                 const double fShearX(-rGeoStat.mfTanShearAngle);
344                 const double fRotate(nRotationAngle ? toRadians(36000_deg100 - nRotationAngle) : 0.0);


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DgbMh_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJi7E7IwGriW-2F4xgWLednSEspLyFxWCqo2NgTux81gSC6H9dcsSQvdAQSDq4idMYyyS53IlzNqETHldvK8F1Do7ws6mpTsVwuNoi4o2SomncggCvmm6ea3XlApyCXfqVrTiPzp4X2umPQUlqDXjzWZRRRxU7kEMSVxRZAybus4HwsA-3D




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

  Powered by Linux