Hi,

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

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


** CID 1352648:  Uninitialized members  (UNINIT_CTOR)
/sw/source/filter/ww8/docxattributeoutput.cxx: 8502 in 
DocxAttributeOutput::DocxAttributeOutput(DocxExport &, 
std::shared_ptr<sax_fastparser::FastSerializerHelper>, 
oox::drawingml::DrawingML *)()


________________________________________________________________________________________________________
*** CID 1352648:  Uninitialized members  (UNINIT_CTOR)
/sw/source/filter/ww8/docxattributeoutput.cxx: 8502 in 
DocxAttributeOutput::DocxAttributeOutput(DocxExport &, 
std::shared_ptr<sax_fastparser::FastSerializerHelper>, 
oox::drawingml::DrawingML *)()
8496           m_setFootnote(false)
8497         , m_nParagraphSdtPrToken(0)
8498         , m_nRunSdtPrToken(0)
8499         , m_nStateOfFlyFrame( FLY_NOT_PROCESSED )
8500         , m_bParagraphSdtHasId(false)
8501     {
>>>     CID 1352648:  Uninitialized members  (UNINIT_CTOR)
>>>     Non-static class member "m_bExportingOutline" is not initialized in 
>>> this constructor nor in any functions that it calls.
8502     }
8503     
8504     DocxAttributeOutput::~DocxAttributeOutput()
8505     {
8506     }
8507     

** CID 1352647:    (UNCAUGHT_EXCEPT)
/sc/source/ui/vba/vbaformat.cxx: 589 in 
ScVbaFormat<ooo::vba::excel::XStyle>::getFormulaHidden()()
/sc/source/ui/vba/vbaformat.cxx: 589 in 
ScVbaFormat<ooo::vba::excel::XRange>::getFormulaHidden()()


