New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Mon Apr 17 07:43:17 UTC 2017


Hi,

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

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


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


________________________________________________________________________________________________________
*** CID 1405196:  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 1405196:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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 1405195:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/text/porfld.cxx: 796 in SwGrfNumPortion::~SwGrfNumPortion()()


________________________________________________________________________________________________________
*** CID 1405195:  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 1405195:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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 1405194:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/txtnode/atrftn.cxx: 258 in SwTextFootnote::~SwTextFootnote()()


________________________________________________________________________________________________________
*** CID 1405194:  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 1405194:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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 1405193:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/docnode/node.cxx: 1006 in SwContentNode::~SwContentNode()()


________________________________________________________________________________________________________
*** CID 1405193:  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 1405193:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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 1405192:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/undo/undel.cxx: 519 in SwUndoDelete::~SwUndoDelete()()


________________________________________________________________________________________________________
*** CID 1405192:  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 1405192:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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 1405191:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/doc/list.cxx: 99 in SwListImpl::~SwListImpl()()


________________________________________________________________________________________________________
*** CID 1405191:  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 1405191:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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 1405190:    (UNCAUGHT_EXCEPT)
/sw/source/core/layout/frmtool.cxx: 102 in SwFrameNotify::~SwFrameNotify()()
/sw/source/core/layout/frmtool.cxx: 102 in SwFrameNotify::~SwFrameNotify()()
/sw/source/core/layout/frmtool.cxx: 102 in SwFrameNotify::~SwFrameNotify()()
/sw/source/core/layout/frmtool.cxx: 102 in SwFrameNotify::~SwFrameNotify()()


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

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


