New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Tue Feb 13 16:25:11 UTC 2018


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.
5 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 1429470:  Error handling issues  (UNCAUGHT_EXCEPT)
/sfx2/source/view/viewfrm.cxx: 298 in SfxViewFrame::ExecReload_Impl(SfxRequest &)::ReadOnlyUIGuard::~ReadOnlyUIGuard()()


________________________________________________________________________________________________________
*** CID 1429470:  Error handling issues  (UNCAUGHT_EXCEPT)
/sfx2/source/view/viewfrm.cxx: 298 in SfxViewFrame::ExecReload_Impl(SfxRequest &)::ReadOnlyUIGuard::~ReadOnlyUIGuard()()
292                 // Only change read-only UI and remove info bar when we succeed
293                 struct ReadOnlyUIGuard
294                 {
295                     SfxViewFrame* m_pFrame;
296                     SfxObjectShell* m_pSh;
297                     bool m_bSetRO;
>>>     CID 1429470:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::RuntimeException" is thrown but the throw list "throw()" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
298                     ~ReadOnlyUIGuard()
299                     {
300                         if (m_bSetRO != m_pSh->IsReadOnlyUI())
301                         {
302                             m_pSh->SetReadOnlyUI(m_bSetRO);
303                             if (!m_bSetRO)


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRZBnDJeNb0HijxaS4JNJPxk3kpyAm2AYqo71yXmnOxB72ibeUH-2F-2F1Lhi9AZq3dRu-2F4-3D_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyj7BYMPlC0wzu-2F1Daoc3KAPG-2BQloFQOV0R19n57CKdazJbcAhF5oPMvbRvh5p4RiqFm9hwtLWs-2FASwENjShsXKpkYgMhXRPXrXg3NlUFmRrnl9slO3bpq-2Ftdk4VA4nGOURU1-2FS3av0fE3LOCqwa4UDnfpspcJTicOTEvqtz2n-2BiI-3D



More information about the LibreOffice mailing list