New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Sat Jul 3 04:10:26 UTC 2021


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.
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 2 of 2 defect(s)


** CID 1486703:  Control flow issues  (DEADCODE)
/sd/source/filter/eppt/pptx-epptooxml.cxx: 1573 in oox::core::PowerPointShapeExport::WritePlaceholderShape(const com::sun::star::uno::Reference<com::sun::star::drawing::XShape> &, oox::core::PlaceholderType)()


________________________________________________________________________________________________________
*** CID 1486703:  Control flow issues  (DEADCODE)
/sd/source/filter/eppt/pptx-epptooxml.cxx: 1573 in oox::core::PowerPointShapeExport::WritePlaceholderShape(const com::sun::star::uno::Reference<com::sun::star::drawing::XShape> &, oox::core::PlaceholderType)()
1567     
1568         SAL_INFO("sd.eppt", "write placeholder " << pType);
1569         if (bUsePlaceholderIndex)
1570         {
1571             if ((mePageType == PageType::LAYOUT || mePageType == PageType::NORMAL)
1572                 && ePlaceholder == Outliner)
>>>     CID 1486703:  Control flow issues  (DEADCODE)
>>>     Execution cannot reach the expression "this->mpFS->singleElementNS(3808, 3974, oox::XML_idx, rtl::OStringNumber<int>(rtl::OString::number(static_cast<oox::core::PowerPointExport *>(this->GetFB())->CreateNewPlaceholderIndex(xShape), 10)))" inside this statement: "this->mpFS->singleElementNS...".
1573                 mpFS->singleElementNS(
1574                     XML_p, XML_ph, XML_idx,
1575                     OString::number(
1576                         static_cast<PowerPointExport*>(GetFB())->CreateNewPlaceholderIndex(xShape)));
1577             else
1578                 mpFS->singleElementNS(

** CID 1486702:  Error handling issues  (UNCAUGHT_EXCEPT)
/vcl/jsdialog/jsdialogbuilder.cxx: 243 in JSDialogSender::~JSDialogSender()()


________________________________________________________________________________________________________
*** CID 1486702:  Error handling issues  (UNCAUGHT_EXCEPT)
/vcl/jsdialog/jsdialogbuilder.cxx: 243 in JSDialogSender::~JSDialogSender()()
237     
238         clearQueue();
239     }
240     
241     void JSDialogNotifyIdle::clearQueue() { m_aMessageQueue.clear(); }
242     
>>>     CID 1486702:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::RuntimeException" is thrown but the throw list "noexcept" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
243     JSDialogSender::~JSDialogSender()
244     {
245         sendClose();
246         mpIdleNotify->Stop();
247     }
248     


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DAg6w_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJi4-2BrCDaMf6oml1NLpwRWtmgiBjuJ0TAyK8RbkHGPqD-2F-2B-2BSNNYBDioMdGyHad0HCSlr78LmKdJKFlzBbbdgjaWxRNMUI-2Fc4mQwK8T50-2FljZEFymEKTxb-2BVtmcQK7zHlIrVIxwxc4l5KkLqHRnjwEYpUMK-2FGx9npReHaZHb23O-2Bi7s-3D



More information about the LibreOffice mailing list