New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Tue Aug 5 05:49:53 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.
29 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 1662007:       Performance inefficiencies  (COPY_INSTEAD_OF_MOVE)


_____________________________________________________________________________________________
*** CID 1662007:         Performance inefficiencies  (COPY_INSTEAD_OF_MOVE)
/vcl/source/bitmap/bitmapfilter.cxx: 39             in BitmapFilter::Filter(Bitmap &, const BitmapFilter&)()
33         if (aTmpBmp.IsEmpty())
34         {
35             SAL_WARN("vcl.gdi", "Bitmap filter failed " << typeid(rFilter).name());
36             return false;
37         }
38     
>>>     CID 1662007:         Performance inefficiencies  (COPY_INSTEAD_OF_MOVE)
>>>     "aTmpBmp" is copied in call to copy assignment for class "Bitmap", when it could be moved instead.
39         rBmp = aTmpBmp;
40         return true;
41     }
42     
43     bool BitmapFilter::Filter(Animation& rAnimation, BitmapFilter const& rFilter)
44     {


________________________________________________________________________________________________________
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/20250805/d1843883/attachment.htm>


More information about the LibreOffice mailing list