<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>New Defects Reported - LibreOffice</title>
<style>
body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
.button {
display: inline-block;
padding: 10px 20px;
margin: 20px 0;
font-size: 16px;
color: #fff !important;
background-color: #0056b3;
text-decoration: none;
border-radius: 5px;
}
pre {
background: #f8f9fa;
padding: 10px;
border-radius: 5px;
font-size: 14px;
overflow-x: auto;
}
</style>
</head>
<body>
<p>Hi,</p>
<p>
Please find the latest report on new defect(s) introduced to <strong>LibreOffice</strong>
found with Coverity Scan.
</p>
<ul>
<li><strong>New Defects Found:</strong> 1</li>
<li>
50 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
</li>
<li><strong>Defects Shown:</strong> Showing 1 of 1 defect(s)</li>
</ul>
<h3>Defect Details</h3>
<pre>
** CID 1662031: Performance inefficiencies (COPY_INSTEAD_OF_MOVE)
_____________________________________________________________________________________________
*** CID 1662031: Performance inefficiencies (COPY_INSTEAD_OF_MOVE)
/sfx2/source/control/recentdocsviewitem.cxx: 235 in RecentDocsViewItem::RecentDocsViewItem(sfx2::RecentDocsView &, const rtl::OUString &, const rtl::OUString &, std::basic_string_view<char16_t, std::char_traits<char16_t>>, unsigned short, long, bool, bool)()
229 aModule);
230 aThumbnail = pVirDev->GetBitmap(Point(), aSize);
231 }
232 }
233
234 maTitle = aTitle;
>>> CID 1662031: Performance inefficiencies (COPY_INSTEAD_OF_MOVE)
>>> "aThumbnail" is copied in call to copy assignment for class "Bitmap", when it could be moved instead.
235 maPreview = aThumbnail;
236 }
237
238 ::tools::Rectangle RecentDocsViewItem::updateHighlight(bool bVisible, const Point& rPoint)
239 {
240 ::tools::Rectangle aRect(ThumbnailViewItem::updateHighlight(bVisible, rPoint));
</pre>
<p>
<a href="https://scan.coverity.com/projects/libreoffice?tab=overview" class="button">View Defects in Coverity Scan</a>
</p>
<p>Best regards,</p>
<p>The Coverity Scan Admin Team</p>
<img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
</body>
</html>