Hi,
Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.
176 new defect(s) introduced to LibreOffice found with Coverity Scan.
3 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 176 defect(s)
** CID 1308604: Uninitialized members (UNINIT_CTOR)
/sfx2/source/dialog/templdlg.cxx: 107 in
<unnamed>::StyleLBoxString::StyleLBoxString(SvTreeListEntry *, unsigned short, const rtl::OUString
&, const SfxStyleFamily &)()
________________________________________________________________________________________________________
*** CID 1308604: Uninitialized members (UNINIT_CTOR)
/sfx2/source/dialog/templdlg.cxx: 107 in
<unnamed>::StyleLBoxString::StyleLBoxString(SvTreeListEntry *, unsigned short, const rtl::OUString
&, const SfxStyleFamily &)()
101 };
102
103
104 StyleLBoxString::StyleLBoxString(SvTreeListEntry* pEntry, sal_uInt16 nFlags, const
OUString& sText, const SfxStyleFamily& eStyleFamily)
105 : SvLBoxString(pEntry, nFlags, sText)
106 , meStyleFamily(eStyleFamily)
CID 1308604: Uninitialized members (UNINIT_CTOR)
Non-static class member "mpViewData" is not initialized in this constructor nor in any
functions that it calls.
107 {}
108
109 StyleLBoxString::~StyleLBoxString()
110 {}
111
112 void StyleLBoxString::InitViewData(SvTreeListBox* pView, SvTreeListEntry* pEntry,
SvViewDataItem* pViewData)
** CID 1308603: Uninitialized members (UNINIT_CTOR)
/vcl/generic/print/prtsetup.cxx: 92 in RTSDialog::RTSDialog(const psp::PrinterInfo &, vcl::Window
*)()
________________________________________________________________________________________________________
*** CID 1308603: Uninitialized members (UNINIT_CTOR)
/vcl/generic/print/prtsetup.cxx: 92 in RTSDialog::RTSDialog(const psp::PrinterInfo &, vcl::Window
*)()
86 SetText(aTitle.replaceAll("%s", m_aJobData.m_aPrinterName));
87
88 m_pTabControl->SetActivatePageHdl( LINK( this, RTSDialog, ActivatePage ) );
89 m_pOKButton->SetClickHdl( LINK( this, RTSDialog, ClickButton ) );
90 m_pCancelButton->SetClickHdl( LINK( this, RTSDialog, ClickButton ) );
91 ActivatePage(m_pTabControl);
CID 1308603: Uninitialized members (UNINIT_CTOR)
Non-static class member "mbDataModified" is not initialized in this constructor nor in any
functions that it calls.
92 }
93
94 RTSDialog::~RTSDialog()
95 {
96 disposeOnce();
97 }
** CID 1308602: Error handling issues (UNCAUGHT_EXCEPT)
/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx: 1605 in
ScAccessibleDocumentPagePreview::createAccessibleDescription()()
________________________________________________________________________________________________________
*** CID 1308602: Error handling issues (UNCAUGHT_EXCEPT)
/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx: 1605 in
ScAccessibleDocumentPagePreview::createAccessibleDescription()()
1599 {
1600 return css::uno::Sequence<sal_Int8>();
1601 }
1602
1603 //===== internal ========================================================
1604
CID 1308602: Error handling issues (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException)" doesn't allow it to be thrown. This will cause a
call to unexpected() which usually calls terminate().
1605 OUString SAL_CALL ScAccessibleDocumentPagePreview::createAccessibleDescription()
1606 throw (uno::RuntimeException)
1607 {
1608 OUString sDescription = OUString(ScResId(STR_ACC_PREVIEWDOC_DESCR));
1609 return sDescription;
1610 }
** CID 1308601: Error handling issues (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/firebird/Driver.cxx: 51 in
connectivity::firebird::FirebirdDriver_CreateInstance(const
com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> &)()
________________________________________________________________________________________________________
*** CID 1308601: Error handling issues (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/firebird/Driver.cxx: 51 in
connectivity::firebird::FirebirdDriver_CreateInstance(const
com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> &)()
45 using namespace connectivity::firebird;
46
47 namespace connectivity
48 {
49 namespace firebird
50 {
CID 1308601: Error handling issues (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::Exception)" doesn't allow it to be thrown. This will cause a call
to unexpected() which usually calls terminate().
51 Reference< XInterface > SAL_CALL FirebirdDriver_CreateInstance(
52 const Reference< XMultiServiceFactory >& _rxFactory) throw( Exception )
53 {
54 SAL_INFO("connectivity.firebird", "FirebirdDriver_CreateInstance()" );
55 return *(new FirebirdDriver(comphelper::getComponentContext(_rxFactory)));
56 }
** CID 1308600: Error handling issues (UNCAUGHT_EXCEPT)
/sal/rtl/bootstrap.cxx: 740 in rtl_bootstrap_get_iniName_from_handle()
________________________________________________________________________________________________________
*** CID 1308600: Error handling issues (UNCAUGHT_EXCEPT)
/sal/rtl/bootstrap.cxx: 740 in rtl_bootstrap_get_iniName_from_handle()
734 pName, ppValue, pDefault, LOOKUP_MODE_NORMAL, false, NULL );
735 }
736
737 return found;
738 }
739
CID 1308600: 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().
740 void SAL_CALL rtl_bootstrap_get_iniName_from_handle (
741 rtlBootstrapHandle handle,
742 rtl_uString ** ppIniName
743 ) SAL_THROW_EXTERN_C()
744 {
745 if(ppIniName)
** CID 1308599: Error handling issues (UNCAUGHT_EXCEPT)
/dbaccess/source/core/api/CacheSet.cxx: 279 in dbaccess::OCacheSet::updateRow(const
rtl::Reference<connectivity::ORowVector<connectivity::ORowSetValue>> &, const
rtl::Reference<connectivity::ORowVector<connectivity::ORowSetValue>> &, const
com::sun::star::uno::Reference<com::sun::star::sdbcx::XColumnsSupplier> &)()
________________________________________________________________________________________________________
*** CID 1308599: Error handling issues (UNCAUGHT_EXCEPT)
/dbaccess/source/core/api/CacheSet.cxx: 279 in dbaccess::OCacheSet::updateRow(const
rtl::Reference<connectivity::ORowVector<connectivity::ORowSetValue>> &, const
rtl::Reference<connectivity::ORowVector<connectivity::ORowSetValue>> &, const
com::sun::star::uno::Reference<com::sun::star::sdbcx::XColumnsSupplier> &)()
273 {
274 _sParameter.append(::dbtools::quoteName( aQuote,aColumnName) + aPara);
275 }
276 }
277 }
278
CID 1308599: Error handling issues (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException, com::sun::star::sdbc::SQLException)" doesn't
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
279 void SAL_CALL OCacheSet::updateRow(const ORowSetRow& _rInsertRow ,const ORowSetRow&
_rOriginalRow,const connectivity::OSQLTable& _xTable ) throw(SQLException, RuntimeException)
280 {
281 Reference<XPropertySet> xSet(_xTable,UNO_QUERY);
282 fillTableName(xSet);
283
284 OUStringBuffer aSql("UPDATE " + m_aComposedTableName + " SET ");
** CID 1308598: (UNCAUGHT_EXCEPT)
/scripting/source/stringresource/stringresource.cxx: 994 in
stringresource::StringResourcePersistenceImpl::implStoreAtStorage(const rtl::OUString &, const
rtl::OUString &, const com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &, bool,
bool)()
/scripting/source/stringresource/stringresource.cxx: 994 in
stringresource::StringResourcePersistenceImpl::implStoreAtStorage(const rtl::OUString &, const
rtl::OUString &, const com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &, bool,
bool)()
/scripting/source/stringresource/stringresource.cxx: 994 in
stringresource::StringResourcePersistenceImpl::implStoreAtStorage(const rtl::OUString &, const
rtl::OUString &, const com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &, bool,
bool)()
/scripting/source/stringresource/stringresource.cxx: 994 in
stringresource::StringResourcePersistenceImpl::implStoreAtStorage(const rtl::OUString &, const
rtl::OUString &, const com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &, bool,
bool)()
/scripting/source/stringresource/stringresource.cxx: 994 in
stringresource::StringResourcePersistenceImpl::implStoreAtStorage(const rtl::OUString &, const
rtl::OUString &, const com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &, bool,
bool)()
/scripting/source/stringresource/stringresource.cxx: 994 in
stringresource::StringResourcePersistenceImpl::implStoreAtStorage(const rtl::OUString &, const
rtl::OUString &, const com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &, bool,
bool)()
/scripting/source/stringresource/stringresource.cxx: 994 in
stringresource::StringResourcePersistenceImpl::implStoreAtStorage(const rtl::OUString &, const
rtl::OUString &, const com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &, bool,
bool)()
/scripting/source/stringresource/stringresource.cxx: 994 in
stringresource::StringResourcePersistenceImpl::implStoreAtStorage(const rtl::OUString &, const
rtl::OUString &, const com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &, bool,
bool)()
________________________________________________________________________________________________________
*** CID 1308598: (UNCAUGHT_EXCEPT)
/scripting/source/stringresource/stringresource.cxx: 994 in
stringresource::StringResourcePersistenceImpl::implStoreAtStorage(const rtl::OUString &, const
rtl::OUString &, const com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &, bool,
bool)()
988
989 bool bUsedForStore = false;
990 bool bStoreAll = true;
991 implStoreAtStorage( NameBase, Comment, Storage, bUsedForStore, bStoreAll );
992 }
993
CID 1308598: (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException, com::sun::star::uno::Exception)" doesn't allow it
to be thrown. This will cause a call to unexpected() which usually calls terminate().
994 void StringResourcePersistenceImpl::implStoreAtStorage
995 (
996 const OUString& aNameBase,
997 const OUString& aComment,
998 const Reference< ::com::sun::star::embed::XStorage >& Storage,
999 bool bUsedForStore,
/scripting/source/stringresource/stringresource.cxx: 994 in
stringresource::StringResourcePersistenceImpl::implStoreAtStorage(const rtl::OUString &, const
rtl::OUString &, const com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &, bool,
bool)()
988
989 bool bUsedForStore = false;
990 bool bStoreAll = true;
991 implStoreAtStorage( NameBase, Comment, Storage, bUsedForStore, bStoreAll );
992 }
993
CID 1308598: (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException, com::sun::star::uno::Exception)" doesn't allow it
to be thrown. This will cause a call to unexpected() which usually calls terminate().
994 void StringResourcePersistenceImpl::implStoreAtStorage
995 (
996 const OUString& aNameBase,
997 const OUString& aComment,
998 const Reference< ::com::sun::star::embed::XStorage >& Storage,
999 bool bUsedForStore,
/scripting/source/stringresource/stringresource.cxx: 994 in
stringresource::StringResourcePersistenceImpl::implStoreAtStorage(const rtl::OUString &, const
rtl::OUString &, const com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &, bool,
bool)()
988
989 bool bUsedForStore = false;
990 bool bStoreAll = true;
991 implStoreAtStorage( NameBase, Comment, Storage, bUsedForStore, bStoreAll );
992 }
993
CID 1308598: (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException, com::sun::star::uno::Exception)" doesn't allow it
to be thrown. This will cause a call to unexpected() which usually calls terminate().
994 void StringResourcePersistenceImpl::implStoreAtStorage
995 (
996 const OUString& aNameBase,
997 const OUString& aComment,
998 const Reference< ::com::sun::star::embed::XStorage >& Storage,
999 bool bUsedForStore,
/scripting/source/stringresource/stringresource.cxx: 994 in
stringresource::StringResourcePersistenceImpl::implStoreAtStorage(const rtl::OUString &, const
rtl::OUString &, const com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &, bool,
bool)()
988
989 bool bUsedForStore = false;
990 bool bStoreAll = true;
991 implStoreAtStorage( NameBase, Comment, Storage, bUsedForStore, bStoreAll );
992 }
993
CID 1308598: (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException, com::sun::star::uno::Exception)" doesn't allow it
to be thrown. This will cause a call to unexpected() which usually calls terminate().
994 void StringResourcePersistenceImpl::implStoreAtStorage
995 (
996 const OUString& aNameBase,
997 const OUString& aComment,
998 const Reference< ::com::sun::star::embed::XStorage >& Storage,
999 bool bUsedForStore,
/scripting/source/stringresource/stringresource.cxx: 994 in
stringresource::StringResourcePersistenceImpl::implStoreAtStorage(const rtl::OUString &, const
rtl::OUString &, const com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &, bool,
bool)()
988
989 bool bUsedForStore = false;
990 bool bStoreAll = true;
991 implStoreAtStorage( NameBase, Comment, Storage, bUsedForStore, bStoreAll );
992 }
993
CID 1308598: (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException, com::sun::star::uno::Exception)" doesn't allow it
to be thrown. This will cause a call to unexpected() which usually calls terminate().
994 void StringResourcePersistenceImpl::implStoreAtStorage
995 (
996 const OUString& aNameBase,
997 const OUString& aComment,
998 const Reference< ::com::sun::star::embed::XStorage >& Storage,
999 bool bUsedForStore,
/scripting/source/stringresource/stringresource.cxx: 994 in
stringresource::StringResourcePersistenceImpl::implStoreAtStorage(const rtl::OUString &, const
rtl::OUString &, const com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &, bool,
bool)()
988
989 bool bUsedForStore = false;
990 bool bStoreAll = true;
991 implStoreAtStorage( NameBase, Comment, Storage, bUsedForStore, bStoreAll );
992 }
993
CID 1308598: (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException, com::sun::star::uno::Exception)" doesn't allow it
to be thrown. This will cause a call to unexpected() which usually calls terminate().
994 void StringResourcePersistenceImpl::implStoreAtStorage
995 (
996 const OUString& aNameBase,
997 const OUString& aComment,
998 const Reference< ::com::sun::star::embed::XStorage >& Storage,
999 bool bUsedForStore,
/scripting/source/stringresource/stringresource.cxx: 994 in
stringresource::StringResourcePersistenceImpl::implStoreAtStorage(const rtl::OUString &, const
rtl::OUString &, const com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &, bool,
bool)()
988
989 bool bUsedForStore = false;
990 bool bStoreAll = true;
991 implStoreAtStorage( NameBase, Comment, Storage, bUsedForStore, bStoreAll );
992 }
993
CID 1308598: (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException, com::sun::star::uno::Exception)" doesn't allow it
to be thrown. This will cause a call to unexpected() which usually calls terminate().
994 void StringResourcePersistenceImpl::implStoreAtStorage
995 (
996 const OUString& aNameBase,
997 const OUString& aComment,
998 const Reference< ::com::sun::star::embed::XStorage >& Storage,
999 bool bUsedForStore,
/scripting/source/stringresource/stringresource.cxx: 994 in
stringresource::StringResourcePersistenceImpl::implStoreAtStorage(const rtl::OUString &, const
rtl::OUString &, const com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &, bool,
bool)()
988
989 bool bUsedForStore = false;
990 bool bStoreAll = true;
991 implStoreAtStorage( NameBase, Comment, Storage, bUsedForStore, bStoreAll );
992 }
993
CID 1308598: (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException, com::sun::star::uno::Exception)" doesn't allow it
to be thrown. This will cause a call to unexpected() which usually calls terminate().
994 void StringResourcePersistenceImpl::implStoreAtStorage
995 (
996 const OUString& aNameBase,
997 const OUString& aComment,
998 const Reference< ::com::sun::star::embed::XStorage >& Storage,
999 bool bUsedForStore,
** CID 1308597: (UNCAUGHT_EXCEPT)
/scaddins/source/analysis/analysis.cxx: 106 in AnalysisAddIn::GetFuncDescrStr(unsigned short,
unsigned short)()
/scaddins/source/analysis/analysis.cxx: 106 in AnalysisAddIn::GetFuncDescrStr(unsigned short,
unsigned short)()
________________________________________________________________________________________________________
*** CID 1308597: (UNCAUGHT_EXCEPT)
/scaddins/source/analysis/analysis.cxx: 106 in AnalysisAddIn::GetFuncDescrStr(unsigned short,
unsigned short)()
100 {
101 rRet = AnalysisResId(nInd, rResMgr).toString();
102
103 FreeResource();
104 }
105
CID 1308597: (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException)" doesn't allow it to be thrown. This will cause a
call to unexpected() which usually calls terminate().
106 OUString AnalysisAddIn::GetFuncDescrStr( sal_uInt16 nResId, sal_uInt16 nStrIndex ) throw(
uno::RuntimeException )
107 {
108 OUString aRet;
109 AnalysisResourcePublisher aResPubl( AnalysisResId(
RID_ANALYSIS_FUNCTION_DESCRIPTIONS, GetResMgr() ) );
110 AnalysisResId aRes( nResId, GetResMgr() );
111 aRes.SetRT( RSC_RESOURCE );
/scaddins/source/analysis/analysis.cxx: 106 in AnalysisAddIn::GetFuncDescrStr(unsigned short,
unsigned short)()
100 {
101 rRet = AnalysisResId(nInd, rResMgr).toString();
102
103 FreeResource();
104 }
105
CID 1308597: (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException)" doesn't allow it to be thrown. This will cause a
call to unexpected() which usually calls terminate().
106 OUString AnalysisAddIn::GetFuncDescrStr( sal_uInt16 nResId, sal_uInt16 nStrIndex ) throw(
uno::RuntimeException )
107 {
108 OUString aRet;
109 AnalysisResourcePublisher aResPubl( AnalysisResId(
RID_ANALYSIS_FUNCTION_DESCRIPTIONS, GetResMgr() ) );
110 AnalysisResId aRes( nResId, GetResMgr() );
111 aRes.SetRT( RSC_RESOURCE );
** CID 1308596: Error handling issues (UNCAUGHT_EXCEPT)
/sc/source/ui/vba/excelvbahelper.cxx: 252 in ooo::vba::excel::getUnoSheetModuleObj(const
com::sun::star::uno::Reference<com::sun::star::sheet::XSpreadsheet> &)()
________________________________________________________________________________________________________
*** CID 1308596: Error handling issues (UNCAUGHT_EXCEPT)
/sc/source/ui/vba/excelvbahelper.cxx: 252 in ooo::vba::excel::getUnoSheetModuleObj(const
com::sun::star::uno::Reference<com::sun::star::sheet::XSpreadsheet> &)()
246 if ( pViewShell )
247 return pViewShell->GetViewFrame();
248 return NULL;
249 }
250
251 uno::Reference< XHelperInterface >
CID 1308596: Error handling issues (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException)" doesn't allow it to be thrown. This will cause a
call to unexpected() which usually calls terminate().
252 getUnoSheetModuleObj( const uno::Reference< sheet::XSpreadsheet >& xSheet ) throw (
uno::RuntimeException )
253 {
254 uno::Reference< beans::XPropertySet > xProps( xSheet, uno::UNO_QUERY_THROW );
255 OUString sCodeName;
256 xProps->getPropertyValue("CodeName") >>= sCodeName;
257 // #TODO #FIXME ideally we should 'throw' here if we don't get a valid parent, but...
it is possible
** CID 1308595: Error handling issues (UNCAUGHT_EXCEPT)
/sd/source/ui/unoidl/SdUnoDrawView.cxx: 129 in sd::SdUnoDrawView::setActiveLayer(const
com::sun::star::uno::Reference<com::sun::star::drawing::XLayer> &)()
________________________________________________________________________________________________________
*** CID 1308595: Error handling issues (UNCAUGHT_EXCEPT)
/sd/source/ui/unoidl/SdUnoDrawView.cxx: 129 in sd::SdUnoDrawView::setActiveLayer(const
com::sun::star::uno::Reference<com::sun::star::drawing::XLayer> &)()
123 }
124 while (false);
125
126 return xCurrentLayer;
127 }
128
CID 1308595: Error handling issues (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException)" doesn't allow it to be thrown. This will cause a
call to unexpected() which usually calls terminate().
129 void SdUnoDrawView::setActiveLayer (const Reference<drawing::XLayer>& rxLayer)
130 throw (uno::RuntimeException)
131 {
132 // Get the SdrLayer object corresponding to the given reference.
133 if ( ! rxLayer.is())
134 return;
** CID 1308594: Error handling issues (UNCAUGHT_EXCEPT)
/scaddins/source/pricing/pricing.cxx: 243 in ScaPricingAddIn::GetResMgr()()
________________________________________________________________________________________________________
*** CID 1308594: Error handling issues (UNCAUGHT_EXCEPT)
/scaddins/source/pricing/pricing.cxx: 243 in ScaPricingAddIn::GetResMgr()()
237 if( !pDefLocales )
238 InitDefLocales();
239
240 return (nIndex < sizeof( pLang )) ? pDefLocales[ nIndex ] : aFuncLoc;
241 }
242
CID 1308594: Error handling issues (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException)" doesn't allow it to be thrown. This will cause a
call to unexpected() which usually calls terminate().
243 ResMgr& ScaPricingAddIn::GetResMgr() throw( uno::RuntimeException )
244 {
245 if( !pResMgr )
246 {
247 InitData(); // try to get resource manager
248 if( !pResMgr )
** CID 1308593: (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/dbase/DTable.cxx: 2369 in
connectivity::dbase::ODbaseTable::renameImpl(const rtl::OUString &)()
/connectivity/source/drivers/dbase/DTable.cxx: 2369 in
connectivity::dbase::ODbaseTable::renameImpl(const rtl::OUString &)()
________________________________________________________________________________________________________
*** CID 1308593: (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/dbase/DTable.cxx: 2369 in
connectivity::dbase::ODbaseTable::renameImpl(const rtl::OUString &)()
2363 {
2364 throw ElementExistException(newName);
2365 }
2366 }
2367 }
2368
CID 1308593: (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException, com::sun::star::sdbc::SQLException,
com::sun::star::container::ElementExistException)" doesn't allow it to be thrown. This will
cause a call to unexpected() which usually calls terminate().
2369 void SAL_CALL ODbaseTable::renameImpl( const OUString& newName )
throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::container::ElementExistException,
::com::sun::star::uno::RuntimeException)
2370 {
2371 ::osl::MutexGuard aGuard(m_aMutex);
2372
2373 FileClose();
2374
/connectivity/source/drivers/dbase/DTable.cxx: 2369 in
connectivity::dbase::ODbaseTable::renameImpl(const rtl::OUString &)()
2363 {
2364 throw ElementExistException(newName);
2365 }
2366 }
2367 }
2368
CID 1308593: (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException, com::sun::star::sdbc::SQLException,
com::sun::star::container::ElementExistException)" doesn't allow it to be thrown. This will
cause a call to unexpected() which usually calls terminate().
2369 void SAL_CALL ODbaseTable::renameImpl( const OUString& newName )
throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::container::ElementExistException,
::com::sun::star::uno::RuntimeException)
2370 {
2371 ::osl::MutexGuard aGuard(m_aMutex);
2372
2373 FileClose();
2374
** CID 1308592: Error handling issues (UNCAUGHT_EXCEPT)
/filter/source/msfilter/msvbahelper.cxx: 748 in ooo::vba::applyShortCutKeyBinding(const
com::sun::star::uno::Reference<com::sun::star::frame::XModel> &, const
com::sun::star::awt::KeyEvent &, const rtl::OUString &)()
________________________________________________________________________________________________________
*** CID 1308592: Error handling issues (UNCAUGHT_EXCEPT)
/filter/source/msfilter/msvbahelper.cxx: 748 in ooo::vba::applyShortCutKeyBinding(const
com::sun::star::uno::Reference<com::sun::star::frame::XModel> &, const
com::sun::star::awt::KeyEvent &, const rtl::OUString &)()
742 }
743
744 awt::KeyEvent aKeyEvent = svt::AcceleratorExecute::st_VCLKey2AWTKey( vcl::KeyCode(
nVclKey ) );
745 return aKeyEvent;
746 }
747
CID 1308592: Error handling issues (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException)" doesn't allow it to be thrown. This will cause a
call to unexpected() which usually calls terminate().
748 void applyShortCutKeyBinding ( const uno::Reference< frame::XModel >& rxModel, const
awt::KeyEvent& rKeyEvent, const OUString& rMacroName ) throw (uno::RuntimeException)
749 {
750 OUString MacroName( rMacroName );
751 if ( !MacroName.isEmpty() )
752 {
753 OUString aMacroName = MacroName.trim();
** CID 1308591: Error handling issues (UNCAUGHT_EXCEPT)
/sc/source/ui/Accessibility/AccessibleTableBase.cxx: 367 in
ScAccessibleTableBase::createAccessibleDescription()()
________________________________________________________________________________________________________
*** CID 1308591: Error handling issues (UNCAUGHT_EXCEPT)
/sc/source/ui/Accessibility/AccessibleTableBase.cxx: 367 in
ScAccessibleTableBase::createAccessibleDescription()()
361 nRow = nIndex / nTemp;
362 nColumn = nIndex % nTemp;
363 return getAccessibleCellAt(nRow, nColumn);
364 }
365
366 OUString SAL_CALL
CID 1308591: Error handling issues (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException)" doesn't allow it to be thrown. This will cause a
call to unexpected() which usually calls terminate().
367 ScAccessibleTableBase::createAccessibleDescription()
368 throw (uno::RuntimeException)
369 {
370 OUString sDesc(ScResId(STR_ACC_TABLE_DESCR));
371 return sDesc;
372 }
** CID 1308590: (UNCAUGHT_EXCEPT)
/framework/source/uielement/langselectionstatusbarcontroller.cxx: 132 in
<unnamed>::LangSelectionStatusbarController::LangMenu(const com::sun::star::awt::Point &)()
/framework/source/uielement/langselectionstatusbarcontroller.cxx: 132 in
<unnamed>::LangSelectionStatusbarController::LangMenu(const com::sun::star::awt::Point &)()
/framework/source/uielement/langselectionstatusbarcontroller.cxx: 132 in
<unnamed>::LangSelectionStatusbarController::LangMenu(const com::sun::star::awt::Point &)()
/framework/source/uielement/langselectionstatusbarcontroller.cxx: 132 in
<unnamed>::LangSelectionStatusbarController::LangMenu(const com::sun::star::awt::Point &)()
/framework/source/uielement/langselectionstatusbarcontroller.cxx: 132 in
<unnamed>::LangSelectionStatusbarController::LangMenu(const com::sun::star::awt::Point &)()
/framework/source/uielement/langselectionstatusbarcontroller.cxx: 132 in
<unnamed>::LangSelectionStatusbarController::LangMenu(const com::sun::star::awt::Point &)()
/framework/source/uielement/langselectionstatusbarcontroller.cxx: 132 in
<unnamed>::LangSelectionStatusbarController::LangMenu(const com::sun::star::awt::Point &)()
/framework/source/uielement/langselectionstatusbarcontroller.cxx: 132 in
<unnamed>::LangSelectionStatusbarController::LangMenu(const com::sun::star::awt::Point &)()
________________________________________________________________________________________________________
*** CID 1308590: (UNCAUGHT_EXCEPT)
/framework/source/uielement/langselectionstatusbarcontroller.cxx: 132 in
<unnamed>::LangSelectionStatusbarController::LangMenu(const com::sun::star::awt::Point &)()
126 {
127 m_xStatusbarItem->setText( FWK_RESSTR(STR_LANGSTATUS_MULTIPLE_LANGUAGES) );
128 m_xStatusbarItem->setQuickHelpText(FWK_RESSTR(STR_LANGSTATUS_HINT));
129 }
130 }
131
CID 1308590: (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException)" doesn't allow it to be thrown. This will cause a
call to unexpected() which usually calls terminate().
132 void LangSelectionStatusbarController::LangMenu(
133 const css::awt::Point& aPos )
134 throw (css::uno::RuntimeException)
135 {
136 if (!m_bShowMenu)
137 return;
/framework/source/uielement/langselectionstatusbarcontroller.cxx: 132 in
<unnamed>::LangSelectionStatusbarController::LangMenu(const com::sun::star::awt::Point &)()
126 {
127 m_xStatusbarItem->setText( FWK_RESSTR(STR_LANGSTATUS_MULTIPLE_LANGUAGES) );
128 m_xStatusbarItem->setQuickHelpText(FWK_RESSTR(STR_LANGSTATUS_HINT));
129 }
130 }
131
CID 1308590: (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException)" doesn't allow it to be thrown. This will cause a
call to unexpected() which usually calls terminate().
132 void LangSelectionStatusbarController::LangMenu(
133 const css::awt::Point& aPos )
134 throw (css::uno::RuntimeException)
135 {
136 if (!m_bShowMenu)
137 return;
/framework/source/uielement/langselectionstatusbarcontroller.cxx: 132 in
<unnamed>::LangSelectionStatusbarController::LangMenu(const com::sun::star::awt::Point &)()
126 {
127 m_xStatusbarItem->setText( FWK_RESSTR(STR_LANGSTATUS_MULTIPLE_LANGUAGES) );
128 m_xStatusbarItem->setQuickHelpText(FWK_RESSTR(STR_LANGSTATUS_HINT));
129 }
130 }
131
CID 1308590: (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException)" doesn't allow it to be thrown. This will cause a
call to unexpected() which usually calls terminate().
132 void LangSelectionStatusbarController::LangMenu(
133 const css::awt::Point& aPos )
134 throw (css::uno::RuntimeException)
135 {
136 if (!m_bShowMenu)
137 return;
/framework/source/uielement/langselectionstatusbarcontroller.cxx: 132 in
<unnamed>::LangSelectionStatusbarController::LangMenu(const com::sun::star::awt::Point &)()
126 {
127 m_xStatusbarItem->setText( FWK_RESSTR(STR_LANGSTATUS_MULTIPLE_LANGUAGES) );
128 m_xStatusbarItem->setQuickHelpText(FWK_RESSTR(STR_LANGSTATUS_HINT));
129 }
130 }
131
CID 1308590: (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException)" doesn't allow it to be thrown. This will cause a
call to unexpected() which usually calls terminate().
132 void LangSelectionStatusbarController::LangMenu(
133 const css::awt::Point& aPos )
134 throw (css::uno::RuntimeException)
135 {
136 if (!m_bShowMenu)
137 return;
/framework/source/uielement/langselectionstatusbarcontroller.cxx: 132 in
<unnamed>::LangSelectionStatusbarController::LangMenu(const com::sun::star::awt::Point &)()
126 {
127 m_xStatusbarItem->setText( FWK_RESSTR(STR_LANGSTATUS_MULTIPLE_LANGUAGES) );
128 m_xStatusbarItem->setQuickHelpText(FWK_RESSTR(STR_LANGSTATUS_HINT));
129 }
130 }
131
CID 1308590: (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException)" doesn't allow it to be thrown. This will cause a
call to unexpected() which usually calls terminate().
132 void LangSelectionStatusbarController::LangMenu(
133 const css::awt::Point& aPos )
134 throw (css::uno::RuntimeException)
135 {
136 if (!m_bShowMenu)
137 return;
/framework/source/uielement/langselectionstatusbarcontroller.cxx: 132 in
<unnamed>::LangSelectionStatusbarController::LangMenu(const com::sun::star::awt::Point &)()
126 {
127 m_xStatusbarItem->setText( FWK_RESSTR(STR_LANGSTATUS_MULTIPLE_LANGUAGES) );
128 m_xStatusbarItem->setQuickHelpText(FWK_RESSTR(STR_LANGSTATUS_HINT));
129 }
130 }
131
CID 1308590: (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException)" doesn't allow it to be thrown. This will cause a
call to unexpected() which usually calls terminate().
132 void LangSelectionStatusbarController::LangMenu(
133 const css::awt::Point& aPos )
134 throw (css::uno::RuntimeException)
135 {
136 if (!m_bShowMenu)
137 return;
/framework/source/uielement/langselectionstatusbarcontroller.cxx: 132 in
<unnamed>::LangSelectionStatusbarController::LangMenu(const com::sun::star::awt::Point &)()
126 {
127 m_xStatusbarItem->setText( FWK_RESSTR(STR_LANGSTATUS_MULTIPLE_LANGUAGES) );
128 m_xStatusbarItem->setQuickHelpText(FWK_RESSTR(STR_LANGSTATUS_HINT));
129 }
130 }
131
CID 1308590: (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException)" doesn't allow it to be thrown. This will cause a
call to unexpected() which usually calls terminate().
132 void LangSelectionStatusbarController::LangMenu(
133 const css::awt::Point& aPos )
134 throw (css::uno::RuntimeException)
135 {
136 if (!m_bShowMenu)
137 return;
/framework/source/uielement/langselectionstatusbarcontroller.cxx: 132 in
<unnamed>::LangSelectionStatusbarController::LangMenu(const com::sun::star::awt::Point &)()
126 {
127 m_xStatusbarItem->setText( FWK_RESSTR(STR_LANGSTATUS_MULTIPLE_LANGUAGES) );
128 m_xStatusbarItem->setQuickHelpText(FWK_RESSTR(STR_LANGSTATUS_HINT));
129 }
130 }
131
CID 1308590: (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException)" doesn't allow it to be thrown. This will cause a
call to unexpected() which usually calls terminate().
132 void LangSelectionStatusbarController::LangMenu(
133 const css::awt::Point& aPos )
134 throw (css::uno::RuntimeException)
135 {
136 if (!m_bShowMenu)
137 return;
** CID 1308589: Error handling issues (UNCAUGHT_EXCEPT)
/sc/source/ui/vba/vbaeventshelper.cxx: 899 in ScVbaEventsHelper::createWindow(const
com::sun::star::uno::Sequence<com::sun::star::uno::Any> &, int) const()
________________________________________________________________________________________________________
*** CID 1308589: Error handling issues (UNCAUGHT_EXCEPT)
/sc/source/ui/vba/vbaeventshelper.cxx: 899 in ScVbaEventsHelper::createWindow(const
com::sun::star::uno::Sequence<com::sun::star::uno::Any> &, int) const()
893 aArgs[ 0 ] <<= excel::getUnoSheetModuleObj( xCell );
894 aArgs[ 1 ] <<= xCell;
895 uno::Reference< uno::XInterface > xHyperlink( createVBAUnoAPIServiceWithArgs( mpShell,
"ooo.vba.excel.Hyperlink", aArgs ), uno::UNO_SET_THROW );
896 return uno::Any( xHyperlink );
897 }
898
CID 1308589: Error handling issues (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException, com::sun::star::lang::IllegalArgumentException)"
doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls
terminate().
899 uno::Any ScVbaEventsHelper::createWindow( const uno::Sequence< uno::Any >& rArgs, sal_Int32
nIndex ) const
900 throw (lang::IllegalArgumentException, uno::RuntimeException)
901 {
902 uno::Sequence< uno::Any > aArgs( 3 );
903 aArgs[ 0 ] <<= getVBADocument( mxModel );
904 aArgs[ 1 ] <<= mxModel;
** CID 1308588: Error handling issues (UNCAUGHT_EXCEPT)
/svtools/langsupport/langsupport.cxx: 23 in main()
________________________________________________________________________________________________________
*** CID 1308588: Error handling issues (UNCAUGHT_EXCEPT)
/svtools/langsupport/langsupport.cxx: 23 in main()
17 #include <tools/extendapplicationenvironment.hxx>
18 #include <vcl/svapp.hxx>
19 #include <iostream>
20
21 using namespace com::sun::star;
22
CID 1308588: Error handling issues (UNCAUGHT_EXCEPT)
In function "main(int, char **)" an exception of type "std::length_error" is thrown and
never caught.
23 SAL_IMPLEMENT_MAIN()
24 {
25 try
26 {
27 tools::extendApplicationEnvironment();
28
** CID 1308587: (UNCAUGHT_EXCEPT)
/comphelper/source/misc/storagehelper.cxx: 230 in
comphelper::OStorageHelper::GetXStorageFormat(const
com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &)()
/comphelper/source/misc/storagehelper.cxx: 230 in
comphelper::OStorageHelper::GetXStorageFormat(const
com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &)()
/comphelper/source/misc/storagehelper.cxx: 230 in
comphelper::OStorageHelper::GetXStorageFormat(const
com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &)()
________________________________________________________________________________________________________
*** CID 1308587: (UNCAUGHT_EXCEPT)
/comphelper/source/misc/storagehelper.cxx: 230 in
comphelper::OStorageHelper::GetXStorageFormat(const
com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &)()
224 throw io::IOException(); // TODO
225
226 xEncrSet->setEncryptionData( aEncryptionData );
227 }
228
229
CID 1308587: (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::Exception)" doesn't allow it to be thrown. This will cause a call
to unexpected() which usually calls terminate().
230 sal_Int32 OStorageHelper::GetXStorageFormat(
231 const uno::Reference< embed::XStorage >& xStorage )
232 throw ( uno::Exception )
233 {
234 uno::Reference< beans::XPropertySet > xStorProps( xStorage, uno::UNO_QUERY_THROW );
235
/comphelper/source/misc/storagehelper.cxx: 230 in
comphelper::OStorageHelper::GetXStorageFormat(const
com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &)()
224 throw io::IOException(); // TODO
225
226 xEncrSet->setEncryptionData( aEncryptionData );
227 }
228
229
CID 1308587: (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::Exception)" doesn't allow it to be thrown. This will cause a call
to unexpected() which usually calls terminate().
230 sal_Int32 OStorageHelper::GetXStorageFormat(
231 const uno::Reference< embed::XStorage >& xStorage )
232 throw ( uno::Exception )
233 {
234 uno::Reference< beans::XPropertySet > xStorProps( xStorage, uno::UNO_QUERY_THROW );
235
/comphelper/source/misc/storagehelper.cxx: 230 in
comphelper::OStorageHelper::GetXStorageFormat(const
com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &)()
224 throw io::IOException(); // TODO
225
226 xEncrSet->setEncryptionData( aEncryptionData );
227 }
228
229
CID 1308587: (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::Exception)" doesn't allow it to be thrown. This will cause a call
to unexpected() which usually calls terminate().
230 sal_Int32 OStorageHelper::GetXStorageFormat(
231 const uno::Reference< embed::XStorage >& xStorage )
232 throw ( uno::Exception )
233 {
234 uno::Reference< beans::XPropertySet > xStorProps( xStorage, uno::UNO_QUERY_THROW );
235
** CID 1308586: Error handling issues (UNCAUGHT_EXCEPT)
/embeddedobj/source/commonembedding/xfactory.cxx: 371 in
OOoEmbeddedObjectFactory::createInstanceLinkUserInit(const com::sun::star::uno::Sequence<signed
char> &, const rtl::OUString &, const
com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &, const rtl::OUString &, const
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> &, const
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> &)()
________________________________________________________________________________________________________
*** CID 1308586: Error handling issues (UNCAUGHT_EXCEPT)
/embeddedobj/source/commonembedding/xfactory.cxx: 371 in
OOoEmbeddedObjectFactory::createInstanceLinkUserInit(const com::sun::star::uno::Sequence<signed
char> &, const rtl::OUString &, const
com::sun::star::uno::Reference<com::sun::star::embed::XStorage> &, const rtl::OUString &, const
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> &, const
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> &)()
365 throw io::IOException(); // TODO:
366 }
367
368 return xResult;
369 }
370
CID 1308586: Error handling issues (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::io::IOException, com::sun::star::uno::RuntimeException,
com::sun::star::uno::Exception, com::sun::star::lang::IllegalArgumentException)" doesn't allow
it to be thrown. This will cause a call to unexpected() which usually calls terminate().
371 uno::Reference< uno::XInterface > SAL_CALL
OOoEmbeddedObjectFactory::createInstanceLinkUserInit(
372 const uno::Sequence< sal_Int8 >& aClassID,
373 const OUString& /*aClassName*/,
374 const uno::Reference< embed::XStorage >&
xStorage,
375 const OUString& sEntName,
376 const uno::Sequence< beans::PropertyValue
& lArguments,
** CID 1308585: Error handling issues (UNCAUGHT_EXCEPT)
/sc/source/ui/Accessibility/AccessibleCsvControl.cxx: 765 in
ScAccessibleCsvRuler::createAccessibleDescription()()
________________________________________________________________________________________________________
*** CID 1308585: Error handling issues (UNCAUGHT_EXCEPT)
/sc/source/ui/Accessibility/AccessibleCsvControl.cxx: 765 in
ScAccessibleCsvRuler::createAccessibleDescription()()
759
760 OUString SAL_CALL ScAccessibleCsvRuler::createAccessibleName() throw( RuntimeException,
std::exception )
761 {
762 return OUString( ScResId( STR_ACC_CSVRULER_NAME ) );
763 }
764
CID 1308585: Error handling issues (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::RuntimeException)" doesn't allow it to be thrown. This will cause a
call to unexpected() which usually calls terminate().
765 OUString SAL_CALL ScAccessibleCsvRuler::createAccessibleDescription() throw(
RuntimeException )
766 {
767 return OUString( ScResId( STR_ACC_CSVRULER_DESCR ) );
768 }
769
770 void ScAccessibleCsvRuler::ensureValidIndex( sal_Int32 nIndex ) const
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/211?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
Context
- New Defects reported by Coverity Scan for LibreOffice · scan-admin
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.