Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index



Hi,

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

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


** CID 1404815:    (UNCAUGHT_EXCEPT)
/sfx2/source/view/viewfrm.cxx: 1378 in SfxViewFrame::~SfxViewFrame()()
/sfx2/source/view/viewfrm.cxx: 1378 in SfxViewFrame::~SfxViewFrame()()
/sfx2/source/view/viewfrm.cxx: 1378 in SfxViewFrame::~SfxViewFrame()()


________________________________________________________________________________________________________
*** CID 1404815:    (UNCAUGHT_EXCEPT)
/sfx2/source/view/viewfrm.cxx: 1378 in SfxViewFrame::~SfxViewFrame()()
1372         m_pImpl->pWindow = VclPtr<SfxFrameViewWindow_Impl>::Create( this, rFrame.GetWindow() );
1373         m_pImpl->pWindow->SetSizePixel( rFrame.GetWindow().GetOutputSizePixel() );
1374         rFrame.SetOwnsBindings_Impl( true );
1375         rFrame.CreateWorkWindow_Impl();
1376     }
1377     
    CID 1404815:    (UNCAUGHT_EXCEPT)
    An exception of type "std::length_error" 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().
1378     SfxViewFrame::~SfxViewFrame()
1379     {
1380         m_pImpl->bIsDowning = true;
1381     
1382         if ( SfxViewFrame::Current() == this )
1383             SfxViewFrame::SetViewFrame( nullptr );
/sfx2/source/view/viewfrm.cxx: 1378 in SfxViewFrame::~SfxViewFrame()()
1372         m_pImpl->pWindow = VclPtr<SfxFrameViewWindow_Impl>::Create( this, rFrame.GetWindow() );
1373         m_pImpl->pWindow->SetSizePixel( rFrame.GetWindow().GetOutputSizePixel() );
1374         rFrame.SetOwnsBindings_Impl( true );
1375         rFrame.CreateWorkWindow_Impl();
1376     }
1377     
    CID 1404815:    (UNCAUGHT_EXCEPT)
    An exception of type "std::length_error" 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().
1378     SfxViewFrame::~SfxViewFrame()
1379     {
1380         m_pImpl->bIsDowning = true;
1381     
1382         if ( SfxViewFrame::Current() == this )
1383             SfxViewFrame::SetViewFrame( nullptr );
/sfx2/source/view/viewfrm.cxx: 1378 in SfxViewFrame::~SfxViewFrame()()
1372         m_pImpl->pWindow = VclPtr<SfxFrameViewWindow_Impl>::Create( this, rFrame.GetWindow() );
1373         m_pImpl->pWindow->SetSizePixel( rFrame.GetWindow().GetOutputSizePixel() );
1374         rFrame.SetOwnsBindings_Impl( true );
1375         rFrame.CreateWorkWindow_Impl();
1376     }
1377     
    CID 1404815:    (UNCAUGHT_EXCEPT)
    An exception of type "std::length_error" 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().