________________________________________________________________________________________________________
*** CID 1405189:  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 1405189:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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 1405188:    (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 1405188:    (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 1405188:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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 1405188:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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 1405188:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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 1405188:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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 1405187:    (UNCAUGHT_EXCEPT)
/sw/source/core/txtnode/ndtxt.cxx: 4446 in <unnamed>::HandleSetAttrAtTextNode::~HandleSetAttrAtTextNode()()
/sw/source/core/txtnode/ndtxt.cxx: 4446 in <unnamed>::HandleSetAttrAtTextNode::~HandleSetAttrAtTextNode()()


________________________________________________________________________________________________________
*** CID 1405187:    (UNCAUGHT_EXCEPT)
/sw/source/core/txtnode/ndtxt.cxx: 4446 in <unnamed>::HandleSetAttrAtTextNode::~HandleSetAttrAtTextNode()()
4440                 {
4441                     mbOutlineLevelSet = true;
4442                 }
4443             }
4444         }
4445     
>>>     CID 1405187:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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().
4446         HandleSetAttrAtTextNode::~HandleSetAttrAtTextNode()
4447         {
4448             if ( mbAddTextNodeToList )
4449             {
4450                 SwNumRule* pNumRuleAtTextNode = mrTextNode.GetNumRule();
4451                 if ( pNumRuleAtTextNode )
/sw/source/core/txtnode/ndtxt.cxx: 4446 in <unnamed>::HandleSetAttrAtTextNode::~HandleSetAttrAtTextNode()()
4440                 {
4441                     mbOutlineLevelSet = true;
4442                 }
4443             }
4444         }
4445     
>>>     CID 1405187:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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().
4446         HandleSetAttrAtTextNode::~HandleSetAttrAtTextNode()
4447         {
4448             if ( mbAddTextNodeToList )
4449             {
4450                 SwNumRule* pNumRuleAtTextNode = mrTextNode.GetNumRule();
4451                 if ( pNumRuleAtTextNode )

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


________________________________________________________________________________________________________
*** CID 1405186:  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 1405186:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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 1405185:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/layout/anchoreddrawobject.cxx: 62 in SwPosNotify::~SwPosNotify()()


________________________________________________________________________________________________________
*** CID 1405185:  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 1405185:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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 1405184:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/undo/undobj.cxx: 804 in SwUndoSaveSection::~SwUndoSaveSection()()


________________________________________________________________________________________________________
*** CID 1405184:  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 1405184:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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 1405183:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/docnode/ndtbl.cxx: 2362 in SwTableNode::~SwTableNode()()


________________________________________________________________________________________________________
*** CID 1405183:  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 1405183:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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 1405182:    (UNCAUGHT_EXCEPT)
/sw/source/core/doc/extinput.cxx: 49 in SwExtTextInput::~SwExtTextInput()()
/sw/source/core/doc/extinput.cxx: 49 in SwExtTextInput::~SwExtTextInput()()


________________________________________________________________________________________________________
*** CID 1405182:    (UNCAUGHT_EXCEPT)
/sw/source/core/doc/extinput.cxx: 49 in SwExtTextInput::~SwExtTextInput()()
43         eInputLanguage(LANGUAGE_DONTKNOW)
44     {
45         bIsOverwriteCursor = false;
46         bInsText = true;
47     }
48     
>>>     CID 1405182:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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().
49     SwExtTextInput::~SwExtTextInput()
50     {
51         SwDoc *const pDoc = GetDoc();
52         if (pDoc->IsInDtor()) { return; /* #i58606# */ }
53     
54         SwTextNode* pTNd = GetPoint()->nNode.GetNode().GetTextNode();
/sw/source/core/doc/extinput.cxx: 49 in SwExtTextInput::~SwExtTextInput()()
43         eInputLanguage(LANGUAGE_DONTKNOW)
44     {
45         bIsOverwriteCursor = false;
46         bInsText = true;
47     }
48     
>>>     CID 1405182:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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().
49     SwExtTextInput::~SwExtTextInput()
50     {
51         SwDoc *const pDoc = GetDoc();
52         if (pDoc->IsInDtor()) { return; /* #i58606# */ }
53     
54         SwTextNode* pTNd = GetPoint()->nNode.GetNode().GetTextNode();

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


________________________________________________________________________________________________________
*** CID 1405181:    (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 1405181:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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 1405181:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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 1405180:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/crsr/crsrsh.cxx: 1426 in SwNotifyAccAboutInvalidTextSelections::~SwNotifyAccAboutInvalidTextSelections()()


________________________________________________________________________________________________________
*** CID 1405180:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/crsr/crsrsh.cxx: 1426 in SwNotifyAccAboutInvalidTextSelections::~SwNotifyAccAboutInvalidTextSelections()()
1420     
1421         public:
1422             explicit SwNotifyAccAboutInvalidTextSelections( SwCursorShell& _rCursorSh )
1423                 : mrCursorSh( _rCursorSh )
1424             {}
1425     
>>>     CID 1405180:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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().
1426             ~SwNotifyAccAboutInvalidTextSelections()
1427             {
1428                 mrCursorSh.InvalidateAccessibleParaTextSelection();
1429             }
1430     };
1431     

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


________________________________________________________________________________________________________
*** CID 1405179:  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 1405179:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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 1405178:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/undo/unins.cxx: 193 in SwUndoInsert::~SwUndoInsert()()


________________________________________________________________________________________________________
*** CID 1405178:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/undo/unins.cxx: 193 in SwUndoInsert::~SwUndoInsert()()
187                 }
188             }
189         }
190         return bRet;
191     }
192     
>>>     CID 1405178:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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 1405177:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/undo/untblk.cxx: 134 in SwUndoInserts::~SwUndoInserts()()


________________________________________________________________________________________________________
*** CID 1405177:  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 1405177:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyalt-2FdfrBrikf5N1qrphlBH2hqSgV-2F965iTpUPGKGJ-2ByeZVmiZEASVGbDeQ2-2B0MJsd0wtwsLUiFsLKbi1mykwDqjflqcGySJ6gdr-2F3mM-2B26sqTqznN1FakPJfkdTUytr3D5TTWPMQW0uVJbumLJyz2MjPzb6-2BorAdpYPjjtT-2FGS8-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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyalt-2FdfrBrikf5N1qrphlBNGzDwL6U6zqk6wWMYi8k20eqCfeZ-2BbU9YHxCU4x-2F-2BYw0xy3lQnvgVQUaEW6U4qA0-2F9AYCjOpagwrbZRaWkNlKkO-2BjbLN1pTTNWbYOiDwFcbNPt5NFi2tScVf6jGhPTdRDKBkHDRajgXxSJ2Tdz5H6A-3D



More information about the LibreOffice mailing list