New Defects reported by Coverity Scan for LibreOffice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
1 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 1636693:  Performance inefficiencies  (COPY_INSTEAD_OF_MOVE)
/accessibility/source/extended/AccessibleBrowseBox.cxx: 49 in accessibility::AccessibleBrowseBox::AccessibleBrowseBox(const com::sun::star::uno::Reference<com::sun::star::accessibility::XAccessible> &, const com::sun::star::uno::Reference<com::sun::star::accessibility::XAccessible> &, vcl::IAccessibleTableProvider &)()


________________________________________________________________________________________________________
*** CID 1636693:  Performance inefficiencies  (COPY_INSTEAD_OF_MOVE)
/accessibility/source/extended/AccessibleBrowseBox.cxx: 49 in accessibility::AccessibleBrowseBox::AccessibleBrowseBox(const com::sun::star::uno::Reference<com::sun::star::accessibility::XAccessible> &, const com::sun::star::uno::Reference<com::sun::star::accessibility::XAccessible> &, vcl::IAccessibleTableProvider &)()
43                 ::vcl::IAccessibleTableProvider& _rBrowseBox )
44         : AccessibleBrowseBoxBase( _rxParent, _rBrowseBox,nullptr, AccessibleBrowseBoxObjType::BrowseBox ),
45           m_aCreator(_rxCreator)
46     {
47         css::uno::Reference<css::awt::XWindow> xWindow(
48             mpBrowseBox->GetWindowInstance()->GetComponentInterface(), css::uno::UNO_QUERY);
>>>     CID 1636693:  Performance inefficiencies  (COPY_INSTEAD_OF_MOVE)
>>>     "xWindow" is copied in a call to copy assignment "operator =", when it could be moved instead.
49         m_xFocusWindow = xWindow;
50     }
51     
52     void AccessibleBrowseBox::setCreator( const css::uno::Reference< css::accessibility::XAccessible >& _rxCreator )
53     {
54     #if OSL_DEBUG_LEVEL > 0


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu6VvXBlQRUbS683tC8265rGNPXqJ1ffcoLZCnTuJFQbNcTEkb4XaEQkzovKhJ5DB3c-3DkRB5_A9M4dSy7guk8NP6DcfgslOyvJRzavztVIKj6nRqYjYpWom7SJFyX0y710bz0kUGt5hKN-2FEK5dONLx1PTrxD9HQOnYRJ2H8u63QKpr3ZqehZfzA5mpupWf30QSHeasZnScm6LK-2FoODI9kvS0ORSMmu4WgCKohvXKGx6XoLM24q-2F-2BzW2Ag6PH-2B4TjXC9ONHJJG0tjF2QDkWly66pAZmK0B5QNl18agKMD9ylHWKr5hTwc-3D




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux