New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Wed Feb 15 02:45:17 UTC 2017


Hi,

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

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


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


________________________________________________________________________________________________________
*** CID 1400552:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/undo/unins.cxx: 193 in SwUndoInsert::~SwUndoInsert()()
187                 }
188             }
189         }
190         return bRet;
191     }
192     
>>>     CID 1400552:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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 1400551:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/undo/undel.cxx: 519 in SwUndoDelete::~SwUndoDelete()()


________________________________________________________________________________________________________
*** CID 1400551:  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 1400551:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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 1400550:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/text/redlnitr.cxx: 185 in SwRedlineItr::~SwRedlineItr()()


________________________________________________________________________________________________________
*** CID 1400550:  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 1400550:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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 1400549:    (UNCAUGHT_EXCEPT)
/sw/source/core/layout/frmtool.cxx: 446 in SwLayNotify::~SwLayNotify()()
/sw/source/core/layout/frmtool.cxx: 446 in SwLayNotify::~SwLayNotify()()


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

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


________________________________________________________________________________________________________
*** CID 1400548:  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 1400548:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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 1400547:    (UNCAUGHT_EXCEPT)
/sw/source/core/txtnode/ndtxt.cxx: 4444 in <unnamed>::HandleSetAttrAtTextNode::~HandleSetAttrAtTextNode()()
/sw/source/core/txtnode/ndtxt.cxx: 4444 in <unnamed>::HandleSetAttrAtTextNode::~HandleSetAttrAtTextNode()()


