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.
102 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 1610708:  Performance inefficiencies  (COPY_INSTEAD_OF_MOVE)
/drawinglayer/source/primitive2d/PolyPolygonGradientPrimitive2D.cxx: 107 in drawinglayer::primitive2d::PolyPolygonRGBAGradientPrimitive2D::PolyPolygonRGBAGradientPrimitive2D(basegfx::B2DPolyPolygon, const basegfx::B2DRange &, drawinglayer::attribute::FillGradientAttribute, drawinglayer::attribute::FillGradientAttribute)()


________________________________________________________________________________________________________
*** CID 1610708:  Performance inefficiencies  (COPY_INSTEAD_OF_MOVE)
/drawinglayer/source/primitive2d/PolyPolygonGradientPrimitive2D.cxx: 107 in drawinglayer::primitive2d::PolyPolygonRGBAGradientPrimitive2D::PolyPolygonRGBAGradientPrimitive2D(basegfx::B2DPolyPolygon, const basegfx::B2DRange &, drawinglayer::attribute::FillGradientAttribute, drawinglayer::attribute::FillGradientAttribute)()
101     }
102     
103     PolyPolygonRGBAGradientPrimitive2D::PolyPolygonRGBAGradientPrimitive2D(
104         basegfx::B2DPolyPolygon aPolyPolygon, const basegfx::B2DRange& rDefinitionRange,
105         attribute::FillGradientAttribute aFillGradient,
106         attribute::FillGradientAttribute aFillGradientAlpha)
>>>     CID 1610708:  Performance inefficiencies  (COPY_INSTEAD_OF_MOVE)
>>>     "aPolyPolygon" is passed-by-value as parameter to "drawinglayer::primitive2d::PolyPolygonGradientPrimitive2D::PolyPolygonGradientPrimitive2D(basegfx::B2DPolyPolygon, basegfx::B2DRange const &, drawinglayer::attribute::FillGradientAttribute)" when it could be moved instead.
107         : PolyPolygonGradientPrimitive2D(aPolyPolygon, rDefinitionRange, aFillGradient)
108         , maFillGradientAlpha(aFillGradientAlpha)
109     {
110         // assert when the definition is not allowed, it HAS to fulfil the
111         // requested preconditions
112         assert(aFillGradient.sameDefinitionThanAlpha(aFillGradientAlpha));


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu6VvXBlQRUbS683tC8265rGNPXqJ1ffcoLZCnTuJFQbNcTEkb4XaEQkzovKhJ5DB3c-3DRTrD_A9M4dSy7guk8NP6DcfgslOyvJRzavztVIKj6nRqYjYpWom7SJFyX0y710bz0kUGt0-2B8s7rMq9rZJ9jFKzTqzedQ3CCPg2s1wvsAOV87RfZjxBWRfkZ-2BgUmwZOJR8zBaCV5sIlVPrhmTHhljm39nGWDAqC-2FjLBX0YMhMemmNiRw-2Bde7eSnG0XlMAz55JpeQeTjIIngpb9w3URhQQNgbWLAFuVf2SeiZbJs8DDvLHBp5M-3D




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

  Powered by Linux