New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Fri Aug 15 05:49:55 UTC 2025
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 1664055: Performance inefficiencies (COPY_INSTEAD_OF_MOVE)
_____________________________________________________________________________________________
*** CID 1664055: Performance inefficiencies (COPY_INSTEAD_OF_MOVE)
/drawinglayer/source/processor2d/cairopixelprocessor2d.cxx: 1220 in drawinglayer::processor2d::CairoPixelProcessor2D::extractBitmap() const()
1214 pPixelData += 4;
1215 }
1216 }
1217 }
1218
1219 // construct and return Bitmap
>>> CID 1664055: Performance inefficiencies (COPY_INSTEAD_OF_MOVE)
>>> "aBitmap" is copied in call to copy assignment for class "Bitmap", when it could be moved instead.
1220 aRetval = aBitmap;
1221
1222 if (pReadSource != pSource)
1223 {
1224 // cleanup mapping for read/write access to source
1225 cairo_surface_unmap_image(pSource, pReadSource);
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/libreoffice?tab=overview
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20250815/5f5da6d4/attachment.htm>
More information about the LibreOffice
mailing list