________________________________________________________________________________________________________
*** CID 1352647:    (UNCAUGHT_EXCEPT)
/sc/source/ui/vba/vbaformat.cxx: 589 in 
ScVbaFormat<ooo::vba::excel::XStyle>::getFormulaHidden()()
583         }
584         return aCellProtection;
585     }
586     
587     template< typename... Ifc >
588     uno::Any SAL_CALL
>>>     CID 1352647:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "mdds::general_error" is thrown but the throw list 
>>> "throw(com::sun::star::uno::RuntimeException, 
>>> com::sun::star::script::BasicErrorException)" doesn't allow it to be 
>>> thrown. This will cause a call to unexpected() which usually calls 
>>> terminate().
589     ScVbaFormat< Ifc... >::getFormulaHidden(  ) throw 
(script::BasicErrorException, uno::RuntimeException)
590     {
591         uno::Any aBoolRet = aNULL();
592         try
593         {
594             OUString sCellProt( SC_UNONAME_CELLPRO );
/sc/source/ui/vba/vbaformat.cxx: 589 in 
ScVbaFormat<ooo::vba::excel::XRange>::getFormulaHidden()()
583         }
584         return aCellProtection;
585     }
586     
587     template< typename... Ifc >
588     uno::Any SAL_CALL
>>>     CID 1352647:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "mdds::general_error" is thrown but the throw list 
>>> "throw(com::sun::star::uno::RuntimeException, 
>>> com::sun::star::script::BasicErrorException)" doesn't allow it to be 
>>> thrown. This will cause a call to unexpected() which usually calls 
>>> terminate().
589     ScVbaFormat< Ifc... >::getFormulaHidden(  ) throw 
(script::BasicErrorException, uno::RuntimeException)
590     {
591         uno::Any aBoolRet = aNULL();
592         try
593         {
594             OUString sCellProt( SC_UNONAME_CELLPRO );

** CID 1352646:    (UNCAUGHT_EXCEPT)
/sc/source/ui/vba/vbaformat.cxx: 555 in 
ScVbaFormat<ooo::vba::excel::XStyle>::getLocked()()
/sc/source/ui/vba/vbaformat.cxx: 555 in 
ScVbaFormat<ooo::vba::excel::XRange>::getLocked()()


________________________________________________________________________________________________________
*** CID 1352646:    (UNCAUGHT_EXCEPT)
/sc/source/ui/vba/vbaformat.cxx: 555 in 
ScVbaFormat<ooo::vba::excel::XStyle>::getLocked()()
549             DebugHelper::basicexception( ERRCODE_BASIC_METHOD_FAILED, 
OUString() );
550         }
551     }
552     
553     template< typename... Ifc >
554     uno::Any SAL_CALL
>>>     CID 1352646:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "mdds::general_error" is thrown but the throw list 
>>> "throw(com::sun::star::uno::RuntimeException, 
>>> com::sun::star::script::BasicErrorException)" doesn't allow it to be 
>>> thrown. This will cause a call to unexpected() which usually calls 
>>> terminate().
555     ScVbaFormat< Ifc... >::getLocked(  ) throw 
(script::BasicErrorException, uno::RuntimeException)
556     {
557         uno::Any aCellProtection = aNULL();
558         try
559         {
560             OUString sCellProt( SC_UNONAME_CELLPRO );
/sc/source/ui/vba/vbaformat.cxx: 555 in 
ScVbaFormat<ooo::vba::excel::XRange>::getLocked()()
549             DebugHelper::basicexception( ERRCODE_BASIC_METHOD_FAILED, 
OUString() );
550         }
551     }
552     
553     template< typename... Ifc >
554     uno::Any SAL_CALL
>>>     CID 1352646:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "mdds::general_error" is thrown but the throw list 
>>> "throw(com::sun::star::uno::RuntimeException, 
>>> com::sun::star::script::BasicErrorException)" doesn't allow it to be 
>>> thrown. This will cause a call to unexpected() which usually calls 
>>> terminate().
555     ScVbaFormat< Ifc... >::getLocked(  ) throw 
(script::BasicErrorException, uno::RuntimeException)
556     {
557         uno::Any aCellProtection = aNULL();
558         try
559         {
560             OUString sCellProt( SC_UNONAME_CELLPRO );

** CID 1352645:  Error handling issues  (UNCAUGHT_EXCEPT)
/sc/source/ui/vba/vbarange.cxx: 2635 in ScVbaRange::getWrapText()()


________________________________________________________________________________________________________
*** CID 1352645:  Error handling issues  (UNCAUGHT_EXCEPT)
/sc/source/ui/vba/vbarange.cxx: 2635 in ScVbaRange::getWrapText()()
2629         uno::Reference< beans::XPropertySet > xProps(mxRange, 
::uno::UNO_QUERY_THROW );
2630         bool bIsWrapped = extractBoolFromAny( aIsWrapped );
2631         xProps->setPropertyValue( "IsTextWrapped", uno::Any( bIsWrapped ) 
);
2632     }
2633     
2634     uno::Any
>>>     CID 1352645:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "mdds::general_error" is thrown but the throw list 
>>> "throw(com::sun::star::uno::RuntimeException, 
>>> com::sun::star::script::BasicErrorException)" doesn't allow it to be 
>>> thrown. This will cause a call to unexpected() which usually calls 
>>> terminate().
2635     ScVbaRange::getWrapText() throw (script::BasicErrorException, 
uno::RuntimeException)
2636     {
2637         if ( m_Areas->getCount() > 1 )
2638         {
2639             sal_Int32 nItems = m_Areas->getCount();
2640             uno::Any aResult;


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://scan.coverity.com/projects/libreoffice?tab=overview

To manage Coverity Scan email notifications for 
"libreoffice@lists.freedesktop.org", click 
https://scan.coverity.com/subscriptions/edit?email=libreoffice%40lists.freedesktop.org&token=d6481d718a775246b2340f282ebe5939

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to