________________________________________________________________________________________________________
*** CID 1400547:    (UNCAUGHT_EXCEPT)
/sw/source/core/txtnode/ndtxt.cxx: 4444 in <unnamed>::HandleSetAttrAtTextNode::~HandleSetAttrAtTextNode()()
4438                 {
4439                     mbOutlineLevelSet = true;
4440                 }
4441             }
4442         }
4443     
>>>     CID 1400547:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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().
4444         HandleSetAttrAtTextNode::~HandleSetAttrAtTextNode()
4445         {
4446             if ( mbAddTextNodeToList )
4447             {
4448                 SwNumRule* pNumRuleAtTextNode = mrTextNode.GetNumRule();
4449                 if ( pNumRuleAtTextNode )
/sw/source/core/txtnode/ndtxt.cxx: 4444 in <unnamed>::HandleSetAttrAtTextNode::~HandleSetAttrAtTextNode()()
4438                 {
4439                     mbOutlineLevelSet = true;
4440                 }
4441             }
4442         }
4443     
>>>     CID 1400547:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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().
4444         HandleSetAttrAtTextNode::~HandleSetAttrAtTextNode()
4445         {
4446             if ( mbAddTextNodeToList )
4447             {
4448                 SwNumRule* pNumRuleAtTextNode = mrTextNode.GetNumRule();
4449                 if ( pNumRuleAtTextNode )

** CID 1400546:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/undo/undobj.cxx: 804 in SwUndoSaveSection::~SwUndoSaveSection()()


________________________________________________________________________________________________________
*** CID 1400546:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/undo/undobj.cxx: 804 in SwUndoSaveSection::~SwUndoSaveSection()()
798     // save a complete section into UndoNodes array
799     SwUndoSaveSection::SwUndoSaveSection()
800         : pMvStt( nullptr ), pRedlSaveData( nullptr ), nMvLen( 0 ), nStartPos( ULONG_MAX )
801     {
802     }
803     
>>>     CID 1400546:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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().
804     SwUndoSaveSection::~SwUndoSaveSection()
805     {
806         if( pMvStt )        // delete also the section from UndoNodes array
807         {
808             // SaveSection saves the content in the PostIt section.
809             SwNodes& rUNds = pMvStt->GetNode().GetNodes();

** CID 1400545:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/graphic/ndgrf.cxx: 290 in SwGrfNode::~SwGrfNode()()


________________________________________________________________________________________________________
*** CID 1400545:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/graphic/ndgrf.cxx: 290 in SwGrfNode::~SwGrfNode()()
284             ModifyNotification( &aMsgHint, &aMsgHint );
285         }
286     
287         return bReadGrf;
288     }
289     
>>>     CID 1400545:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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().
290     SwGrfNode::~SwGrfNode()
291     {
292         delete mpReplacementGraphic;
293         mpReplacementGraphic = nullptr;
294     
295         // #i73788#

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


________________________________________________________________________________________________________
*** CID 1400544:  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 1400544:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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 1400543:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/edit/edws.cxx: 155 in SwActContext::~SwActContext()()


________________________________________________________________________________________________________
*** CID 1400543:  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 1400543:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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 1400542:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/txtnode/ndtxt.cxx: 243 in SwTextNode::~SwTextNode()()


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

** CID 1400541:    (UNCAUGHT_EXCEPT)
/sw/source/core/layout/frmtool.cxx: 104 in SwFrameNotify::~SwFrameNotify()()
/sw/source/core/layout/frmtool.cxx: 104 in SwFrameNotify::~SwFrameNotify()()
/sw/source/core/layout/frmtool.cxx: 104 in SwFrameNotify::~SwFrameNotify()()
/sw/source/core/layout/frmtool.cxx: 104 in SwFrameNotify::~SwFrameNotify()()


________________________________________________________________________________________________________
*** CID 1400541:    (UNCAUGHT_EXCEPT)
/sw/source/core/layout/frmtool.cxx: 104 in SwFrameNotify::~SwFrameNotify()()
98             mnFlyAnchorOfstNoWrap = 0;
99         }
100     
101         mbHadFollow = pF->IsContentFrame() && static_cast<SwContentFrame*>(pF)->GetFollow();
102     }
103     
>>>     CID 1400541:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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().
104     SwFrameNotify::~SwFrameNotify()
105     {
106         SwRectFnSet aRectFnSet(mpFrame);
107         const bool bAbsP = aRectFnSet.PosDiff(maFrame, mpFrame->Frame());
108         const bool bChgWidth =
109                 aRectFnSet.GetWidth(maFrame) != aRectFnSet.GetWidth(mpFrame->Frame());
/sw/source/core/layout/frmtool.cxx: 104 in SwFrameNotify::~SwFrameNotify()()
98             mnFlyAnchorOfstNoWrap = 0;
99         }
100     
101         mbHadFollow = pF->IsContentFrame() && static_cast<SwContentFrame*>(pF)->GetFollow();
102     }
103     
>>>     CID 1400541:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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().
104     SwFrameNotify::~SwFrameNotify()
105     {
106         SwRectFnSet aRectFnSet(mpFrame);
107         const bool bAbsP = aRectFnSet.PosDiff(maFrame, mpFrame->Frame());
108         const bool bChgWidth =
109                 aRectFnSet.GetWidth(maFrame) != aRectFnSet.GetWidth(mpFrame->Frame());
/sw/source/core/layout/frmtool.cxx: 104 in SwFrameNotify::~SwFrameNotify()()
98             mnFlyAnchorOfstNoWrap = 0;
99         }
100     
101         mbHadFollow = pF->IsContentFrame() && static_cast<SwContentFrame*>(pF)->GetFollow();
102     }
103     
>>>     CID 1400541:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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().
104     SwFrameNotify::~SwFrameNotify()
105     {
106         SwRectFnSet aRectFnSet(mpFrame);
107         const bool bAbsP = aRectFnSet.PosDiff(maFrame, mpFrame->Frame());
108         const bool bChgWidth =
109                 aRectFnSet.GetWidth(maFrame) != aRectFnSet.GetWidth(mpFrame->Frame());
/sw/source/core/layout/frmtool.cxx: 104 in SwFrameNotify::~SwFrameNotify()()
98             mnFlyAnchorOfstNoWrap = 0;
99         }
100     
101         mbHadFollow = pF->IsContentFrame() && static_cast<SwContentFrame*>(pF)->GetFollow();
102     }
103     
>>>     CID 1400541:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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().
104     SwFrameNotify::~SwFrameNotify()
105     {
106         SwRectFnSet aRectFnSet(mpFrame);
107         const bool bAbsP = aRectFnSet.PosDiff(maFrame, mpFrame->Frame());
108         const bool bChgWidth =
109                 aRectFnSet.GetWidth(maFrame) != aRectFnSet.GetWidth(mpFrame->Frame());

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


________________________________________________________________________________________________________
*** CID 1400540:  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 1400540:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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 1400539:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/docnode/ndtbl.cxx: 2362 in SwTableNode::~SwTableNode()()


________________________________________________________________________________________________________
*** CID 1400539:  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 1400539:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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 1400538:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/layout/anchoreddrawobject.cxx: 62 in SwPosNotify::~SwPosNotify()()


________________________________________________________________________________________________________
*** CID 1400538:  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 1400538:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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             {

** CID 1400537:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/crsr/crsrsh.cxx: 1427 in SwNotifyAccAboutInvalidTextSelections::~SwNotifyAccAboutInvalidTextSelections()()


________________________________________________________________________________________________________
*** CID 1400537:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/crsr/crsrsh.cxx: 1427 in SwNotifyAccAboutInvalidTextSelections::~SwNotifyAccAboutInvalidTextSelections()()
1421     
1422         public:
1423             explicit SwNotifyAccAboutInvalidTextSelections( SwCursorShell& _rCursorSh )
1424                 : mrCursorSh( _rCursorSh )
1425             {}
1426     
>>>     CID 1400537:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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().
1427             ~SwNotifyAccAboutInvalidTextSelections()
1428             {
1429                 mrCursorSh.InvalidateAccessibleParaTextSelection();
1430             }
1431     };
1432     

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


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

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


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

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


________________________________________________________________________________________________________
*** CID 1400534:  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 1400534:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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 1400533:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/undo/untblk.cxx: 134 in SwUndoInserts::~SwUndoInserts()()


________________________________________________________________________________________________________
*** CID 1400533:  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 1400533:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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();


________________________________________________________________________________________________________
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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpy1deLbqhhlKBSNNfU-2FGwd3c2g-2FlC3rbthy8ewt6teTLm2BbVKY-2BpZgaK7KKZhkNzPmtKxW6V8MkQg9d1BcJJ3ldI-2BclgDlB5066kiR13JSLL-2BblDsOG-2BG-2B6vfaSHiDUYVxcjS10XvGA3jYN6690ipeb7RaMDjBncGcAC3u3h6tkk-3D

To manage Coverity Scan email notifications for "libreoffice at lists.freedesktop.org", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4k1FZJSDV-2FTHi5VQof9xGafB4oBwGYxuHHknceo2QLpCrZ44Ciy7AqBR2QyX6OCB5N5X-2B1MAElavPQhH6nLwozJzqOkt2k8uOkYf2ZoppNa9QVe0T3fEZVQ7Kky1tOkLz_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpy1deLbqhhlKBSNNfU-2FGwd3dU5nkKVrfFCVnlNTJuzH1dYNNuzBzhwM-2BrW9xwd4I8Inz6xfINvqcqwe8Qg4MUmLH6IrxOOd2JpD2ILWYXvIbcDspgN-2F3e7cV7Lg5l-2FTi0MlaCAGSGOvLSpFftuzWdQZYihkUXXQbdqCxXTmhe6QfA-3D



More information about the LibreOffice mailing list