1378     SfxViewFrame::~SfxViewFrame()
1379     {
1380         m_pImpl->bIsDowning = true;
1381     
1382         if ( SfxViewFrame::Current() == this )
1383             SfxViewFrame::SetViewFrame( nullptr );

** CID 1404814:  Error handling issues  (UNCAUGHT_EXCEPT)
/usr/include/c++/6.3.1/bits/shared_ptr_base.h: 371 in std::_Sp_counted_ptr<pcr::OBrowserLine *, 
(__gnu_cxx::_Lock_policy)2>::_M_dispose()()


________________________________________________________________________________________________________
*** CID 1404814:  Error handling issues  (UNCAUGHT_EXCEPT)
/usr/include/c++/6.3.1/bits/shared_ptr_base.h: 371 in std::_Sp_counted_ptr<pcr::OBrowserLine *, 
(__gnu_cxx::_Lock_policy)2>::_M_dispose()()
365         public:
366           explicit
367           _Sp_counted_ptr(_Ptr __p) noexcept
368           : _M_ptr(__p) { }
369     
370           virtual void
    CID 1404814:  Error handling issues  (UNCAUGHT_EXCEPT)
    An exception of type "o3tl::divide_by_zero" 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().
371           _M_dispose() noexcept
372           { delete _M_ptr; }
373     
374           virtual void
375           _M_destroy() noexcept
376           { delete this; }

** CID 1404813:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/txtnode/atrftn.cxx: 258 in SwTextFootnote::~SwTextFootnote()()


________________________________________________________________________________________________________
*** CID 1404813:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/txtnode/atrftn.cxx: 258 in SwTextFootnote::~SwTextFootnote()()
252         , m_nSeqNo( USHRT_MAX )
253     {
254         rAttr.m_pTextAttr = this;
255         SetHasDummyChar(true);
256     }
257     
    CID 1404813:  Error handling issues  (UNCAUGHT_EXCEPT)
    An exception of type "o3tl::divide_by_zero" 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().
258     SwTextFootnote::~SwTextFootnote()
259     {
260         SetStartNode( nullptr );
261     }
262     
263     void SwTextFootnote::SetStartNode( const SwNodeIndex *pNewNode, bool bDelNode )

** CID 1404812:  Error handling issues  (UNCAUGHT_EXCEPT)
/sc/source/core/tool/autoform.cxx: 929 in ScAutoFormat::~ScAutoFormat()()


________________________________________________________________________________________________________
*** CID 1404812:  Error handling issues  (UNCAUGHT_EXCEPT)
/sc/source/core/tool/autoform.cxx: 929 in ScAutoFormat::~ScAutoFormat()()
923         for (auto const& it : r.m_Data)
924         {
925             m_Data.insert(std::make_pair(it.first, 
o3tl::make_unique<ScAutoFormatData>(*it.second)));
926         }
927     }
928     
    CID 1404812:  Error handling issues  (UNCAUGHT_EXCEPT)
    An exception of type "o3tl::divide_by_zero" 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().
929     ScAutoFormat::~ScAutoFormat()
930     {
931         //  When modified via StarOne then only the SaveLater flag is set and no saving is done.
932         //  If the flag is set then save now.
933     
934         if (mbSaveLater)

** CID 1404811:  Error handling issues  (UNCAUGHT_EXCEPT)
/sfx2/source/doc/sfxbasemodel.cxx: 388 in SfxOwnFramesLocker::~SfxOwnFramesLocker()()


________________________________________________________________________________________________________
*** CID 1404811:  Error handling issues  (UNCAUGHT_EXCEPT)
/sfx2/source/doc/sfxbasemodel.cxx: 388 in SfxOwnFramesLocker::~SfxOwnFramesLocker()()
382             {
383                 OSL_FAIL( "Not possible to lock the frame window!\n" );
384             }
385         }
386     }
387     
    CID 1404811:  Error handling issues  (UNCAUGHT_EXCEPT)
    An exception of type "std::length_error" 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().
