New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Mon Oct 28 14:13:37 UTC 2024


Hi,

Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.

2 new defect(s) introduced to LibreOffice found with Coverity Scan.
71 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 2 of 2 defect(s)


** CID 1633935:  Uninitialized members  (UNINIT_CTOR)
/sc/source/ui/view/tabvwsha.cxx: 1585 in ScTabViewShell::ExecuteStyleEdit(SfxRequest &, SfxStyleSheetBase *, unsigned short, unsigned short, bool, bool, const std::shared_ptr<ScStyleSaveData> &, const std::shared_ptr<ScStyleSaveData> &, SfxStyleFamily, bool, bool, SdrObject *, ESelection)::[lambda(int) (instance 1)]::lambda([lambda(int) (instance 1)]&&)()


________________________________________________________________________________________________________
*** CID 1633935:  Uninitialized members  (UNINIT_CTOR)
/sc/source/ui/view/tabvwsha.cxx: 1585 in ScTabViewShell::ExecuteStyleEdit(SfxRequest &, SfxStyleSheetBase *, unsigned short, unsigned short, bool, bool, const std::shared_ptr<ScStyleSaveData> &, const std::shared_ptr<ScStyleSaveData> &, SfxStyleFamily, bool, bool, SdrObject *, ESelection)::[lambda(int) (instance 1)]::lambda([lambda(int) (instance 1)]&&)()
1579         else
1580             pDlg = pFact->CreateScStyleDlg(pDialogParent, *pStyleSheet, bPage);
1581     
1582         auto xRequest = std::make_shared<SfxRequest>(rReq);
1583         rReq.Ignore(); // the 'old' request is not relevant any more
1584         pDlg->StartExecuteAsync(
>>>     CID 1633935:  Uninitialized members  (UNINIT_CTOR)
>>>     Non-static class member "this" is not initialized in this constructor nor in any functions that it calls.
1585             [this, pDlg, xRequest=std::move(xRequest), pStyleSheet,
1586                 nRetMask, xOldSet=std::move(xOldSet), nSlotId, bAddUndo, bUndo,
1587                 xOldData = rOldData, xNewData = rNewData, aOldName, eFamily, bStyleToMarked,
1588                 bListAction, pEditObject, aSelection]
1589             (sal_Int32 nResult) mutable -> void
1590             {

** CID 1633934:  Uninitialized members  (UNINIT_CTOR)
/sc/source/ui/view/tabvwsha.cxx: 1585 in ScTabViewShell::ExecuteStyleEdit(SfxRequest &, SfxStyleSheetBase *, unsigned short, unsigned short, bool, bool, const std::shared_ptr<ScStyleSaveData> &, const std::shared_ptr<ScStyleSaveData> &, SfxStyleFamily, bool, bool, SdrObject *, ESelection)::[lambda(int) (instance 1)]::lambda(const [lambda(int) (instance 1)]&)()


________________________________________________________________________________________________________
*** CID 1633934:  Uninitialized members  (UNINIT_CTOR)
/sc/source/ui/view/tabvwsha.cxx: 1585 in ScTabViewShell::ExecuteStyleEdit(SfxRequest &, SfxStyleSheetBase *, unsigned short, unsigned short, bool, bool, const std::shared_ptr<ScStyleSaveData> &, const std::shared_ptr<ScStyleSaveData> &, SfxStyleFamily, bool, bool, SdrObject *, ESelection)::[lambda(int) (instance 1)]::lambda(const [lambda(int) (instance 1)]&)()
1579         else
1580             pDlg = pFact->CreateScStyleDlg(pDialogParent, *pStyleSheet, bPage);
1581     
1582         auto xRequest = std::make_shared<SfxRequest>(rReq);
1583         rReq.Ignore(); // the 'old' request is not relevant any more
1584         pDlg->StartExecuteAsync(
>>>     CID 1633934:  Uninitialized members  (UNINIT_CTOR)
>>>     Non-static class member "this" is not initialized in this constructor nor in any functions that it calls.
1585             [this, pDlg, xRequest=std::move(xRequest), pStyleSheet,
1586                 nRetMask, xOldSet=std::move(xOldSet), nSlotId, bAddUndo, bUndo,
1587                 xOldData = rOldData, xNewData = rNewData, aOldName, eFamily, bStyleToMarked,
1588                 bListAction, pEditObject, aSelection]
1589             (sal_Int32 nResult) mutable -> void
1590             {


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu6VvXBlQRUbS683tC8265rGNPXqJ1ffcoLZCnTuJFQbNcTEkb4XaEQkzovKhJ5DB3c-3DJN5D_A9M4dSy7guk8NP6DcfgslOyvJRzavztVIKj6nRqYjYpWom7SJFyX0y710bz0kUGtHGpR6qDpn6ozu-2BMkyvYlRtFeeMQrxKry58D7u5prXlcy07tAj-2FeEYh-2FtMlCU14X9qPAZ1Gh7NtCoy6e0i32rsXBN0wsPKMl2U-2FsqTUPEMT4kEGUxA7Aqfz8qokubR4GDG9bi9TmgPSgttLONSIoATT5I23ljnnjq-2FcUcB9l5PXc-3D



More information about the LibreOffice mailing list