New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Fri Jun 10 16:06:48 UTC 2022


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.


New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1505368:  Performance inefficiencies  (PASS_BY_VALUE)
/editeng/source/editeng/editdoc.cxx: 1196 in ContentNode::ContentNode(rtl::OUString, ContentAttribs)()


________________________________________________________________________________________________________
*** CID 1505368:  Performance inefficiencies  (PASS_BY_VALUE)
/editeng/source/editeng/editdoc.cxx: 1196 in ContentNode::ContentNode(rtl::OUString, ContentAttribs)()
1190     }
1191     
1192     ContentNode::ContentNode( SfxItemPool& rPool ) : aContentAttribs( rPool )
1193     {
1194     }
1195     
>>>     CID 1505368:  Performance inefficiencies  (PASS_BY_VALUE)
>>>     Passing parameter _aContentAttribs of type "ContentAttribs" (size 488 bytes) by value.
1196     ContentNode::ContentNode( OUString aStr, ContentAttribs _aContentAttribs ) :
1197         maString(std::move(aStr)), aContentAttribs(std::move(_aContentAttribs))
1198     {
1199     }
1200     
1201     ContentNode::~ContentNode()


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



More information about the LibreOffice mailing list