388     SfxOwnFramesLocker::~SfxOwnFramesLocker()
389     {
390         for ( sal_Int32 nInd = 0; nInd < m_aLockedFrames.getLength(); nInd++ )
391         {
392             try
393             {

** CID 1404810:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/docnode/section.cxx: 226 in SwSection::~SwSection()()


________________________________________________________________________________________________________
*** CID 1404810:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/docnode/section.cxx: 226 in SwSection::~SwSection()()
220         if (!m_Data.IsEditInReadonlyFlag()) // edit in readonly sections
221         {
222             m_Data.SetEditInReadonlyFlag( rFormat.GetEditInReadonly().GetValue() );
223         }
224     }
225     
    CID 1404810:  Error handling issues  (UNCAUGHT_EXCEPT)
    An exception of type "o3tl::divide_by_zero" 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().
226     SwSection::~SwSection()
227     {
228         SwSectionFormat* pFormat = GetFormat();
229         if( !pFormat )
230             return;
231     

** CID 1404809:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/undo/undel.cxx: 519 in SwUndoDelete::~SwUndoDelete()()


________________________________________________________________________________________________________
*** CID 1404809:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/undo/undel.cxx: 519 in SwUndoDelete::~SwUndoDelete()()
513         pDelTextNd->EraseText( pStt->nContent, 1 );
514     
515         m_bGroup = true;
516         return true;
517     }
518     
    CID 1404809:  Error handling issues  (UNCAUGHT_EXCEPT)
    An exception of type "com::sun::star::lang::DisposedException" 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().
519     SwUndoDelete::~SwUndoDelete()
520     {
521         delete m_pSttStr;
522         delete m_pEndStr;
523         if( m_pMvStt )        // Delete also the selection from UndoNodes array
524         {

** CID 1404808:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/text/redlnitr.cxx: 185 in SwRedlineItr::~SwRedlineItr()()


________________________________________________________________________________________________________
*** CID 1404808:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/text/redlnitr.cxx: 185 in SwRedlineItr::~SwRedlineItr()()
179             pExt = new SwExtend( *pArr, nExtStart );
180         else
181             pExt = nullptr;
182         Seek (rFnt, 0, COMPLETE_STRING);
183     }
184     
    CID 1404808:  Error handling issues  (UNCAUGHT_EXCEPT)
    An exception of type "o3tl::divide_by_zero" 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().
185     SwRedlineItr::~SwRedlineItr()
186     {
187         Clear( nullptr );
188         delete pSet;
189         delete pExt;
190     }

** CID 1404807:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/docnode/node.cxx: 1006 in SwContentNode::~SwContentNode()()


________________________________________________________________________________________________________
*** CID 1404807:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/docnode/node.cxx: 1006 in SwContentNode::~SwContentNode()()
1000         SwNode( rWhere, nNdType ),
1001         m_pCondColl( nullptr ),
1002         mbSetModifyAtAttr( false )
1003     {
1004     }
1005     
    CID 1404807:  Error handling issues  (UNCAUGHT_EXCEPT)
    An exception of type "com::sun::star::lang::DisposedException" 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().
1006     SwContentNode::~SwContentNode()
1007     {
1008         // The base class SwClient of SwFrame excludes itself from the dependency list!
1009         // Thus, we need to delete all Frames in the dependency list.
1010         DelFrames(false);
1011     

** CID 1404806:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/undo/untblk.cxx: 134 in SwUndoInserts::~SwUndoInserts()()


________________________________________________________________________________________________________
*** CID 1404806:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/undo/untblk.cxx: 134 in SwUndoInserts::~SwUndoInserts()()
128             }
129             delete pFrameFormats;
130             pFrameFormats = nullptr;
131         }
132     }
133     
    CID 1404806:  Error handling issues  (UNCAUGHT_EXCEPT)
    An exception of type "com::sun::star::lang::DisposedException" 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().
134     SwUndoInserts::~SwUndoInserts()
135     {
136         if (m_pUndoNodeIndex) // delete also the section from UndoNodes array
137         {
138             // Insert saves content in IconSection
139             SwNodes& rUNds = m_pUndoNodeIndex->GetNodes();

** CID 1404805:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/txtnode/ndtxt.cxx: 242 in SwTextNode::~SwTextNode()()


________________________________________________________________________________________________________
*** CID 1404805:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/txtnode/ndtxt.cxx: 242 in SwTextNode::~SwTextNode()()
236         m_bNotifiable = true;
237     
238         m_bContainsHiddenChars = m_bHiddenCharsHidePara = false;
239         m_bRecalcHiddenCharFlags = true;
240     }
241     
    CID 1404805:  Error handling issues  (UNCAUGHT_EXCEPT)
    An exception of type "o3tl::divide_by_zero" 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().
242     SwTextNode::~SwTextNode()
243     {
244         // delete only removes the pointer not the array elements!
245         if ( m_pSwpHints )
246         {
247             // do not delete attributes twice when those delte their content

** CID 1404804:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/undo/unins.cxx: 193 in SwUndoInsert::~SwUndoInsert()()


________________________________________________________________________________________________________
*** CID 1404804:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/undo/unins.cxx: 193 in SwUndoInsert::~SwUndoInsert()()
187                 }
188             }
189         }
190         return bRet;
191     }
192     
    CID 1404804:  Error handling issues  (UNCAUGHT_EXCEPT)
    An exception of type "com::sun::star::lang::DisposedException" 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().
