New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Sat Feb 22 08:26:30 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.
2 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 1643142: Low impact quality (MISSING_MOVE_ASSIGNMENT)
/include/svl/listener.hxx: 29 in ()
________________________________________________________________________________________________________
*** CID 1643142: Low impact quality (MISSING_MOVE_ASSIGNMENT)
/include/svl/listener.hxx: 29 in ()
23
24 #include <o3tl/sorted_vector.hxx>
25
26 class SvtBroadcaster;
27 class SfxHint;
28
>>> CID 1643142: Low impact quality (MISSING_MOVE_ASSIGNMENT)
>>> Class "SvtListener" may benefit from adding a move assignment operator. See other events which show the copy assignment operator being applied to rvalues, where a move assignment may be faster.
29 class SVL_DLLPUBLIC SvtListener
30 {
31 friend class SvtBroadcaster;
32 typedef o3tl::sorted_vector<SvtBroadcaster*> BroadcastersType;
33 BroadcastersType maBroadcasters;
34
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/libreoffice?tab=overview
More information about the LibreOffice
mailing list