basctl/source/basicide/basobj2.cxx | 2 +- basctl/source/inc/basobj.hxx | 2 +- basic/source/inc/namecont.hxx | 2 +- basic/source/inc/scriptcont.hxx | 2 +- basic/source/uno/namecont.cxx | 2 +- basic/source/uno/scriptcont.cxx | 2 +- dbaccess/source/core/dataaccess/datasource.cxx | 2 +- dbaccess/source/core/dataaccess/datasource.hxx | 2 +- dbaccess/source/filter/xml/xmlfilter.cxx | 2 +- dbaccess/source/filter/xml/xmlfilter.hxx | 2 +- dbaccess/source/ui/control/tabletree.cxx | 2 +- dbaccess/source/ui/inc/tabletree.hxx | 2 +- forms/source/component/DatabaseForm.cxx | 2 +- forms/source/component/DatabaseForm.hxx | 2 +- framework/inc/services/layoutmanager.hxx | 2 +- framework/inc/xml/xmlnamespaces.hxx | 2 +- framework/source/fwe/xml/xmlnamespaces.cxx | 2 +- framework/source/layoutmanager/layoutmanager.cxx | 2 +- include/svx/AccessibleControlShape.hxx | 2 +- include/svx/AccessibleOLEShape.hxx | 2 +- include/svx/AccessibleShape.hxx | 2 +- include/svx/unomaster.hxx | 2 +- include/svx/unopool.hxx | 2 +- include/toolkit/controls/formattedcontrol.hxx | 2 +- include/toolkit/controls/unocontrolmodel.hxx | 2 +- pyuno/source/module/pyuno_impl.hxx | 2 +- pyuno/source/module/pyuno_runtime.cxx | 2 +- sc/source/ui/Accessibility/AccessibleCellBase.cxx | 6 +++--- sc/source/ui/Accessibility/AccessibleContextBase.cxx | 2 +- sc/source/ui/Accessibility/AccessibleCsvControl.cxx | 4 ++-- sc/source/ui/Accessibility/AccessiblePageHeader.cxx | 2 +- sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx | 2 +- sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx | 2 +- sc/source/ui/Accessibility/AccessiblePreviewTable.cxx | 2 +- sc/source/ui/inc/AccessibleCellBase.hxx | 6 +++--- sc/source/ui/inc/AccessibleContextBase.hxx | 2 +- sc/source/ui/inc/AccessibleCsvControl.hxx | 4 ++-- sc/source/ui/inc/AccessiblePageHeader.hxx | 2 +- sc/source/ui/inc/AccessiblePageHeaderArea.hxx | 2 +- sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx | 2 +- sc/source/ui/inc/AccessiblePreviewTable.hxx | 2 +- scaddins/source/analysis/analysis.cxx | 2 +- scaddins/source/analysis/analysis.hxx | 2 +- scaddins/source/datefunc/datefunc.cxx | 4 ++-- scaddins/source/datefunc/datefunc.hxx | 4 ++-- scaddins/source/pricing/pricing.cxx | 2 +- scaddins/source/pricing/pricing.hxx | 2 +- scripting/source/stringresource/stringresource.cxx | 2 +- scripting/source/stringresource/stringresource.hxx | 2 +- sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx | 2 +- sd/source/ui/accessibility/AccessibleOutlineView.cxx | 2 +- sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx | 2 +- sd/source/ui/accessibility/AccessiblePresentationShape.cxx | 4 ++-- sd/source/ui/inc/AccessibleDocumentViewBase.hxx | 2 +- sd/source/ui/inc/AccessibleOutlineView.hxx | 2 +- sd/source/ui/inc/AccessiblePresentationOLEShape.hxx | 2 +- sd/source/ui/inc/AccessiblePresentationShape.hxx | 4 ++-- sd/source/ui/inc/unopage.hxx | 4 ++-- sd/source/ui/slideshow/slideshowimpl.cxx | 4 ++-- sd/source/ui/slideshow/slideshowimpl.hxx | 4 ++-- sd/source/ui/unoidl/unoobj.cxx | 2 +- sd/source/ui/unoidl/unoobj.hxx | 2 +- sd/source/ui/unoidl/unopage.cxx | 4 ++-- sd/source/ui/unoidl/unopool.cxx | 4 ++-- svx/source/accessibility/AccessibleControlShape.cxx | 5 +---- svx/source/accessibility/AccessibleOLEShape.cxx | 4 +--- svx/source/accessibility/AccessibleShape.cxx | 2 +- svx/source/inc/xmlxtexp.hxx | 2 +- svx/source/unodraw/unopool.cxx | 2 +- svx/source/xml/xmlxtexp.cxx | 2 +- sw/inc/unocrsrhelper.hxx | 5 +++-- sw/source/core/unocore/unoobj.cxx | 5 +++-- toolkit/source/controls/formattedcontrol.cxx | 2 +- toolkit/source/controls/unocontrolmodel.cxx | 2 +- ucb/source/ucp/ftp/ftpurl.cxx | 2 +- ucb/source/ucp/ftp/ftpurl.hxx | 2 +- 76 files changed, 95 insertions(+), 98 deletions(-)
New commits: commit 6c0a94a9578d888ad142724ee8c2699922652e01 Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 17:26:56 2015 +0100 coverity#1308546 Uncaught exception Change-Id: Ia5b1c50ecff3fde4b698012304cd75fa1a7b4ce6 diff --git a/scaddins/source/pricing/pricing.cxx b/scaddins/source/pricing/pricing.cxx index 91cc0df..130f9b0 100644 --- a/scaddins/source/pricing/pricing.cxx +++ b/scaddins/source/pricing/pricing.cxx @@ -266,7 +266,7 @@ void ScaPricingAddIn::InitData() } } -OUString ScaPricingAddIn::GetDisplFuncStr( sal_uInt16 nResId ) throw( uno::RuntimeException ) +OUString ScaPricingAddIn::GetDisplFuncStr( sal_uInt16 nResId ) throw( uno::RuntimeException, std::exception ) { return ScaResStringLoader( RID_PRICING_FUNCTION_NAMES, nResId, GetResMgr() ).GetString(); } diff --git a/scaddins/source/pricing/pricing.hxx b/scaddins/source/pricing/pricing.hxx index 316d012..d125a2e 100644 --- a/scaddins/source/pricing/pricing.hxx +++ b/scaddins/source/pricing/pricing.hxx @@ -322,7 +322,7 @@ private: ResMgr& GetResMgr() throw( css::uno::RuntimeException ); void InitData(); - OUString GetDisplFuncStr( sal_uInt16 nResId ) throw( css::uno::RuntimeException ); + OUString GetDisplFuncStr( sal_uInt16 nResId ) throw( css::uno::RuntimeException, std::exception ); OUString GetFuncDescrStr( sal_uInt16 nResId, sal_uInt16 nStrIndex ) throw( css::uno::RuntimeException ); public: commit b3fdb90d94a96e6c3c309b8ff39a79be51461277 Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 17:24:49 2015 +0100 coverity#1308545 Uncaught exception Change-Id: Ic2f04532680f0742ea11ab793fe2366d55cc7376 diff --git a/include/svx/AccessibleShape.hxx b/include/svx/AccessibleShape.hxx index 91d8a40..d75e13f 100644 --- a/include/svx/AccessibleShape.hxx +++ b/include/svx/AccessibleShape.hxx @@ -435,7 +435,7 @@ protected: */ virtual OUString CreateAccessibleBaseName() - throw (::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::uno::RuntimeException, std::exception); /** Create a unique name string that contains the accessible name. The name consists of the base name and the index. diff --git a/sd/source/ui/accessibility/AccessiblePresentationShape.cxx b/sd/source/ui/accessibility/AccessiblePresentationShape.cxx index 90c8dfc..2d91b01 100644 --- a/sd/source/ui/accessibility/AccessiblePresentationShape.cxx +++ b/sd/source/ui/accessibility/AccessiblePresentationShape.cxx @@ -55,7 +55,7 @@ OUString SAL_CALL /// Set this object's name if is different to the current name. OUString AccessiblePresentationShape::CreateAccessibleBaseName() - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { OUString sName; diff --git a/sd/source/ui/inc/AccessiblePresentationShape.hxx b/sd/source/ui/inc/AccessiblePresentationShape.hxx index 9088fc5..ddf5b39 100644 --- a/sd/source/ui/inc/AccessiblePresentationShape.hxx +++ b/sd/source/ui/inc/AccessiblePresentationShape.hxx @@ -49,7 +49,7 @@ public: /// Create a name string that contains the accessible name. virtual OUString CreateAccessibleBaseName () - throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Create a description string that contains the accessible description. virtual OUString diff --git a/svx/source/accessibility/AccessibleShape.cxx b/svx/source/accessibility/AccessibleShape.cxx index eeb270e..9411b82 100644 --- a/svx/source/accessibility/AccessibleShape.cxx +++ b/svx/source/accessibility/AccessibleShape.cxx @@ -1147,7 +1147,7 @@ void AccessibleShape::ViewForwarderChanged (ChangeType aChangeType, // protected internal // Set this object's name if is different to the current name. OUString AccessibleShape::CreateAccessibleBaseName() - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { return ShapeTypeHandler::CreateAccessibleBaseName( mxShape ); } commit 5f0763edc473d0d062910a4722efa0caf9242c0f Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 17:22:55 2015 +0100 coverity#1308544 Uncaught exception Change-Id: Iebc59db0f9c6738da316c18f18eaefdbfed35936 diff --git a/include/svx/AccessibleOLEShape.hxx b/include/svx/AccessibleOLEShape.hxx index 4591edd..5ff85ad 100644 --- a/include/svx/AccessibleOLEShape.hxx +++ b/include/svx/AccessibleOLEShape.hxx @@ -102,7 +102,7 @@ protected: /// Create a description string that contains the accessible description. virtual OUString CreateAccessibleDescription () - throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: AccessibleOLEShape (const AccessibleOLEShape&) SAL_DELETED_FUNCTION; diff --git a/include/svx/unopool.hxx b/include/svx/unopool.hxx index 37a3ab1..c894779 100644 --- a/include/svx/unopool.hxx +++ b/include/svx/unopool.hxx @@ -78,7 +78,7 @@ protected: void init(); static void getAny( SfxItemPool* pPool, const comphelper::PropertyMapEntry* pEntry, ::com::sun::star::uno::Any& rValue ) throw(::com::sun::star::beans::UnknownPropertyException); - virtual void putAny( SfxItemPool* pPool, const comphelper::PropertyMapEntry* pEntry, const ::com::sun::star::uno::Any& rValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::IllegalArgumentException, css::uno::RuntimeException); + virtual void putAny( SfxItemPool* pPool, const comphelper::PropertyMapEntry* pEntry, const ::com::sun::star::uno::Any& rValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception); protected: SdrModel* mpModel; diff --git a/sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx b/sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx index f6307e6..958e312 100644 --- a/sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx +++ b/sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx @@ -82,7 +82,7 @@ OUString OUString AccessiblePresentationOLEShape::CreateAccessibleDescription() - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { // return createAccessibleName(); DescriptionGenerator aDG (mxShape); diff --git a/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx b/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx index 4704774..19ec75d 100644 --- a/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx +++ b/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx @@ -55,7 +55,7 @@ public: /// Create a description string that contains the accessible description. virtual OUString CreateAccessibleDescription () - throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return this object's role. virtual sal_Int16 SAL_CALL getAccessibleRole () throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; }; diff --git a/svx/source/accessibility/AccessibleOLEShape.cxx b/svx/source/accessibility/AccessibleOLEShape.cxx index 3c4bbac..7cc19ff 100644 --- a/svx/source/accessibility/AccessibleOLEShape.cxx +++ b/svx/source/accessibility/AccessibleOLEShape.cxx @@ -204,11 +204,9 @@ OUString return sName; } - - OUString AccessibleOLEShape::CreateAccessibleDescription() - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { return CreateAccessibleName (); } commit 265ad0605c905f584a40b48e457bede3c9df8c3b Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 17:21:42 2015 +0100 coverity#1308542 Uncaught exception Change-Id: I083d3152c0bb51f72e9f61203a7b3d9c4421a072 diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx index d947490..265e21f 100644 --- a/forms/source/component/DatabaseForm.cxx +++ b/forms/source/component/DatabaseForm.cxx @@ -2931,7 +2931,7 @@ void SAL_CALL ODatabaseForm::reload() throw( RuntimeException, std::exception ) } -void ODatabaseForm::reload_impl(bool bMoveToFirst, const Reference< XInteractionHandler >& _rxCompletionHandler ) throw( RuntimeException ) +void ODatabaseForm::reload_impl(bool bMoveToFirst, const Reference< XInteractionHandler >& _rxCompletionHandler ) throw( RuntimeException, std::exception ) { ::osl::ResettableMutexGuard aGuard(m_aMutex); if (!isLoaded()) diff --git a/forms/source/component/DatabaseForm.hxx b/forms/source/component/DatabaseForm.hxx index 62c9892..01e9f41 100644 --- a/forms/source/component/DatabaseForm.hxx +++ b/forms/source/component/DatabaseForm.hxx @@ -464,7 +464,7 @@ private: throw(::com::sun::star::uno::RuntimeException); void reload_impl(bool bMoveToFirst, const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >& _rxCompletionHandler = ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >()) - throw(::com::sun::star::uno::RuntimeException); + throw(::com::sun::star::uno::RuntimeException, std::exception); void submit_impl(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl>& Control, const ::com::sun::star::awt::MouseEvent& MouseEvt, bool _bAproveByListeners); void reset_impl(bool _bAproveByListeners); commit 65e702b68a245b3570b5260d64fd5436eb3de78c Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 17:20:50 2015 +0100 coverity#1308541 Uncaught exception Change-Id: I44981286c997717a71ea2b8c5c4a59d8f9c63c4b diff --git a/sc/source/ui/Accessibility/AccessiblePageHeader.cxx b/sc/source/ui/Accessibility/AccessiblePageHeader.cxx index 936a8fc..a0ee617 100644 --- a/sc/source/ui/Accessibility/AccessiblePageHeader.cxx +++ b/sc/source/ui/Accessibility/AccessiblePageHeader.cxx @@ -332,7 +332,7 @@ uno::Sequence<OUString> SAL_CALL ScAccessiblePageHeader::getSupportedServiceName //==== internal ========================================================= OUString SAL_CALL ScAccessiblePageHeader::createAccessibleDescription() - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { OUString sDesc(SC_RESSTR(mbHeader ? STR_ACC_HEADER_DESCR : STR_ACC_FOOTER_DESCR)); return sDesc.replaceFirst("%1", SC_RESSTR(SCSTR_UNKNOWN)); diff --git a/sc/source/ui/inc/AccessiblePageHeader.hxx b/sc/source/ui/inc/AccessiblePageHeader.hxx index 5e00d62..86bfd28 100644 --- a/sc/source/ui/inc/AccessiblePageHeader.hxx +++ b/sc/source/ui/inc/AccessiblePageHeader.hxx @@ -77,7 +77,7 @@ public: void SetCurrentIndexInParent(sal_Int32 nNew) { mnIndex = nNew; } protected: - virtual OUString SAL_CALL createAccessibleDescription() throw(::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + virtual OUString SAL_CALL createAccessibleDescription() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL createAccessibleName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual Rectangle GetBoundingBoxOnScreen() const throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; commit 7d59a63471d91baa2e16351612180118e5dc39f0 Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 17:19:37 2015 +0100 coverity#1308539 Uncaught exception Change-Id: Id9cad4eaccd71c769fea06d71bbfdd03e8c112ae diff --git a/include/toolkit/controls/formattedcontrol.hxx b/include/toolkit/controls/formattedcontrol.hxx index 44584c4..ac53bd4 100644 --- a/include/toolkit/controls/formattedcontrol.hxx +++ b/include/toolkit/controls/formattedcontrol.hxx @@ -51,7 +51,7 @@ namespace toolkit ::com::sun::star::uno::Any& rOldValue, sal_Int32 nPropId, const ::com::sun::star::uno::Any& rValue - ) throw (::com::sun::star::lang::IllegalArgumentException) SAL_OVERRIDE; + ) throw (::com::sun::star::lang::IllegalArgumentException, std::exception) SAL_OVERRIDE; void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, diff --git a/include/toolkit/controls/unocontrolmodel.hxx b/include/toolkit/controls/unocontrolmodel.hxx index dd872bb..ec14fe3 100644 --- a/include/toolkit/controls/unocontrolmodel.hxx +++ b/include/toolkit/controls/unocontrolmodel.hxx @@ -159,7 +159,7 @@ public: // ::cppu::OPropertySetHelper ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() SAL_OVERRIDE = 0; - sal_Bool SAL_CALL convertFastPropertyValue( ::com::sun::star::uno::Any & rConvertedValue, ::com::sun::star::uno::Any & rOldValue, sal_Int32 nHandle, const ::com::sun::star::uno::Any& rValue ) throw (::com::sun::star::lang::IllegalArgumentException) SAL_OVERRIDE; + sal_Bool SAL_CALL convertFastPropertyValue( ::com::sun::star::uno::Any & rConvertedValue, ::com::sun::star::uno::Any & rOldValue, sal_Int32 nHandle, const ::com::sun::star::uno::Any& rValue ) throw (::com::sun::star::lang::IllegalArgumentException, std::exception) SAL_OVERRIDE; void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const ::com::sun::star::uno::Any& rValue ) throw (::com::sun::star::uno::Exception, std::exception) SAL_OVERRIDE; using cppu::OPropertySetHelper::getFastPropertyValue; void SAL_CALL getFastPropertyValue( ::com::sun::star::uno::Any& rValue, sal_Int32 nHandle ) const SAL_OVERRIDE; diff --git a/toolkit/source/controls/formattedcontrol.cxx b/toolkit/source/controls/formattedcontrol.cxx index 2a002ec..bd2b7b5 100644 --- a/toolkit/source/controls/formattedcontrol.cxx +++ b/toolkit/source/controls/formattedcontrol.cxx @@ -327,7 +327,7 @@ namespace toolkit sal_Bool UnoControlFormattedFieldModel::convertFastPropertyValue( Any& rConvertedValue, Any& rOldValue, sal_Int32 nPropId, - const Any& rValue ) throw (IllegalArgumentException) + const Any& rValue ) throw (IllegalArgumentException, std::exception) { if ( BASEPROPERTY_EFFECTIVE_DEFAULT == nPropId && rValue.hasValue() ) { diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx index 6babb44..371751a 100644 --- a/toolkit/source/controls/unocontrolmodel.cxx +++ b/toolkit/source/controls/unocontrolmodel.cxx @@ -1040,7 +1040,7 @@ sal_Bool UnoControlModel::supportsService( const OUString& rServiceName ) throw( return Sequence< OUString >( &sName, 1 ); } -sal_Bool UnoControlModel::convertFastPropertyValue( Any & rConvertedValue, Any & rOldValue, sal_Int32 nPropId, const Any& rValue ) throw (IllegalArgumentException) +sal_Bool UnoControlModel::convertFastPropertyValue( Any & rConvertedValue, Any & rOldValue, sal_Int32 nPropId, const Any& rValue ) throw (IllegalArgumentException, std::exception) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); commit 1541387507e669d4c1a634d9d4254d33c151aeaa Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 17:19:32 2015 +0100 coverity#1308540 Uncaught exception Change-Id: I1faf09f6cee0d9dfa4a3b006916978add95ca38c diff --git a/ucb/source/ucp/ftp/ftpurl.cxx b/ucb/source/ucp/ftp/ftpurl.cxx index 1efcf6d..fcfbf7a 100644 --- a/ucb/source/ucp/ftp/ftpurl.cxx +++ b/ucb/source/ucp/ftp/ftpurl.cxx @@ -768,7 +768,7 @@ OUString FTPURL::ren(const OUString& NewTitle) void FTPURL::del() const - throw(curl_exception, malformed_exception) + throw(curl_exception, malformed_exception, std::exception) { FTPDirentry aDirentry(direntry()); diff --git a/ucb/source/ucp/ftp/ftpurl.hxx b/ucb/source/ucp/ftp/ftpurl.hxx index 6dee7e0..00cc2db 100644 --- a/ucb/source/ucp/ftp/ftpurl.hxx +++ b/ucb/source/ucp/ftp/ftpurl.hxx @@ -137,7 +137,7 @@ namespace ftp { throw(curl_exception, std::exception); void del() const - throw(curl_exception, malformed_exception); + throw(curl_exception, malformed_exception, std::exception); private: commit 9935affa7b537db00dad84f55b6dd07c52a66e53 Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 17:16:56 2015 +0100 coverity#1308538 Uncaught exception Change-Id: Ib1e110617911ae3e9c13f013f8e807576abb00e6 diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx index 8259e5f..40cbd0d 100644 --- a/scaddins/source/datefunc/datefunc.cxx +++ b/scaddins/source/datefunc/datefunc.cxx @@ -261,7 +261,7 @@ void ScaDateAddIn::InitData() } } -OUString ScaDateAddIn::GetDisplFuncStr( sal_uInt16 nResId ) throw( uno::RuntimeException ) +OUString ScaDateAddIn::GetDisplFuncStr( sal_uInt16 nResId ) throw( uno::RuntimeException, std::exception ) { return ScaResStringLoader( RID_DATE_FUNCTION_NAMES, nResId, GetResMgr() ).GetString(); } diff --git a/scaddins/source/datefunc/datefunc.hxx b/scaddins/source/datefunc/datefunc.hxx index 66d0d55..7ca2b98 100644 --- a/scaddins/source/datefunc/datefunc.hxx +++ b/scaddins/source/datefunc/datefunc.hxx @@ -307,7 +307,7 @@ private: ResMgr& GetResMgr() throw( ::com::sun::star::uno::RuntimeException ); void InitData(); - OUString GetDisplFuncStr( sal_uInt16 nResId ) throw( ::com::sun::star::uno::RuntimeException ); + OUString GetDisplFuncStr( sal_uInt16 nResId ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); OUString GetFuncDescrStr( sal_uInt16 nResId, sal_uInt16 nStrIndex ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); public: commit e2c163793f16bfaf39a87e9692c57da0665f6475 Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 17:15:20 2015 +0100 coverity#1308537 Uncaught exception Change-Id: I5debb6c3fe00b13134d9efa152d86e41fc6d3fe3 diff --git a/sd/source/ui/unoidl/unopool.cxx b/sd/source/ui/unoidl/unopool.cxx index 2ff105a..01d80b7 100644 --- a/sd/source/ui/unoidl/unopool.cxx +++ b/sd/source/ui/unoidl/unopool.cxx @@ -50,7 +50,7 @@ public: protected: virtual void putAny( SfxItemPool* pPool, const PropertyMapEntry* pEntry, const uno::Any& rValue ) - throw( beans::UnknownPropertyException, lang::IllegalArgumentException, uno::RuntimeException ) SAL_OVERRIDE; + throw( beans::UnknownPropertyException, lang::IllegalArgumentException, uno::RuntimeException, std::exception ) SAL_OVERRIDE; private: SdDrawDocument* mpDrawModel; @@ -66,7 +66,7 @@ SdUnoDrawPool::~SdUnoDrawPool() throw() } void SdUnoDrawPool::putAny( SfxItemPool* pPool, const comphelper::PropertyMapEntry* pEntry, const uno::Any& rValue ) - throw(beans::UnknownPropertyException, lang::IllegalArgumentException, uno::RuntimeException) + throw(beans::UnknownPropertyException, lang::IllegalArgumentException, uno::RuntimeException, std::exception) { switch( pEntry->mnHandle ) { diff --git a/svx/source/unodraw/unopool.cxx b/svx/source/unodraw/unopool.cxx index 6d4320c..bc4f253 100644 --- a/svx/source/unodraw/unopool.cxx +++ b/svx/source/unodraw/unopool.cxx @@ -148,7 +148,7 @@ void SvxUnoDrawPool::getAny( SfxItemPool* pPool, const comphelper::PropertyMapEn } void SvxUnoDrawPool::putAny( SfxItemPool* pPool, const comphelper::PropertyMapEntry* pEntry, const uno::Any& rValue ) - throw(beans::UnknownPropertyException, lang::IllegalArgumentException, uno::RuntimeException) + throw(beans::UnknownPropertyException, lang::IllegalArgumentException, uno::RuntimeException, std::exception) { uno::Any aValue( rValue ); commit 4be5bc29307934f7cc002752571be76192aa25f1 Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 17:14:25 2015 +0100 coverity#1308536 Uncaught exception Change-Id: I48cdbeb02ced68ee7033dc572f89f4ba9165c209 diff --git a/sd/source/ui/accessibility/AccessiblePresentationShape.cxx b/sd/source/ui/accessibility/AccessiblePresentationShape.cxx index 8d03f8a..90c8dfc 100644 --- a/sd/source/ui/accessibility/AccessiblePresentationShape.cxx +++ b/sd/source/ui/accessibility/AccessiblePresentationShape.cxx @@ -104,7 +104,7 @@ OUString AccessiblePresentationShape::CreateAccessibleBaseName() OUString AccessiblePresentationShape::CreateAccessibleDescription() - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { // return createAccessibleName (); DescriptionGenerator aDG (mxShape); diff --git a/sd/source/ui/inc/AccessiblePresentationShape.hxx b/sd/source/ui/inc/AccessiblePresentationShape.hxx index 46580a7..9088fc5 100644 --- a/sd/source/ui/inc/AccessiblePresentationShape.hxx +++ b/sd/source/ui/inc/AccessiblePresentationShape.hxx @@ -54,7 +54,7 @@ public: /// Create a description string that contains the accessible description. virtual OUString CreateAccessibleDescription () - throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; OUString GetStyle() SAL_OVERRIDE; private: commit d1eb269491e8e0d5dbc56374376966a5e6ea5890 Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 17:12:46 2015 +0100 coverity#1308534 Uncaught exception Change-Id: Ia515fb55486cd5d3bb95ad3dbbb0cc554c0c1547 diff --git a/sw/inc/unocrsrhelper.hxx b/sw/inc/unocrsrhelper.hxx index 02f5ca1..5a82bd4 100644 --- a/sw/inc/unocrsrhelper.hxx +++ b/sw/inc/unocrsrhelper.hxx @@ -219,7 +219,7 @@ namespace SwUnoCursorHelper const ::com::sun::star::uno::Any& rValue, SwDoc & rDoc, SfxItemSet & rSet); void SetTextFormatColl(const ::com::sun::star::uno::Any & rAny, SwPaM & rPaM) - throw (::com::sun::star::lang::IllegalArgumentException, css::uno::RuntimeException); + throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception); bool SetCursorPropertyValue( SfxItemPropertySimpleEntry const& rEntry, ::com::sun::star::uno::Any const& rValue, diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx index 3c785e9..c2fbd47 100644 --- a/sw/source/core/unocore/unoobj.cxx +++ b/sw/source/core/unocore/unoobj.cxx @@ -261,7 +261,7 @@ throw (lang::IllegalArgumentException) void SwUnoCursorHelper::SetTextFormatColl(const uno::Any & rAny, SwPaM & rPaM) -throw (lang::IllegalArgumentException, uno::RuntimeException) +throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) { SwDoc *const pDoc = rPaM.GetDoc(); SwDocShell *const pDocSh = pDoc->GetDocShell(); commit 8e1dd507199696988ab8f6044b4bb07bab781fe1 Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 17:10:16 2015 +0100 coverity#1308533 Uncaught exception Change-Id: I141ccd478f08baef6bdf1091d1831fd5c2eaf88a diff --git a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx index d2a27b6..c8baa62 100644 --- a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx +++ b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx @@ -649,7 +649,7 @@ OUString */ OUString AccessibleDocumentViewBase::CreateAccessibleDescription() - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { OUString sDescription; diff --git a/sd/source/ui/accessibility/AccessibleOutlineView.cxx b/sd/source/ui/accessibility/AccessibleOutlineView.cxx index dbe9323c..e6288ff 100644 --- a/sd/source/ui/accessibility/AccessibleOutlineView.cxx +++ b/sd/source/ui/accessibility/AccessibleOutlineView.cxx @@ -274,7 +274,7 @@ OUString */ OUString AccessibleOutlineView::CreateAccessibleDescription() - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; diff --git a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx index 1bfbd12..8dd5fe3 100644 --- a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx +++ b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx @@ -330,7 +330,7 @@ protected: */ virtual OUString CreateAccessibleDescription () - throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** This method is called when (after) the frame containing this document has been activated. Can be used to send FOCUSED state diff --git a/sd/source/ui/inc/AccessibleOutlineView.hxx b/sd/source/ui/inc/AccessibleOutlineView.hxx index 5ae89ae..02eaa7c 100644 --- a/sd/source/ui/inc/AccessibleOutlineView.hxx +++ b/sd/source/ui/inc/AccessibleOutlineView.hxx @@ -127,7 +127,7 @@ protected: /// view mode. virtual OUString CreateAccessibleDescription () - throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: commit 49fb9186eb220c87fb064b2f95ec9682ef3995aa Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 17:09:21 2015 +0100 coverity#1308530 Uncaught exception Change-Id: I13616337401c23fb95f83accb9a635204339405e diff --git a/sw/inc/unocrsrhelper.hxx b/sw/inc/unocrsrhelper.hxx index 0210c72..02f5ca1 100644 --- a/sw/inc/unocrsrhelper.hxx +++ b/sw/inc/unocrsrhelper.hxx @@ -224,7 +224,8 @@ namespace SwUnoCursorHelper SfxItemPropertySimpleEntry const& rEntry, ::com::sun::star::uno::Any const& rValue, SwPaM & rPam, SfxItemSet & rItemSet) - throw (::com::sun::star::lang::IllegalArgumentException, css::uno::RuntimeException, css::uno::DeploymentException); + throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, + css::uno::DeploymentException, std::exception); /// try to get something that can be selected out of the XInterface /// at most one of the out parameters gets assigned a non-null value diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx index 4ca8062..3c785e9 100644 --- a/sw/source/core/unocore/unoobj.cxx +++ b/sw/source/core/unocore/unoobj.cxx @@ -474,7 +474,8 @@ bool SwUnoCursorHelper::SetCursorPropertyValue( SfxItemPropertySimpleEntry const& rEntry, const uno::Any& rValue, SwPaM & rPam, SfxItemSet & rItemSet) -throw (lang::IllegalArgumentException, uno::RuntimeException, uno::DeploymentException) +throw (lang::IllegalArgumentException, uno::RuntimeException, + uno::DeploymentException, std::exception) { if (!(rEntry.nFlags & beans::PropertyAttribute::MAYBEVOID) && (rValue.getValueType() == cppu::UnoType<void>::get())) commit 65c75a84b7a42cc68042d37cfc1c7534eebecf5f Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 17:08:42 2015 +0100 coverity#1308532 Uncaught exception Change-Id: Idb463679ef8d56cc5d62dd2e8db4fcd9c2322b26 diff --git a/sc/source/ui/Accessibility/AccessibleCellBase.cxx b/sc/source/ui/Accessibility/AccessibleCellBase.cxx index 37edaad..0c4cacd 100644 --- a/sc/source/ui/Accessibility/AccessibleCellBase.cxx +++ b/sc/source/ui/Accessibility/AccessibleCellBase.cxx @@ -598,7 +598,7 @@ OUString SAL_CALL ScAccessibleCellBase::getBorderAttrs() //end of cell attributes OUString SAL_CALL ScAccessibleCellBase::GetAllDisplayNote() - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { OUString strNote; OUString strTrackText; diff --git a/sc/source/ui/inc/AccessibleCellBase.hxx b/sc/source/ui/inc/AccessibleCellBase.hxx index 443428f..0d0b824 100644 --- a/sc/source/ui/inc/AccessibleCellBase.hxx +++ b/sc/source/ui/inc/AccessibleCellBase.hxx @@ -141,7 +141,7 @@ protected: throw (::com::sun::star::uno::RuntimeException); OUString SAL_CALL GetAllDisplayNote() - throw (::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::uno::RuntimeException, std::exception); OUString SAL_CALL getShadowAttrs() throw (::com::sun::star::uno::RuntimeException, std::exception); OUString SAL_CALL getBorderAttrs() commit dda06d97b037ad730f18e80194b5b795883f923e Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 17:07:27 2015 +0100 coverity#1308531 Uncaught exception Change-Id: Icf5ea960417de667429eadfdf0f0c388b4ed7f84 diff --git a/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx b/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx index 90e5e91..4fd177c 100644 --- a/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx +++ b/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx @@ -384,7 +384,7 @@ Rectangle ScAccessiblePreviewHeaderCell::GetBoundingBox() const throw (uno::Runt return Rectangle(); } -OUString SAL_CALL ScAccessiblePreviewHeaderCell::createAccessibleDescription() throw(uno::RuntimeException) +OUString SAL_CALL ScAccessiblePreviewHeaderCell::createAccessibleDescription() throw(uno::RuntimeException, std::exception) { OUString sDescription = OUString(ScResId(STR_ACC_HEADERCELL_DESCR)); return sDescription; diff --git a/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx b/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx index 4b8d2c9..9d489c2 100644 --- a/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx +++ b/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx @@ -116,7 +116,7 @@ public: throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: - virtual OUString SAL_CALL createAccessibleDescription() throw(::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + virtual OUString SAL_CALL createAccessibleDescription() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL createAccessibleName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual Rectangle GetBoundingBoxOnScreen() const throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; commit 5ef73c74bca5543cb6a833780a1283abca5ad7a7 Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 17:05:26 2015 +0100 coverity#1308529 Uncaught exception Change-Id: I8a91a9016e198e7f27d5c0e92789ae458f98f713 diff --git a/scaddins/source/analysis/analysis.cxx b/scaddins/source/analysis/analysis.cxx index c3b1efa..cfa9f30 100644 --- a/scaddins/source/analysis/analysis.cxx +++ b/scaddins/source/analysis/analysis.cxx @@ -64,7 +64,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL analysis_component_getFactory( return pRet; } -ResMgr& AnalysisAddIn::GetResMgr() throw( uno::RuntimeException ) +ResMgr& AnalysisAddIn::GetResMgr() throw( uno::RuntimeException, std::exception ) { if( !pResMgr ) { diff --git a/scaddins/source/analysis/analysis.hxx b/scaddins/source/analysis/analysis.hxx index 8c682ec..a387918 100644 --- a/scaddins/source/analysis/analysis.hxx +++ b/scaddins/source/analysis/analysis.hxx @@ -62,7 +62,7 @@ private: sca::analysis::ScaAnyConverter aAnyConv; - ResMgr& GetResMgr() throw( css::uno::RuntimeException ); + ResMgr& GetResMgr() throw( css::uno::RuntimeException, std::exception ); OUString GetDisplFuncStr( sal_uInt16 nFuncNum ) throw( css::uno::RuntimeException ); OUString GetFuncDescrStr( sal_uInt16 nResId, sal_uInt16 nStrIndex ) throw( css::uno::RuntimeException ); void InitDefLocales(); commit 891b5facf3d1b541e78a0bb455b02df5c36cb3e2 Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 17:04:34 2015 +0100 coverity#1308528 Uncaught exception Change-Id: Ia8338a4ad0025cfc715ad29576efe45cb4ab9363 diff --git a/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx b/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx index 0d0209e..d1d83b9 100644 --- a/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx +++ b/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx @@ -217,7 +217,7 @@ uno::Sequence<sal_Int8> SAL_CALL //===== internal ============================================================== OUString SAL_CALL ScAccessiblePageHeaderArea::createAccessibleDescription() - throw(uno::RuntimeException) + throw(uno::RuntimeException, std::exception) { OUString sDesc; switch (meAdjust) diff --git a/sc/source/ui/inc/AccessiblePageHeaderArea.hxx b/sc/source/ui/inc/AccessiblePageHeaderArea.hxx index 123e9b8..bcd26b3 100644 --- a/sc/source/ui/inc/AccessiblePageHeaderArea.hxx +++ b/sc/source/ui/inc/AccessiblePageHeaderArea.hxx @@ -106,7 +106,7 @@ public: throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: - virtual OUString SAL_CALL createAccessibleDescription() throw(::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + virtual OUString SAL_CALL createAccessibleDescription() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL createAccessibleName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual Rectangle GetBoundingBoxOnScreen() const throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; commit fa6db8cff15ff745d7eaa94da691132fc092fc7d Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 17:03:23 2015 +0100 coverity#1308527 Uncaught exception Change-Id: I7ddc62f0ee005652dba62adc359959e1eb09a41e diff --git a/framework/inc/services/layoutmanager.hxx b/framework/inc/services/layoutmanager.hxx index 6209f57..f072724 100644 --- a/framework/inc/services/layoutmanager.hxx +++ b/framework/inc/services/layoutmanager.hxx @@ -246,7 +246,7 @@ namespace framework void implts_setInplaceMenuBar( const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess >& xMergedMenuBar ) - throw (::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::uno::RuntimeException, std::exception); void implts_resetInplaceMenuBar() throw (::com::sun::star::uno::RuntimeException); diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx index 7155673..0a2e222 100644 --- a/framework/source/layoutmanager/layoutmanager.cxx +++ b/framework/source/layoutmanager/layoutmanager.cxx @@ -1140,7 +1140,7 @@ void LayoutManager::implts_setOffset( const sal_Int32 nBottomOffset ) } void LayoutManager::implts_setInplaceMenuBar( const Reference< XIndexAccess >& xMergedMenuBar ) -throw (uno::RuntimeException) +throw (uno::RuntimeException, std::exception) { /* SAFE AREA ----------------------------------------------------------------------------------------------- */ SolarMutexClearableGuard aWriteLock; commit a1a7aa93a39b1c66a1ee2e54a5c92a85f4a8e256 Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 17:02:30 2015 +0100 coverity#1308526 Uncaught exception Change-Id: Ie0266c7e8ab5980dc25ce14edd42b3f599f71245 diff --git a/pyuno/source/module/pyuno_impl.hxx b/pyuno/source/module/pyuno_impl.hxx index f7824ba..5f0df95 100644 --- a/pyuno/source/module/pyuno_impl.hxx +++ b/pyuno/source/module/pyuno_impl.hxx @@ -347,7 +347,7 @@ public: static PyRef create( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > & xContext ) - throw ( com::sun::star::uno::RuntimeException ); + throw ( com::sun::star::uno::RuntimeException, std::exception ); }; diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx index e92ad56..fcc9467 100644 --- a/pyuno/source/module/pyuno_runtime.cxx +++ b/pyuno/source/module/pyuno_runtime.cxx @@ -250,7 +250,7 @@ static void readLoggingConfig( sal_Int32 *pLevel, FILE **ppFile ) RuntimeImpl implementations *-------------------------------------------------------------------*/ PyRef stRuntimeImpl::create( const Reference< XComponentContext > &ctx ) - throw( com::sun::star::uno::RuntimeException ) + throw( com::sun::star::uno::RuntimeException, std::exception ) { RuntimeImpl *me = PyObject_New (RuntimeImpl, &RuntimeImpl_Type); if( ! me ) commit 65b0c0da01865c8eb79b7450c18ef0cabfba7c19 Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 17:01:32 2015 +0100 coverity#1308525 Uncaught exception Change-Id: I723b8c42c07d889b4082733d1d653c62b78d7d63 diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx index 3747c7b..8b02146 100644 --- a/sd/source/ui/slideshow/slideshowimpl.cxx +++ b/sd/source/ui/slideshow/slideshowimpl.cxx @@ -1659,7 +1659,7 @@ sal_Int32 SlideshowImpl::getSlideNumberForBookmark( const OUString& rStrBookmark return ( nPgNum - 1) >> 1; } -void SlideshowImpl::hyperLinkClicked( OUString const& aHyperLink ) throw (RuntimeException) +void SlideshowImpl::hyperLinkClicked( OUString const& aHyperLink ) throw (RuntimeException, std::exception) { OUString aBookmark( aHyperLink ); diff --git a/sd/source/ui/slideshow/slideshowimpl.hxx b/sd/source/ui/slideshow/slideshowimpl.hxx index 39e0998..3190f02 100644 --- a/sd/source/ui/slideshow/slideshowimpl.hxx +++ b/sd/source/ui/slideshow/slideshowimpl.hxx @@ -216,7 +216,7 @@ public: // will be called from the SlideShowListenerProxy when this event is fired from the XSlideShow void slideEnded(const bool bReverse); - void hyperLinkClicked(const OUString & hyperLink) throw (css::uno::RuntimeException); + void hyperLinkClicked(const OUString & hyperLink) throw (css::uno::RuntimeException, std::exception); void click(const css::uno::Reference< css::drawing::XShape > & xShape, const css::awt::MouseEvent & aOriginalEvent); bool swipe(const CommandSwipeData &rSwipeData); bool longpress(const CommandLongPressData& rLongPressData); commit 9c019970d7f3d6d32d4b52f76b15aa8d7a488622 Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 17:00:33 2015 +0100 coverity#1308524 Uncaught exception Change-Id: I7f0e8193e3fb2cbd1b9cfe3505aab70d4e298f49 diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx index dfc7a99..3747c7b 100644 --- a/sd/source/ui/slideshow/slideshowimpl.cxx +++ b/sd/source/ui/slideshow/slideshowimpl.cxx @@ -1306,7 +1306,7 @@ void SlideshowImpl::registerShapeEvents(sal_Int32 nSlideNumber) } } -void SlideshowImpl::registerShapeEvents( Reference< XShapes >& xShapes ) throw( Exception ) +void SlideshowImpl::registerShapeEvents( Reference< XShapes >& xShapes ) throw( Exception, std::exception ) { try { diff --git a/sd/source/ui/slideshow/slideshowimpl.hxx b/sd/source/ui/slideshow/slideshowimpl.hxx index 3e8f00f..39e0998 100644 --- a/sd/source/ui/slideshow/slideshowimpl.hxx +++ b/sd/source/ui/slideshow/slideshowimpl.hxx @@ -304,7 +304,7 @@ private: void removeShapeEvents(); void registerShapeEvents( sal_Int32 nSlideNumber ); - void registerShapeEvents( css::uno::Reference< css::drawing::XShapes >& xShapes ) throw (css::uno::Exception); + void registerShapeEvents( css::uno::Reference< css::drawing::XShapes >& xShapes ) throw (css::uno::Exception, std::exception); static css::uno::Reference< css::presentation::XSlideShow > createSlideShow(); commit 29df4fed2553583839cac3b052e0bf4f6f4fb4e1 Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 16:59:31 2015 +0100 coverity#1308523 Uncaught exception Change-Id: I965a4e86dd48ebec22ca9dccc77374a6e117fc7e diff --git a/dbaccess/source/filter/xml/xmlfilter.cxx b/dbaccess/source/filter/xml/xmlfilter.cxx index 9b37f05..079b7bc 100644 --- a/dbaccess/source/filter/xml/xmlfilter.cxx +++ b/dbaccess/source/filter/xml/xmlfilter.cxx @@ -273,7 +273,7 @@ sal_Bool SAL_CALL ODBFilter::filter( const Sequence< PropertyValue >& rDescripto } bool ODBFilter::implImport( const Sequence< PropertyValue >& rDescriptor ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { OUString sFileName; ::comphelper::NamedValueCollection aMediaDescriptor( rDescriptor ); diff --git a/dbaccess/source/filter/xml/xmlfilter.hxx b/dbaccess/source/filter/xml/xmlfilter.hxx index 732db52..7a8bfac 100644 --- a/dbaccess/source/filter/xml/xmlfilter.hxx +++ b/dbaccess/source/filter/xml/xmlfilter.hxx @@ -83,7 +83,7 @@ private: sal_Int32 m_nPreviewMode; bool m_bNewFormat; - bool implImport( const Sequence< PropertyValue >& rDescriptor ) throw (RuntimeException); + bool implImport( const Sequence< PropertyValue >& rDescriptor ) throw (RuntimeException, std::exception); /** fills the map with the Properties @param _rValue commit e71ccd6e4534832734df8fc9ae75f2d449cefbc4 Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 16:58:20 2015 +0100 coverity#1308522 Uncaught exception Change-Id: I2cab6b55aebc50bd024fe68553040292e40acb4b diff --git a/dbaccess/source/core/dataaccess/datasource.cxx b/dbaccess/source/core/dataaccess/datasource.cxx index 4b8d579..aa21158 100644 --- a/dbaccess/source/core/dataaccess/datasource.cxx +++ b/dbaccess/source/core/dataaccess/datasource.cxx @@ -1165,7 +1165,7 @@ Reference< XConnection > ODatabaseSource::buildIsolatedConnection(const OUString return xConn; } -Reference< XConnection > ODatabaseSource::getConnection(const OUString& user, const OUString& password,bool _bIsolated) throw( SQLException, RuntimeException ) +Reference< XConnection > ODatabaseSource::getConnection(const OUString& user, const OUString& password,bool _bIsolated) throw( SQLException, RuntimeException, std::exception ) { ModelMethodGuard aGuard( *this ); diff --git a/dbaccess/source/core/dataaccess/datasource.hxx b/dbaccess/source/core/dataaccess/datasource.hxx index bfc9e27..cc075cc 100644 --- a/dbaccess/source/core/dataaccess/datasource.hxx +++ b/dbaccess/source/core/dataaccess/datasource.hxx @@ -208,7 +208,7 @@ private: const OUString& user, const OUString& password ); - ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL getConnection( const OUString& user, const OUString& password , bool _bIsolated) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); + ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL getConnection( const OUString& user, const OUString& password , bool _bIsolated) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception); ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL connectWithCompletion( const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >& handler , bool _bIsolated) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); void clearConnections(); commit 50bd0c857383226ab44666c09db7ddaff8f1f281 Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 16:56:44 2015 +0100 coverity#1308521 Uncaught exception Change-Id: I6a189e0d1c4eb04e727fdf12585d46a1f4121f68 diff --git a/basic/source/inc/namecont.hxx b/basic/source/inc/namecont.hxx index 82b9ddf..5a18cf5 100644 --- a/basic/source/inc/namecont.hxx +++ b/basic/source/inc/namecont.hxx @@ -324,7 +324,7 @@ protected: virtual bool implLoadPasswordLibrary( SfxLibrary* pLib, const OUString& Name, bool bVerifyPasswordOnly=false ) throw(::com::sun::star::lang::WrappedTargetException, - ::com::sun::star::uno::RuntimeException); + ::com::sun::star::uno::RuntimeException, std::exception); virtual void onNewRootStorage() = 0; diff --git a/basic/source/inc/scriptcont.hxx b/basic/source/inc/scriptcont.hxx index c366277..17f9c32 100644 --- a/basic/source/inc/scriptcont.hxx +++ b/basic/source/inc/scriptcont.hxx @@ -75,7 +75,7 @@ class SfxScriptLibraryContainer : public SfxLibraryContainer, public OldBasicPas virtual bool implLoadPasswordLibrary( SfxLibrary* pLib, const OUString& Name, bool bVerifyPasswordOnly=false ) throw(::com::sun::star::lang::WrappedTargetException, - ::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void onNewRootStorage() SAL_OVERRIDE; diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index 2327b13..73ca0e5 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -1375,7 +1375,7 @@ bool SfxLibraryContainer::implLoadPasswordLibrary( SfxLibrary* /*pLib*/, const OUString& /*Name*/, bool /*bVerifyPasswordOnly*/ ) -throw(WrappedTargetException, RuntimeException) +throw(WrappedTargetException, RuntimeException, std::exception) { return true; } diff --git a/basic/source/uno/scriptcont.cxx b/basic/source/uno/scriptcont.cxx index 9e9388c..46620df 100644 --- a/basic/source/uno/scriptcont.cxx +++ b/basic/source/uno/scriptcont.cxx @@ -877,7 +877,7 @@ bool SfxScriptLibraryContainer::implStorePasswordLibrary( SfxLibrary* pLib, cons bool SfxScriptLibraryContainer::implLoadPasswordLibrary ( SfxLibrary* pLib, const OUString& Name, bool bVerifyPasswordOnly ) - throw(WrappedTargetException, RuntimeException) + throw(WrappedTargetException, RuntimeException, std::exception) { bool bRet = true; commit 7950fc0d049afba36ace8ef544df0358ea3c3e6c Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 16:56:08 2015 +0100 coverity#1308520 Uncaught exception Change-Id: I38c832f75fc590af70db82642174bf636bddb0ad diff --git a/sc/source/ui/Accessibility/AccessibleCellBase.cxx b/sc/source/ui/Accessibility/AccessibleCellBase.cxx index e3171d3..37edaad 100644 --- a/sc/source/ui/Accessibility/AccessibleCellBase.cxx +++ b/sc/source/ui/Accessibility/AccessibleCellBase.cxx @@ -206,7 +206,7 @@ sal_Int32 OUString SAL_CALL ScAccessibleCellBase::createAccessibleDescription() - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { OUString sDescription = OUString(ScResId(STR_ACC_CELL_DESCR)); diff --git a/sc/source/ui/inc/AccessibleCellBase.hxx b/sc/source/ui/inc/AccessibleCellBase.hxx index c7234b4..443428f 100644 --- a/sc/source/ui/inc/AccessibleCellBase.hxx +++ b/sc/source/ui/inc/AccessibleCellBase.hxx @@ -77,7 +77,7 @@ protected: /// Return this object's description. virtual OUString SAL_CALL createAccessibleDescription() - throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return the object's current name. virtual OUString SAL_CALL commit 074c8f68df1fff02bde1b3e4a781ddae34feda3e Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 16:53:48 2015 +0100 coverity#1308519 Uncaught exception Change-Id: I53ec25b565a3d74ca9c50733ecc237341af1f711 diff --git a/sd/source/ui/inc/unopage.hxx b/sd/source/ui/inc/unopage.hxx index 9ec4fb2..5d5a68b 100644 --- a/sd/source/ui/inc/unopage.hxx +++ b/sd/source/ui/inc/unopage.hxx @@ -67,7 +67,7 @@ protected: const SvxItemPropertySet* mpPropSet; - virtual void setBackground( const ::com::sun::star::uno::Any& rValue ) throw(::com::sun::star::lang::IllegalArgumentException); + virtual void setBackground( const ::com::sun::star::uno::Any& rValue ) throw(::com::sun::star::lang::IllegalArgumentException, std::exception); virtual void getBackground( ::com::sun::star::uno::Any& rValue ) throw(); OUString getBookmarkURL() const; @@ -234,7 +234,7 @@ class SdMasterPage : public ::com::sun::star::presentation::XPresentationPage, private: ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > maTypeSequence; protected: - virtual void setBackground( const ::com::sun::star::uno::Any& rValue ) throw( ::com::sun::star::lang::IllegalArgumentException ) SAL_OVERRIDE; + virtual void setBackground( const ::com::sun::star::uno::Any& rValue ) throw( ::com::sun::star::lang::IllegalArgumentException, std::exception ) SAL_OVERRIDE; virtual void getBackground( ::com::sun::star::uno::Any& rValue ) throw() SAL_OVERRIDE; public: diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx index 9f1237f..60d7287 100644 --- a/sd/source/ui/unoidl/unopage.cxx +++ b/sd/source/ui/unoidl/unopage.cxx @@ -1522,7 +1522,7 @@ Reference< container::XNameAccess > SAL_CALL SdGenericDrawPage::getLinks( ) return new SdPageLinkTargets( this ); } -void SdGenericDrawPage::setBackground( const Any& ) throw(lang::IllegalArgumentException) +void SdGenericDrawPage::setBackground( const Any& ) throw(lang::IllegalArgumentException, std::exception) { OSL_FAIL( "Don't call me, I'm useless!" ); } @@ -2849,7 +2849,7 @@ Any SAL_CALL SdMasterPage::getByIndex( sal_Int32 Index ) // intern void SdMasterPage::setBackground( const Any& rValue ) - throw( lang::IllegalArgumentException ) + throw( lang::IllegalArgumentException, std::exception ) { // we need at least an beans::XPropertySet Reference< beans::XPropertySet > xInputSet( rValue, UNO_QUERY ); commit d38e09c273bbb1021b22b884dc37cdfba7d0bccb Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 16:52:44 2015 +0100 coverity#1308518 Uncaught exception Change-Id: I511989f80316eb6791d3418848b1e5c7c4b97a85 diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx index 8c5289f..8259e5f 100644 --- a/scaddins/source/datefunc/datefunc.cxx +++ b/scaddins/source/datefunc/datefunc.cxx @@ -266,7 +266,7 @@ OUString ScaDateAddIn::GetDisplFuncStr( sal_uInt16 nResId ) throw( uno::RuntimeE return ScaResStringLoader( RID_DATE_FUNCTION_NAMES, nResId, GetResMgr() ).GetString(); } -OUString ScaDateAddIn::GetFuncDescrStr( sal_uInt16 nResId, sal_uInt16 nStrIndex ) throw( uno::RuntimeException ) +OUString ScaDateAddIn::GetFuncDescrStr( sal_uInt16 nResId, sal_uInt16 nStrIndex ) throw( uno::RuntimeException, std::exception ) { OUString aRet; diff --git a/scaddins/source/datefunc/datefunc.hxx b/scaddins/source/datefunc/datefunc.hxx index 99c403d..66d0d55 100644 --- a/scaddins/source/datefunc/datefunc.hxx +++ b/scaddins/source/datefunc/datefunc.hxx @@ -308,7 +308,7 @@ private: void InitData(); OUString GetDisplFuncStr( sal_uInt16 nResId ) throw( ::com::sun::star::uno::RuntimeException ); - OUString GetFuncDescrStr( sal_uInt16 nResId, sal_uInt16 nStrIndex ) throw( ::com::sun::star::uno::RuntimeException ); + OUString GetFuncDescrStr( sal_uInt16 nResId, sal_uInt16 nStrIndex ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); public: ScaDateAddIn(); commit f79f9f172599ebd7fcbad3f9901affe138a30f03 Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 16:51:35 2015 +0100 coverity#1308517 Uncaught exception Change-Id: I844e6eea6253833d08fbfaa23e32bc40b206ecdd diff --git a/sc/source/ui/Accessibility/AccessibleCellBase.cxx b/sc/source/ui/Accessibility/AccessibleCellBase.cxx index c50a46e..e3171d3 100644 --- a/sc/source/ui/Accessibility/AccessibleCellBase.cxx +++ b/sc/source/ui/Accessibility/AccessibleCellBase.cxx @@ -365,7 +365,7 @@ OUString SAL_CALL ScAccessibleCellBase::GetNote() #include <com/sun/star/table/ShadowFormat.hpp> OUString SAL_CALL ScAccessibleCellBase::getShadowAttrs() - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; IsObjectValid(); diff --git a/sc/source/ui/inc/AccessibleCellBase.hxx b/sc/source/ui/inc/AccessibleCellBase.hxx index 3094541..c7234b4 100644 --- a/sc/source/ui/inc/AccessibleCellBase.hxx +++ b/sc/source/ui/inc/AccessibleCellBase.hxx @@ -143,7 +143,7 @@ protected: OUString SAL_CALL GetAllDisplayNote() throw (::com::sun::star::uno::RuntimeException); OUString SAL_CALL getShadowAttrs() - throw (::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::uno::RuntimeException, std::exception); OUString SAL_CALL getBorderAttrs() throw (::com::sun::star::uno::RuntimeException); public: commit 4c15726253e178edbcdccf2c2ecca1e1c232f968 Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 16:50:20 2015 +0100 coverity#1308516 Uncaught exception Change-Id: If5dcf42448f87888e9f6bab2209bc1f9dd1d525c diff --git a/framework/inc/xml/xmlnamespaces.hxx b/framework/inc/xml/xmlnamespaces.hxx index a1081ed..6ce9351 100644 --- a/framework/inc/xml/xmlnamespaces.hxx +++ b/framework/inc/xml/xmlnamespaces.hxx @@ -39,7 +39,7 @@ class FWE_DLLPUBLIC XMLNamespaces throw( ::com::sun::star::xml::sax::SAXException ); OUString applyNSToAttributeName( const OUString& ) const - throw( ::com::sun::star::xml::sax::SAXException ); + throw( ::com::sun::star::xml::sax::SAXException, std::exception ); OUString applyNSToElementName( const OUString& ) const throw( ::com::sun::star::xml::sax::SAXException ); diff --git a/framework/source/fwe/xml/xmlnamespaces.cxx b/framework/source/fwe/xml/xmlnamespaces.cxx index f52536e..f65e669 100644 --- a/framework/source/fwe/xml/xmlnamespaces.cxx +++ b/framework/source/fwe/xml/xmlnamespaces.cxx @@ -93,7 +93,7 @@ void XMLNamespaces::addNamespace( const OUString& aName, const OUString& aValue } } -OUString XMLNamespaces::applyNSToAttributeName( const OUString& aName ) const throw( SAXException ) +OUString XMLNamespaces::applyNSToAttributeName( const OUString& aName ) const throw( SAXException, std::exception ) { // xml draft: there is no default namespace for attributes! commit 4d58a80fcab53e11457a47b6f76eb618cb8e835f Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 16:49:28 2015 +0100 coverity#1308515 Uncaught exception Change-Id: I22d666417a45eaecf4ade96e3b9207700d8fe778 diff --git a/include/svx/unomaster.hxx b/include/svx/unomaster.hxx index 3f2c661..ae5206d 100644 --- a/include/svx/unomaster.hxx +++ b/include/svx/unomaster.hxx @@ -51,7 +51,7 @@ public: virtual ::com::sun::star::beans::PropertyState SAL_CALL getPropertyState( const OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0; virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0; - virtual ::com::sun::star::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) = 0; + virtual ::com::sun::star::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) = 0; virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException) = 0; diff --git a/sd/source/ui/unoidl/unoobj.cxx b/sd/source/ui/unoidl/unoobj.cxx index e87705c..6a37fef 100644 --- a/sd/source/ui/unoidl/unoobj.cxx +++ b/sd/source/ui/unoidl/unoobj.cxx @@ -392,7 +392,7 @@ void SAL_CALL SdXShape::setPropertyToDefault( const OUString& PropertyName ) thr } } -uno::Any SAL_CALL SdXShape::getPropertyDefault( const OUString& aPropertyName ) throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) +uno::Any SAL_CALL SdXShape::getPropertyDefault( const OUString& aPropertyName ) throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; diff --git a/sd/source/ui/unoidl/unoobj.hxx b/sd/source/ui/unoidl/unoobj.hxx index aed695b..684a0a7 100644 --- a/sd/source/ui/unoidl/unoobj.hxx +++ b/sd/source/ui/unoidl/unoobj.hxx @@ -106,7 +106,7 @@ public: //XPropertyState virtual ::com::sun::star::beans::PropertyState SAL_CALL getPropertyState( const OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; - virtual ::com::sun::star::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + virtual ::com::sun::star::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XTypeProvider virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; commit 9a36ba20c5c0a1c62976faf676db5f605c36ca70 Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 16:45:54 2015 +0100 coverity#1308514 Uncaught exception Change-Id: I62d3d390ff9d1a44d8704b41ef62fff5d532bcc4 diff --git a/basctl/source/basicide/basobj2.cxx b/basctl/source/basicide/basobj2.cxx index 1921afe..58edc60 100644 --- a/basctl/source/basicide/basobj2.cxx +++ b/basctl/source/basicide/basobj2.cxx @@ -367,7 +367,7 @@ OUString ChooseMacro( const uno::Reference< frame::XModel >& rxLimitToDocument, } Sequence< OUString > GetMethodNames( const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rModName ) - throw (NoSuchElementException, RuntimeException) + throw (NoSuchElementException, RuntimeException, std::exception) { Sequence< OUString > aSeqMethods; diff --git a/basctl/source/inc/basobj.hxx b/basctl/source/inc/basobj.hxx index ef99612..cea809e 100644 --- a/basctl/source/inc/basobj.hxx +++ b/basctl/source/inc/basobj.hxx @@ -79,7 +79,7 @@ namespace basctl ::com::sun::star::uno::Sequence< OUString > GetMethodNames( const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rModName ) - throw (css::container::NoSuchElementException, css::uno::RuntimeException); + throw (css::container::NoSuchElementException, css::uno::RuntimeException, std::exception); bool HasMethod( const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rModName, const OUString& rMethName ); commit 959c669d471332194bba12602edd7a39495a22c4 Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 16:42:57 2015 +0100 coverity#1308513 Uncaught exception Change-Id: If09fc8743f2125a947563e3da8d6c62d36a0bfbd diff --git a/sc/source/ui/Accessibility/AccessibleContextBase.cxx b/sc/source/ui/Accessibility/AccessibleContextBase.cxx index c4d7c53..1de3ee8 100644 --- a/sc/source/ui/Accessibility/AccessibleContextBase.cxx +++ b/sc/source/ui/Accessibility/AccessibleContextBase.cxx @@ -500,7 +500,7 @@ uno::Sequence<sal_Int8> SAL_CALL OUString SAL_CALL ScAccessibleContextBase::createAccessibleDescription() - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { OSL_FAIL("should be implemented in the abrevated class"); return OUString(); diff --git a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx index bb924f2..3214d94 100644 --- a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx +++ b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx @@ -762,7 +762,7 @@ OUString SAL_CALL ScAccessibleCsvRuler::createAccessibleName() throw( RuntimeExc return OUString( ScResId( STR_ACC_CSVRULER_NAME ) ); } -OUString SAL_CALL ScAccessibleCsvRuler::createAccessibleDescription() throw( RuntimeException ) +OUString SAL_CALL ScAccessibleCsvRuler::createAccessibleDescription() throw( RuntimeException, std::exception ) { return OUString( ScResId( STR_ACC_CSVRULER_DESCR ) ); } @@ -1296,7 +1296,7 @@ OUString SAL_CALL ScAccessibleCsvGrid::createAccessibleName() throw( RuntimeExce return OUString( ScResId( STR_ACC_CSVGRID_NAME ) ); } -OUString SAL_CALL ScAccessibleCsvGrid::createAccessibleDescription() throw( RuntimeException ) +OUString SAL_CALL ScAccessibleCsvGrid::createAccessibleDescription() throw( RuntimeException, std::exception ) { return OUString( ScResId( STR_ACC_CSVGRID_DESCR ) ); } diff --git a/sc/source/ui/inc/AccessibleContextBase.hxx b/sc/source/ui/inc/AccessibleContextBase.hxx index 61f1cbc..012bf9b 100644 --- a/sc/source/ui/inc/AccessibleContextBase.hxx +++ b/sc/source/ui/inc/AccessibleContextBase.hxx @@ -262,7 +262,7 @@ protected: /// Return this object's description. virtual OUString SAL_CALL createAccessibleDescription() - throw (::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::uno::RuntimeException, std::exception); /// Return the object's current name. virtual OUString SAL_CALL diff --git a/sc/source/ui/inc/AccessibleCsvControl.hxx b/sc/source/ui/inc/AccessibleCsvControl.hxx index a181c24..5ebbf14 100644 --- a/sc/source/ui/inc/AccessibleCsvControl.hxx +++ b/sc/source/ui/inc/AccessibleCsvControl.hxx @@ -261,7 +261,7 @@ private: throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /** Returns this object's description. */ virtual OUString SAL_CALL createAccessibleDescription() - throw( ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /** Throws an exception, if the specified character position is invalid (outside 0..len-1). */ void ensureValidIndex( sal_Int32 nIndex ) const @@ -492,7 +492,7 @@ private: throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /** Returns this object's description. */ virtual OUString SAL_CALL createAccessibleDescription() - throw( ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /** Throws an exception, if nIndex is not a valid child index. */ void ensureValidIndex( sal_Int32 nIndex ) const commit a4fdbaf54644b5eb576d5fb89121fb0aa2c5b0d4 Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 16:42:02 2015 +0100 coverity#1308512 Uncaught exception Change-Id: Iacdf2e25fb041ec7e2bae8a505604ef538ee9dac diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx index 542f331..c2d4183 100644 --- a/scripting/source/stringresource/stringresource.cxx +++ b/scripting/source/stringresource/stringresource.cxx @@ -1183,7 +1183,7 @@ void StringResourcePersistenceImpl::implStoreAtLocation bool bStoreAll, bool bKillAll ) - throw (Exception, RuntimeException) + throw (Exception, RuntimeException, std::exception) { // Delete files for deleted locales if( bUsedForStore || bKillAll ) diff --git a/scripting/source/stringresource/stringresource.hxx b/scripting/source/stringresource/stringresource.hxx index a9c5117..069cb14 100644 --- a/scripting/source/stringresource/stringresource.hxx +++ b/scripting/source/stringresource/stringresource.hxx @@ -309,7 +309,7 @@ protected: bool bStoreAll, bool bKillAll = false ) - throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception); public: StringResourcePersistenceImpl( commit 5d6091da85c526bb82e5504b552ab30be0ac4b0e Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 16:38:19 2015 +0100 coverity#1308510 Uncaught exception Change-Id: I6734b2953e9a262e7661782c92318f54e14181eb diff --git a/dbaccess/source/ui/control/tabletree.cxx b/dbaccess/source/ui/control/tabletree.cxx index 61db99b..ed0083b 100644 --- a/dbaccess/source/ui/control/tabletree.cxx +++ b/dbaccess/source/ui/control/tabletree.cxx @@ -143,7 +143,7 @@ void OTableTreeListBox::implOnNewConnection( const Reference< XConnection >& _rx m_xImageProvider.reset( new ImageProvider( m_xConnection ) ); } -void OTableTreeListBox::UpdateTableList( const Reference< XConnection >& _rxConnection ) throw(SQLException) +void OTableTreeListBox::UpdateTableList( const Reference< XConnection >& _rxConnection ) throw(SQLException, std::exception) { Sequence< OUString > sTables, sViews; diff --git a/dbaccess/source/ui/inc/tabletree.hxx b/dbaccess/source/ui/inc/tabletree.hxx index 7501dd2..a8afc9c 100644 --- a/dbaccess/source/ui/inc/tabletree.hxx +++ b/dbaccess/source/ui/inc/tabletree.hxx @@ -78,7 +78,7 @@ public: */ void UpdateTableList( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _rxConnection - ) throw(::com::sun::star::sdbc::SQLException); + ) throw(::com::sun::star::sdbc::SQLException, std::exception); /** fill the table list with the tables and views determined by the two given containers. The views sequence is used to determine which table is of type view. diff --git a/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx b/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx index fcac449..aa2fa07 100644 --- a/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx +++ b/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx @@ -604,7 +604,7 @@ uno::Sequence<sal_Int8> SAL_CALL ScAccessiblePreviewTable::getImplementationId() //==== internal ========================================================= OUString SAL_CALL ScAccessiblePreviewTable::createAccessibleDescription() - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { OUString sDesc(ScResId(STR_ACC_TABLE_DESCR)); return sDesc; diff --git a/sc/source/ui/inc/AccessiblePreviewTable.hxx b/sc/source/ui/inc/AccessiblePreviewTable.hxx index 29b524b..a985fc3 100644 --- a/sc/source/ui/inc/AccessiblePreviewTable.hxx +++ b/sc/source/ui/inc/AccessiblePreviewTable.hxx @@ -170,7 +170,7 @@ public: void SetCurrentIndexInParent(sal_Int32 nNew) { mnIndex = nNew; } protected: - virtual OUString SAL_CALL createAccessibleDescription() throw(::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + virtual OUString SAL_CALL createAccessibleDescription() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL createAccessibleName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; commit 9e8e75db96a5f4e2aa5fb11b5c28ba7edfcd97dc Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 16:37:12 2015 +0100 coverity#1308509 Uncaught exception Change-Id: I6313447f6b62e5ab2a233bd418508afb84b9473b diff --git a/include/svx/AccessibleControlShape.hxx b/include/svx/AccessibleControlShape.hxx index e19cf14..2388310 100644 --- a/include/svx/AccessibleControlShape.hxx +++ b/include/svx/AccessibleControlShape.hxx @@ -127,7 +127,7 @@ protected: /// Create a description string that contains the accessible description. virtual OUString CreateAccessibleDescription( ) - throw(::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; #ifdef DBG_UTIL /// Set the specified state diff --git a/svx/source/accessibility/AccessibleControlShape.cxx b/svx/source/accessibility/AccessibleControlShape.cxx index a9215eb2..550e019 100644 --- a/svx/source/accessibility/AccessibleControlShape.cxx +++ b/svx/source/accessibility/AccessibleControlShape.cxx @@ -325,12 +325,9 @@ OUString AccessibleControlShape::CreateAccessibleBaseName() throw (RuntimeExcept return sName; } - - - OUString AccessibleControlShape::CreateAccessibleDescription() - throw (RuntimeException) + throw (RuntimeException, std::exception) { DescriptionGenerator aDG (mxShape); ShapeTypeId nShapeType = ShapeTypeHandler::Instance().GetTypeId (mxShape); commit 3cf45651653a49639e30ddb629bfd72cdf53e0d6 Author: Caolán McNamara <[email protected]> Date: Sun Jun 28 16:36:01 2015 +0100 coverity#1308508 Uncaught exception Change-Id: Ibe262b89ed66830444edefa93f971b353d2f16ce diff --git a/svx/source/inc/xmlxtexp.hxx b/svx/source/inc/xmlxtexp.hxx index bf21883..e3a80d4 100644 --- a/svx/source/inc/xmlxtexp.hxx +++ b/svx/source/inc/xmlxtexp.hxx @@ -50,7 +50,7 @@ public: const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XStorage > &xStorage, OUString *pOptName ) - throw (css::uno::RuntimeException); + throw (css::uno::RuntimeException, std::exception); // methods without content: virtual void _ExportAutoStyles() SAL_OVERRIDE; diff --git a/svx/source/xml/xmlxtexp.cxx b/svx/source/xml/xmlxtexp.cxx index 9b71b37..8323942 100644 --- a/svx/source/xml/xmlxtexp.cxx +++ b/svx/source/xml/xmlxtexp.cxx @@ -210,7 +210,7 @@ bool SvxXMLXTableExportComponent::save( const uno::Reference<container::XNameContainer >& xTable, const uno::Reference<embed::XStorage >& xStorage, OUString *pOptName ) - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { bool bRet = false; SfxMedium* pMedium = NULL;
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