193     SwUndoInsert::~SwUndoInsert()
194     {
195         if (m_pUndoNodeIndex) // delete the section from UndoNodes array
196         {
197             // Insert saves the content in IconSection
198             SwNodes& rUNds = m_pUndoNodeIndex->GetNodes();

** CID 1404803:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/undo/unins.cxx: 193 in SwUndoInsert::~SwUndoInsert()()


________________________________________________________________________________________________________
*** CID 1404803:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/undo/unins.cxx: 193 in SwUndoInsert::~SwUndoInsert()()
187                 }
188             }
189         }
190         return bRet;
191     }
192     
    CID 1404803:  Error handling issues  (UNCAUGHT_EXCEPT)
    An exception of type "o3tl::divide_by_zero" 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().
193     SwUndoInsert::~SwUndoInsert()
194     {
195         if (m_pUndoNodeIndex) // delete the section from UndoNodes array
196         {
197             // Insert saves the content in IconSection
198             SwNodes& rUNds = m_pUndoNodeIndex->GetNodes();

** CID 1404802:    (UNCAUGHT_EXCEPT)
/sw/source/core/txtnode/ndtxt.cxx: 4743 in 
<unnamed>::HandleResetAttrAtTextNode::~HandleResetAttrAtTextNode()()
/sw/source/core/txtnode/ndtxt.cxx: 4743 in 
<unnamed>::HandleResetAttrAtTextNode::~HandleResetAttrAtTextNode()()
/sw/source/core/txtnode/ndtxt.cxx: 4743 in 
<unnamed>::HandleResetAttrAtTextNode::~HandleResetAttrAtTextNode()()
/sw/source/core/txtnode/ndtxt.cxx: 4743 in 
<unnamed>::HandleResetAttrAtTextNode::~HandleResetAttrAtTextNode()()


________________________________________________________________________________________________________
*** CID 1404802:    (UNCAUGHT_EXCEPT)
/sw/source/core/txtnode/ndtxt.cxx: 4743 in 
<unnamed>::HandleResetAttrAtTextNode::~HandleResetAttrAtTextNode()()
4737                 rTextNode.RemoveFromList();
4738             }
4739             // #i70748#
4740             mrTextNode.ResetEmptyListStyleDueToResetOutlineLevelAttr();
4741         }
4742     
    CID 1404802:    (UNCAUGHT_EXCEPT)
    An exception of type "o3tl::divide_by_zero" 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().
4743         HandleResetAttrAtTextNode::~HandleResetAttrAtTextNode()
4744         {
4745             if ( mbListStyleOrIdReset && !mrTextNode.IsInList() )
4746             {
4747                 // check, if in spite of the reset of the list style or the list id
4748                 // the paragraph still has to be added to a list.
/sw/source/core/txtnode/ndtxt.cxx: 4743 in 
<unnamed>::HandleResetAttrAtTextNode::~HandleResetAttrAtTextNode()()
4737                 rTextNode.RemoveFromList();
4738             }
4739             // #i70748#
4740             mrTextNode.ResetEmptyListStyleDueToResetOutlineLevelAttr();
4741         }
4742     
    CID 1404802:    (UNCAUGHT_EXCEPT)
    An exception of type "o3tl::divide_by_zero" 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().
4743         HandleResetAttrAtTextNode::~HandleResetAttrAtTextNode()
4744         {
4745             if ( mbListStyleOrIdReset && !mrTextNode.IsInList() )
4746             {
4747                 // check, if in spite of the reset of the list style or the list id
4748                 // the paragraph still has to be added to a list.
/sw/source/core/txtnode/ndtxt.cxx: 4743 in 
<unnamed>::HandleResetAttrAtTextNode::~HandleResetAttrAtTextNode()()
4737                 rTextNode.RemoveFromList();
4738             }
4739             // #i70748#
4740             mrTextNode.ResetEmptyListStyleDueToResetOutlineLevelAttr();
4741         }
4742     
    CID 1404802:    (UNCAUGHT_EXCEPT)
    An exception of type "o3tl::divide_by_zero" 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().
