New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Sat Aug 6 10:30:01 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.
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 1507764:  Incorrect expression  (BAD_COMPARE)
/basctl/source/basicide/bastypes.cxx: 75 in basctl::BaseWindow::dispose()()


________________________________________________________________________________________________________
*** CID 1507764:  Incorrect expression  (BAD_COMPARE)
/basctl/source/basicide/bastypes.cxx: 75 in basctl::BaseWindow::dispose()()
69     {
70         disposeOnce();
71     }
72     
73     void BaseWindow::dispose()
74     {
>>>     CID 1507764:  Incorrect expression  (BAD_COMPARE)
>>>     Comparing logical negation "!this->pShellVScrollBar.operator bool()" against "this->isDisposed()" is likely to be incorrect.
75         if (pShellVScrollBar && !pShellVScrollBar>isDisposed())
76             pShellVScrollBar->SetScrollHdl( Link<weld::Scrollbar&,void>() );
77         if (pShellHScrollBar && !pShellHScrollBar->isDisposed())
78             pShellHScrollBar->SetScrollHdl( Link<weld::Scrollbar&,void>() );
79         pShellVScrollBar.clear();
80         pShellHScrollBar.clear();


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3D7MZ-_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiajJW2Xu1nIbPMJt4rXQkJukVZGuGqIC-2FmAAp0WYsTtT3XHFuF5oKKQfjb14vUaNShw28jhuU5nkJH6vBkUFy3khbjI9tDRq2x39kd-2BnS5k-2FaCqJH7noCAa2ArX-2FJQ4YJuO9uQARRbtzPz0mvqy5ZpatpI-2Fl7SauWetnJ4J3bZ38-3D



More information about the LibreOffice mailing list