4743         HandleResetAttrAtTextNode::~HandleResetAttrAtTextNode()
4744         {
4745             if ( mbListStyleOrIdReset && !mrTextNode.IsInList() )
4746             {
4747                 // check, if in spite of the reset of the list style or the list id
4748                 // the paragraph still has to be added to a list.
/sw/source/core/txtnode/ndtxt.cxx: 4743 in 
<unnamed>::HandleResetAttrAtTextNode::~HandleResetAttrAtTextNode()()
4737                 rTextNode.RemoveFromList();
4738             }
4739             // #i70748#
4740             mrTextNode.ResetEmptyListStyleDueToResetOutlineLevelAttr();
4741         }
4742     
    CID 1404802:    (UNCAUGHT_EXCEPT)
    An exception of type "o3tl::divide_by_zero" 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().
4743         HandleResetAttrAtTextNode::~HandleResetAttrAtTextNode()
4744         {
4745             if ( mbListStyleOrIdReset && !mrTextNode.IsInList() )
4746             {
4747                 // check, if in spite of the reset of the list style or the list id
4748                 // the paragraph still has to be added to a list.

** CID 1404801:    (UNCAUGHT_EXCEPT)
/sw/source/core/layout/frmtool.cxx: 443 in SwLayNotify::~SwLayNotify()()
/sw/source/core/layout/frmtool.cxx: 443 in SwLayNotify::~SwLayNotify()()


________________________________________________________________________________________________________
*** CID 1404801:    (UNCAUGHT_EXCEPT)
/sw/source/core/layout/frmtool.cxx: 443 in SwLayNotify::~SwLayNotify()()
437             pLowerFrame->InvalidateObjs( false );
438     
439             pLowerFrame = pLowerFrame->GetNext();
440         }
441     }
442     
    CID 1404801:    (UNCAUGHT_EXCEPT)
    An exception of type "com::sun::star::lang::DisposedException" 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().
443     SwLayNotify::~SwLayNotify()
444     {
445         SwLayoutFrame *pLay = static_cast<SwLayoutFrame*>(mpFrame);
446         SwRectFnSet aRectFnSet(pLay);
447         bool bNotify = false;
448         if ( pLay->Prt().SSize() != maPrt.SSize() )
/sw/source/core/layout/frmtool.cxx: 443 in SwLayNotify::~SwLayNotify()()
437             pLowerFrame->InvalidateObjs( false );
438     
439             pLowerFrame = pLowerFrame->GetNext();
440         }
441     }
442     
    CID 1404801:    (UNCAUGHT_EXCEPT)
    An exception of type "com::sun::star::lang::DisposedException" 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().
443     SwLayNotify::~SwLayNotify()
444     {
445         SwLayoutFrame *pLay = static_cast<SwLayoutFrame*>(mpFrame);
446         SwRectFnSet aRectFnSet(pLay);
447         bool bNotify = false;
448         if ( pLay->Prt().SSize() != maPrt.SSize() )

** CID 1404800:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/doc/list.cxx: 99 in SwListImpl::~SwListImpl()()


________________________________________________________________________________________________________
*** CID 1404800:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/doc/list.cxx: 99 in SwListImpl::~SwListImpl()()
93                 pNode = rNodes[nIndex];
94             }
95         }
96         while ( pNode != &rNodes.GetEndOfContent() );
97     }
98     
    CID 1404800:  Error handling issues  (UNCAUGHT_EXCEPT)
    An exception of type "o3tl::divide_by_zero" 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().
99     SwListImpl::~SwListImpl()
100     {
101         tListTrees::iterator aNumberTreeIter;
102         for ( aNumberTreeIter = maListTrees.begin();
103               aNumberTreeIter != maListTrees.end();
104               ++aNumberTreeIter )

** CID 1404799:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/edit/edws.cxx: 155 in SwActContext::~SwActContext()()


________________________________________________________________________________________________________
*** CID 1404799:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/edit/edws.cxx: 155 in SwActContext::~SwActContext()()
149     SwActContext::SwActContext(SwEditShell *pShell)
150         : m_rShell(*pShell)
151     {
152         m_rShell.StartAction();
153     }
154     
    CID 1404799:  Error handling issues  (UNCAUGHT_EXCEPT)
    An exception of type "o3tl::divide_by_zero" 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().
155     SwActContext::~SwActContext()
156     {
157         m_rShell.EndAction();
158     }
159     
160     SwMvContext::SwMvContext(SwEditShell *pShell)

** CID 1404798:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/text/porfld.cxx: 796 in SwGrfNumPortion::~SwGrfNumPortion()()


________________________________________________________________________________________________________
*** CID 1404798:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/text/porfld.cxx: 796 in SwGrfNumPortion::~SwGrfNumPortion()()
790         nFixWidth = Width();
791         nGrfHeight = rGrfSize.Height() + 2 * GRFNUM_SECURE;
792         Height( sal_uInt16(nGrfHeight) );
793         bNoPaint = false;
794     }
795     
    CID 1404798:  Error handling issues  (UNCAUGHT_EXCEPT)
    An exception of type "o3tl::divide_by_zero" 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().
796     SwGrfNumPortion::~SwGrfNumPortion()
797     {
798         if ( IsAnimated() )
799         {
800             Graphic* pGraph = const_cast<Graphic*>(pBrush->GetGraphic());
801             if (pGraph)

** CID 1404797:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/docnode/ndtbl.cxx: 2362 in SwTableNode::~SwTableNode()()


________________________________________________________________________________________________________
*** CID 1404797:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/docnode/ndtbl.cxx: 2362 in SwTableNode::~SwTableNode()()
2356     SwTableNode::SwTableNode( const SwNodeIndex& rIdx )
2357         : SwStartNode( rIdx, SwNodeType::Table )
2358     {
2359         m_pTable = new SwTable;
2360     }
2361     
    CID 1404797:  Error handling issues  (UNCAUGHT_EXCEPT)
    An exception of type "com::sun::star::lang::DisposedException" 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().
2362     SwTableNode::~SwTableNode()
2363     {
2364         // Notify UNO wrappers
2365         SwFrameFormat* pTableFormat = GetTable().GetFrameFormat();
2366         SwPtrMsgPoolItem aMsgHint( RES_REMOVE_UNO_OBJECT,
2367                                     pTableFormat );

** CID 1404796:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/layout/anchoreddrawobject.cxx: 62 in SwPosNotify::~SwPosNotify()()


________________________________________________________________________________________________________
*** CID 1404796:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/layout/anchoreddrawobject.cxx: 62 in SwPosNotify::~SwPosNotify()()
56     {
57         maOldObjRect = mpAnchoredDrawObj->GetObjRect();
58         // --> #i35640# - determine correct page frame
59         mpOldPageFrame = mpAnchoredDrawObj->GetPageFrame();
60     }
61     
    CID 1404796:  Error handling issues  (UNCAUGHT_EXCEPT)
    An exception of type "com::sun::star::lang::DisposedException" 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().
62     SwPosNotify::~SwPosNotify()
63     {
64         if ( maOldObjRect != mpAnchoredDrawObj->GetObjRect() )
65         {
66             if( maOldObjRect.HasArea() && mpOldPageFrame )
67             {


________________________________________________________________________________________________________
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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyZ4oRaZwTz7clt34WNL1RGOi-2BGkNJKf0Ag8YOM49HMCyXjx3ysuxY6gxPt4VYoFtYmpCO87fMyFle9Cg0tMaAyvlH3yoFZGtdOUIyRLWMvLOcnrtiAZhxXn0sxIw8J47L0SfIItHsGd0oMk1B6gMikX-2BM5jj5hcTVT96v4oyhuRs-3D

To manage Coverity Scan email notifications for "libreoffice@lists.freedesktop.org", click 
https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4k1FZJSDV-2FTHi5VQof9xGafB4oBwGYxuHHknceo2QLpCrZ44Ciy7AqBR2QyX6OCB5N5X-2B1MAElavPQhH6nLwozJzqOkt2k8uOkYf2ZoppNa9QVe0T3fEZVQ7Kky1tOkLz_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyZ4oRaZwTz7clt34WNL1RGAW5vZV-2FQRKqSUqqrXD3xX8dYZT48D6NXerDkPxdj2xrebIa5u4cwlSqvxVxL4R5uLjuxqYN5WFiT5yY5ODehUXZwfWFWbtHd1nDwyxZ8ms3ps-2FKB35d8w1GjialPhhJllSXZy6Ww-2Fhmg2Y0QIQW-2Fbw-3D


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.