summaryrefslogtreecommitdiffstats
path: root/include/comphelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-26 12:28:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-26 12:54:43 +0000
commite57ca02849c3d87142ff5ff9099a212e72b8139c (patch)
treebcce66b27261553c308779f3e8663a269ed3a671 /include/comphelper
parentMoved About dialog to DialogFragment (diff)
downloadcore-e57ca02849c3d87142ff5ff9099a212e72b8139c.tar.gz
core-e57ca02849c3d87142ff5ff9099a212e72b8139c.zip
Remove dynamic exception specifications
...(for now, from LIBO_INTERNAL_CODE only). See the mail thread starting at <https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html> "Dynamic Exception Specifications" for details. Most changes have been done automatically by the rewriting loplugin:dynexcspec (after enabling the rewriting mode, to be committed shortly). The way it only removes exception specs from declarations if it also sees a definition, it identified some dead declarations-w/o-definitions (that have been removed manually) and some cases where a definition appeared in multiple include files (which have also been cleaned up manually). There's also been cases of macro paramters (that were used to abstract over exception specs) that have become unused now (and been removed). Furthermore, some code needed to be cleaned up manually (avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no configurations available that would actually build that code. Missing @throws documentation has not been applied in such manual clean-up. Change-Id: I3408691256c9b0c12bc5332de976743626e13960 Reviewed-on: https://gerrit.libreoffice.org/33574 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/comphelper')
-rw-r--r--include/comphelper/ChainablePropertySet.hxx100
-rw-r--r--include/comphelper/ChainablePropertySetInfo.hxx9
-rw-r--r--include/comphelper/MasterPropertySet.hxx85
-rw-r--r--include/comphelper/MasterPropertySetInfo.hxx9
-rw-r--r--include/comphelper/SelectionMultiplex.hxx9
-rw-r--r--include/comphelper/SettingsHelper.hxx38
-rw-r--r--include/comphelper/accessiblecomponenthelper.hxx32
-rw-r--r--include/comphelper/accessiblecontexthelper.hxx24
-rw-r--r--include/comphelper/accessiblekeybindinghelper.hxx8
-rw-r--r--include/comphelper/accessibleselectionhelper.hxx39
-rw-r--r--include/comphelper/accessibletexthelper.hxx40
-rw-r--r--include/comphelper/accessiblewrapper.hxx48
-rw-r--r--include/comphelper/accimplaccess.hxx2
-rw-r--r--include/comphelper/attributelist.hxx20
-rw-r--r--include/comphelper/configurationlistener.hxx6
-rw-r--r--include/comphelper/containermultiplexer.hxx24
-rw-r--r--include/comphelper/docpasswordrequest.hxx8
-rw-r--r--include/comphelper/enumhelper.hxx19
-rw-r--r--include/comphelper/eventattachermgr.hxx3
-rw-r--r--include/comphelper/evtlistenerhlp.hxx2
-rw-r--r--include/comphelper/extract.hxx2
-rw-r--r--include/comphelper/interaction.hxx12
-rw-r--r--include/comphelper/numberedcollection.hxx15
-rw-r--r--include/comphelper/ofopxmlhelper.hxx12
-rw-r--r--include/comphelper/oslfile2streamwrap.hxx16
-rw-r--r--include/comphelper/propagg.hxx35
-rw-r--r--include/comphelper/propertycontainer.hxx12
-rw-r--r--include/comphelper/propertysethelper.hxx42
-rw-r--r--include/comphelper/propertysetinfo.hxx6
-rw-r--r--include/comphelper/propertystatecontainer.hxx10
-rw-r--r--include/comphelper/propmultiplex.hxx10
-rw-r--r--include/comphelper/propstate.hxx10
-rw-r--r--include/comphelper/proxyaggregation.hxx16
-rw-r--r--include/comphelper/seekableinput.hxx16
-rw-r--r--include/comphelper/seqstream.hxx30
-rw-r--r--include/comphelper/servicedecl.hxx8
-rw-r--r--include/comphelper/servicehelper.hxx6
-rw-r--r--include/comphelper/serviceinfohelper.hxx4
-rw-r--r--include/comphelper/storagehelper.hxx43
-rw-r--r--include/comphelper/types.hxx2
-rw-r--r--include/comphelper/unique_disposing_ptr.hxx19
-rw-r--r--include/comphelper/uno3.hxx26
-rw-r--r--include/comphelper/weak.hxx6
-rw-r--r--include/comphelper/weakeventlistener.hxx4
44 files changed, 358 insertions, 529 deletions
diff --git a/include/comphelper/ChainablePropertySet.hxx b/include/comphelper/ChainablePropertySet.hxx
index 8135a77d1aed..85a7f0b41828 100644
--- a/include/comphelper/ChainablePropertySet.hxx
+++ b/include/comphelper/ChainablePropertySet.hxx
@@ -68,84 +68,54 @@ namespace comphelper
/// @throws css::lang::IllegalArgumentException
/// @throws css::lang::WrappedTargetException
/// @throws css::uno::RuntimeException
- virtual void _preSetValues ()
- throw (css::beans::UnknownPropertyException,
- css::beans::PropertyVetoException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException) = 0;
+ virtual void _preSetValues () = 0;
/// @throws css::beans::UnknownPropertyException
/// @throws css::beans::PropertyVetoException
/// @throws css::lang::IllegalArgumentException
/// @throws css::lang::WrappedTargetException
/// @throws css::uno::RuntimeException
- virtual void _setSingleValue(const comphelper::PropertyInfo & rInfo, const css::uno::Any &rValue)
- throw (css::beans::UnknownPropertyException,
- css::beans::PropertyVetoException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException,
- std::exception) = 0;
+ virtual void _setSingleValue(const comphelper::PropertyInfo & rInfo, const css::uno::Any &rValue) = 0;
/// @throws css::beans::UnknownPropertyException
/// @throws css::beans::PropertyVetoException
/// @throws css::lang::IllegalArgumentException
/// @throws css::lang::WrappedTargetException
/// @throws css::uno::RuntimeException
- virtual void _postSetValues ()
- throw (css::beans::UnknownPropertyException,
- css::beans::PropertyVetoException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException) = 0;
+ virtual void _postSetValues () = 0;
/// @throws css::beans::UnknownPropertyException
/// @throws css::beans::PropertyVetoException
/// @throws css::lang::IllegalArgumentException
/// @throws css::lang::WrappedTargetException
/// @throws css::uno::RuntimeException
- virtual void _preGetValues ()
- throw (css::beans::UnknownPropertyException,
- css::beans::PropertyVetoException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException) = 0;
+ virtual void _preGetValues () = 0;
/// @throws css::beans::UnknownPropertyException
/// @throws css::lang::WrappedTargetException
/// @throws css::uno::RuntimeException
- virtual void _getSingleValue( const comphelper::PropertyInfo & rInfo, css::uno::Any & rValue )
- throw (css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException) = 0;
+ virtual void _getSingleValue( const comphelper::PropertyInfo & rInfo, css::uno::Any & rValue ) = 0;
/// @throws css::beans::UnknownPropertyException
/// @throws css::beans::PropertyVetoException
/// @throws css::lang::IllegalArgumentException
/// @throws css::lang::WrappedTargetException
- virtual void _postGetValues ()
- throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException ) = 0;
+ virtual void _postGetValues () = 0;
/// @throws css::beans::UnknownPropertyException
/// @throws css::beans::PropertyVetoException
/// @throws css::lang::IllegalArgumentException
/// @throws css::lang::WrappedTargetException
- static void _preGetPropertyState ()
- throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException );
+ static void _preGetPropertyState ();
/// @throws css::beans::UnknownPropertyException
- static void _getPropertyState( const comphelper::PropertyInfo& rInfo, css::beans::PropertyState& rState )
- throw(css::beans::UnknownPropertyException );
+ static void _getPropertyState( const comphelper::PropertyInfo& rInfo, css::beans::PropertyState& rState );
/// @throws css::beans::UnknownPropertyException
/// @throws css::beans::PropertyVetoException
/// @throws css::lang::IllegalArgumentException
/// @throws css::lang::WrappedTargetException
- static void _postGetPropertyState ()
- throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException );
+ static void _postGetPropertyState ();
/// @throws css::beans::UnknownPropertyException
- static void _setPropertyToDefault( const comphelper::PropertyInfo& rEntry )
- throw(css::beans::UnknownPropertyException );
+ static void _setPropertyToDefault( const comphelper::PropertyInfo& rEntry );
/// @throws css::beans::UnknownPropertyException
/// @throws css::lang::WrappedTargetException
- static css::uno::Any _getPropertyDefault( const comphelper::PropertyInfo& rEntry )
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException );
+ static css::uno::Any _getPropertyDefault( const comphelper::PropertyInfo& rEntry );
public:
ChainablePropertySet( comphelper::ChainablePropertySetInfo* pInfo, SolarMutex* pMutex = nullptr )
@@ -154,42 +124,26 @@ namespace comphelper
throw();
// XPropertySet
- virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( )
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue )
- throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName )
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
+ virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
+ virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
+ virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
+ virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
+ virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
+ virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
// XMultiPropertySet
- virtual void SAL_CALL setPropertyValues( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Sequence< css::uno::Any >& aValues )
- throw(css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues( const css::uno::Sequence< OUString >& aPropertyNames )
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addPropertiesChangeListener( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener )
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removePropertiesChangeListener( const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener )
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL firePropertiesChangeEvent( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener )
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setPropertyValues( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Sequence< css::uno::Any >& aValues ) override;
+ virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues( const css::uno::Sequence< OUString >& aPropertyNames ) override;
+ virtual void SAL_CALL addPropertiesChangeListener( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener ) override;
+ virtual void SAL_CALL removePropertiesChangeListener( const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener ) override;
+ virtual void SAL_CALL firePropertiesChangeEvent( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener ) override;
// XPropertyState
- virtual css::beans::PropertyState SAL_CALL getPropertyState( const OUString& PropertyName )
- throw(css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates( const css::uno::Sequence< OUString >& aPropertyName )
- throw(css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName )
- throw(css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName )
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
+ virtual css::beans::PropertyState SAL_CALL getPropertyState( const OUString& PropertyName ) override;
+ virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates( const css::uno::Sequence< OUString >& aPropertyName ) override;
+ virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName ) override;
+ virtual css::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName ) override;
};
}
#endif
diff --git a/include/comphelper/ChainablePropertySetInfo.hxx b/include/comphelper/ChainablePropertySetInfo.hxx
index a5885e2cd8b9..b7807c74fec4 100644
--- a/include/comphelper/ChainablePropertySetInfo.hxx
+++ b/include/comphelper/ChainablePropertySetInfo.hxx
@@ -46,12 +46,9 @@ namespace comphelper
throw() override;
// XPropertySetInfo
- virtual css::uno::Sequence< css::beans::Property > SAL_CALL getProperties()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual css::beans::Property SAL_CALL getPropertyByName( const OUString& aName )
- throw(css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL hasPropertyByName( const OUString& Name )
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< css::beans::Property > SAL_CALL getProperties() override;
+ virtual css::beans::Property SAL_CALL getPropertyByName( const OUString& aName ) override;
+ virtual sal_Bool SAL_CALL hasPropertyByName( const OUString& Name ) override;
PropertyInfoHash maMap;
css::uno::Sequence < css::beans::Property > maProperties;
diff --git a/include/comphelper/MasterPropertySet.hxx b/include/comphelper/MasterPropertySet.hxx
index 6c056bb376dd..c1203a35b257 100644
--- a/include/comphelper/MasterPropertySet.hxx
+++ b/include/comphelper/MasterPropertySet.hxx
@@ -70,67 +70,52 @@ namespace comphelper
/// @throws css::beans::PropertyVetoException
/// @throws css::lang::IllegalArgumentException
/// @throws css::lang::WrappedTargetException
- virtual void _preSetValues ()
- throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException ) = 0;
+ virtual void _preSetValues () = 0;
/// @throws css::beans::UnknownPropertyException
/// @throws css::beans::PropertyVetoException
/// @throws css::lang::IllegalArgumentException
/// @throws css::lang::WrappedTargetException
/// @throws css::uno::RuntimeException
- virtual void _setSingleValue( const comphelper::PropertyInfo & rInfo, const css::uno::Any &rValue )
- throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException,
- css::lang::IllegalArgumentException, css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) = 0;
+ virtual void _setSingleValue( const comphelper::PropertyInfo & rInfo, const css::uno::Any &rValue ) = 0;
/// @throws css::beans::UnknownPropertyException
/// @throws css::beans::PropertyVetoException
/// @throws css::lang::IllegalArgumentException
/// @throws css::lang::WrappedTargetException
- virtual void _postSetValues ()
- throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException ) = 0;
+ virtual void _postSetValues () = 0;
/// @throws css::beans::UnknownPropertyException
/// @throws css::beans::PropertyVetoException
/// @throws css::lang::IllegalArgumentException
/// @throws css::lang::WrappedTargetException
- virtual void _preGetValues ()
- throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException ) = 0;
+ virtual void _preGetValues () = 0;
/// @throws css::beans::UnknownPropertyException
/// @throws css::lang::WrappedTargetException
/// @throws css::uno::RuntimeException
- virtual void _getSingleValue( const comphelper::PropertyInfo & rInfo, css::uno::Any & rValue )
- throw (css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException) = 0;
+ virtual void _getSingleValue( const comphelper::PropertyInfo & rInfo, css::uno::Any & rValue ) = 0;
/// @throws css::beans::UnknownPropertyException
/// @throws css::beans::PropertyVetoException
/// @throws css::lang::IllegalArgumentException
/// @throws css::lang::WrappedTargetException
- virtual void _postGetValues ()
- throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException ) = 0;
+ virtual void _postGetValues () = 0;
/// @throws css::beans::UnknownPropertyException
/// @throws css::beans::PropertyVetoException
/// @throws css::lang::IllegalArgumentException
/// @throws css::lang::WrappedTargetException
- static void _preGetPropertyState ()
- throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException );
+ static void _preGetPropertyState ();
/// @throws css::beans::UnknownPropertyException
- static void _getPropertyState( const comphelper::PropertyInfo& rInfo, css::beans::PropertyState& rState )
- throw(css::beans::UnknownPropertyException );
+ static void _getPropertyState( const comphelper::PropertyInfo& rInfo, css::beans::PropertyState& rState );
/// @throws css::beans::UnknownPropertyException
/// @throws css::beans::PropertyVetoException
/// @throws css::lang::IllegalArgumentException
/// @throws css::lang::WrappedTargetException
- static void _postGetPropertyState ()
- throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException );
+ static void _postGetPropertyState ();
/// @throws css::beans::UnknownPropertyException
- static void _setPropertyToDefault( const comphelper::PropertyInfo& rEntry )
- throw(css::beans::UnknownPropertyException );
+ static void _setPropertyToDefault( const comphelper::PropertyInfo& rEntry );
/// @throws css::beans::UnknownPropertyException
/// @throws css::lang::WrappedTargetException
- static css::uno::Any _getPropertyDefault( const comphelper::PropertyInfo& rEntry )
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException );
+ static css::uno::Any _getPropertyDefault( const comphelper::PropertyInfo& rEntry );
public:
MasterPropertySet( comphelper::MasterPropertySetInfo* pInfo, SolarMutex* pMutex = nullptr )
@@ -141,42 +126,26 @@ namespace comphelper
throw();
// XPropertySet
- virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( )
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue )
- throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName )
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
+ virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
+ virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
+ virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
+ virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
+ virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
+ virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
// XMultiPropertySet
- virtual void SAL_CALL setPropertyValues( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Sequence< css::uno::Any >& aValues )
- throw(css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues( const css::uno::Sequence< OUString >& aPropertyNames )
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addPropertiesChangeListener( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener )
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removePropertiesChangeListener( const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener )
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL firePropertiesChangeEvent( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener )
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setPropertyValues( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Sequence< css::uno::Any >& aValues ) override;
+ virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues( const css::uno::Sequence< OUString >& aPropertyNames ) override;
+ virtual void SAL_CALL addPropertiesChangeListener( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener ) override;
+ virtual void SAL_CALL removePropertiesChangeListener( const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener ) override;
+ virtual void SAL_CALL firePropertiesChangeEvent( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener ) override;
// XPropertyState
- virtual css::beans::PropertyState SAL_CALL getPropertyState( const OUString& PropertyName )
- throw(css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates( const css::uno::Sequence< OUString >& aPropertyName )
- throw(css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName )
- throw(css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName )
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
+ virtual css::beans::PropertyState SAL_CALL getPropertyState( const OUString& PropertyName ) override;
+ virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates( const css::uno::Sequence< OUString >& aPropertyName ) override;
+ virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName ) override;
+ virtual css::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName ) override;
};
}
#endif
diff --git a/include/comphelper/MasterPropertySetInfo.hxx b/include/comphelper/MasterPropertySetInfo.hxx
index 55abed60a040..07416c79c633 100644
--- a/include/comphelper/MasterPropertySetInfo.hxx
+++ b/include/comphelper/MasterPropertySetInfo.hxx
@@ -39,12 +39,9 @@ namespace comphelper
void add( PropertyInfoHash &rHash, sal_uInt8 nMapId );
// XPropertySetInfo
- virtual css::uno::Sequence< css::beans::Property > SAL_CALL getProperties()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual css::beans::Property SAL_CALL getPropertyByName( const OUString& aName )
- throw(css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL hasPropertyByName( const OUString& Name )
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< css::beans::Property > SAL_CALL getProperties() override;
+ virtual css::beans::Property SAL_CALL getPropertyByName( const OUString& aName ) override;
+ virtual sal_Bool SAL_CALL hasPropertyByName( const OUString& Name ) override;
PropertyDataHash maMap;
css::uno::Sequence < css::beans::Property > maProperties;
diff --git a/include/comphelper/SelectionMultiplex.hxx b/include/comphelper/SelectionMultiplex.hxx
index 552ce3bf76a4..8479ad7c4938 100644
--- a/include/comphelper/SelectionMultiplex.hxx
+++ b/include/comphelper/SelectionMultiplex.hxx
@@ -53,10 +53,9 @@ namespace comphelper
virtual ~OSelectionChangeListener();
/// @throws css::uno::RuntimeException
- virtual void _selectionChanged( const css::lang::EventObject& aEvent ) throw (css::uno::RuntimeException) = 0;
+ virtual void _selectionChanged( const css::lang::EventObject& aEvent ) = 0;
/// @throws css::uno::RuntimeException
- virtual void _disposing(const css::lang::EventObject& _rSource)
- throw (css::uno::RuntimeException, std::exception);
+ virtual void _disposing(const css::lang::EventObject& _rSource);
protected:
// pseudo-private. Making it private now could break compatibility
@@ -82,10 +81,10 @@ namespace comphelper
OSelectionChangeMultiplexer(OSelectionChangeListener* _pListener, const css::uno::Reference< css::view::XSelectionSupplier>& _rxSet);
// XEventListener
- virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw( css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
// XSelectionChangeListener
- virtual void SAL_CALL selectionChanged( const css::lang::EventObject& aEvent ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL selectionChanged( const css::lang::EventObject& aEvent ) override;
/// incremental lock
void lock();
diff --git a/include/comphelper/SettingsHelper.hxx b/include/comphelper/SettingsHelper.hxx
index 09ae01c471ec..bd6103bdf9cb 100644
--- a/include/comphelper/SettingsHelper.hxx
+++ b/include/comphelper/SettingsHelper.hxx
@@ -43,7 +43,7 @@ namespace comphelper
ChainableHelperNoState ( ChainablePropertySetInfo *pInfo, SolarMutex* pMutex = nullptr)
: ChainablePropertySet ( pInfo, pMutex )
{}
- css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw (css::uno::RuntimeException, std::exception) override
+ css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override
{ return HelperBaseNoState::queryInterface( aType ); }
void SAL_CALL acquire( ) throw () override
{ HelperBaseNoState::acquire( ); }
@@ -51,43 +51,31 @@ namespace comphelper
{ HelperBaseNoState::release( ); }
// XPropertySet
- virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( )
- throw(css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override
{ return ChainablePropertySet::getPropertySetInfo(); }
- virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue )
- throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override
+ virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override
{ ChainablePropertySet::setPropertyValue ( aPropertyName, aValue ); }
- virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName )
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override
{ return ChainablePropertySet::getPropertyValue ( PropertyName ); }
- virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override
+ virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override
{ ChainablePropertySet::addPropertyChangeListener ( aPropertyName, xListener ); }
- virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override
+ virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override
{ ChainablePropertySet::removePropertyChangeListener ( aPropertyName, aListener ); }
- virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override
+ virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override
{ ChainablePropertySet::addVetoableChangeListener ( PropertyName, aListener ); }
- virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override
+ virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override
{ ChainablePropertySet::removeVetoableChangeListener ( PropertyName, aListener ); }
// XMultiPropertySet
- virtual void SAL_CALL setPropertyValues( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Sequence< css::uno::Any >& aValues )
- throw(css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override
+ virtual void SAL_CALL setPropertyValues( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Sequence< css::uno::Any >& aValues ) override
{ ChainablePropertySet::setPropertyValues ( aPropertyNames, aValues ); }
- virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues( const css::uno::Sequence< OUString >& aPropertyNames )
- throw(css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues( const css::uno::Sequence< OUString >& aPropertyNames ) override
{ return ChainablePropertySet::getPropertyValues ( aPropertyNames ); }
- virtual void SAL_CALL addPropertiesChangeListener( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener )
- throw(css::uno::RuntimeException, std::exception) override
+ virtual void SAL_CALL addPropertiesChangeListener( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener ) override
{ ChainablePropertySet::addPropertiesChangeListener ( aPropertyNames, xListener ); }
- virtual void SAL_CALL removePropertiesChangeListener( const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener )
- throw(css::uno::RuntimeException, std::exception) override
+ virtual void SAL_CALL removePropertiesChangeListener( const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener ) override
{ ChainablePropertySet::removePropertiesChangeListener ( xListener ); }
- virtual void SAL_CALL firePropertiesChangeEvent( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener )
- throw(css::uno::RuntimeException, std::exception) override
+ virtual void SAL_CALL firePropertiesChangeEvent( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener ) override
{ ChainablePropertySet::firePropertiesChangeEvent ( aPropertyNames, xListener ); }
};
}
diff --git a/include/comphelper/accessiblecomponenthelper.hxx b/include/comphelper/accessiblecomponenthelper.hxx
index 5c895d437ae3..42a886a0a5a3 100644
--- a/include/comphelper/accessiblecomponenthelper.hxx
+++ b/include/comphelper/accessiblecomponenthelper.hxx
@@ -48,7 +48,7 @@ namespace comphelper
/// implements the calculation of the bounding rectangle - still waiting to be overwritten
///
/// @throws css::uno::RuntimeException
- virtual css::awt::Rectangle implGetBounds( ) throw (css::uno::RuntimeException, std::exception) = 0;
+ virtual css::awt::Rectangle implGetBounds( ) = 0;
protected:
/** non-virtual versions of the methods which can be implemented using <method>implGetBounds</method>
@@ -57,15 +57,15 @@ namespace comphelper
@throws css::uno::RuntimeException
*/
- bool SAL_CALL containsPoint( const css::awt::Point& aPoint ) throw (css::uno::RuntimeException);
+ bool SAL_CALL containsPoint( const css::awt::Point& aPoint );
/// @throws css::uno::RuntimeException
- css::awt::Point SAL_CALL getLocation( ) throw (css::uno::RuntimeException);
+ css::awt::Point SAL_CALL getLocation( );
/// @throws css::uno::RuntimeException
- css::awt::Point SAL_CALL getLocationOnScreen( ) throw (css::uno::RuntimeException);
+ css::awt::Point SAL_CALL getLocationOnScreen( );
/// @throws css::uno::RuntimeException
- css::awt::Size SAL_CALL getSize( ) throw (css::uno::RuntimeException);
+ css::awt::Size SAL_CALL getSize( );
/// @throws css::uno::RuntimeException
- css::awt::Rectangle SAL_CALL getBounds( ) throw (css::uno::RuntimeException);
+ css::awt::Rectangle SAL_CALL getBounds( );
};
@@ -96,11 +96,11 @@ namespace comphelper
DECLARE_XTYPEPROVIDER( )
// XAccessibleComponent - default implementations
- virtual sal_Bool SAL_CALL containsPoint( const css::awt::Point& aPoint ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::awt::Point SAL_CALL getLocation( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::awt::Point SAL_CALL getLocationOnScreen( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::awt::Size SAL_CALL getSize( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::awt::Rectangle SAL_CALL getBounds( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL containsPoint( const css::awt::Point& aPoint ) override;
+ virtual css::awt::Point SAL_CALL getLocation( ) override;
+ virtual css::awt::Point SAL_CALL getLocationOnScreen( ) override;
+ virtual css::awt::Size SAL_CALL getSize( ) override;
+ virtual css::awt::Rectangle SAL_CALL getBounds( ) override;
};
@@ -127,11 +127,11 @@ namespace comphelper
DECLARE_XTYPEPROVIDER( )
// XAccessibleComponent - default implementations
- virtual sal_Bool SAL_CALL containsPoint( const css::awt::Point& aPoint ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::awt::Point SAL_CALL getLocation( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::awt::Point SAL_CALL getLocationOnScreen( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::awt::Size SAL_CALL getSize( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::awt::Rectangle SAL_CALL getBounds( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL containsPoint( const css::awt::Point& aPoint ) override;
+ virtual css::awt::Point SAL_CALL getLocation( ) override;
+ virtual css::awt::Point SAL_CALL getLocationOnScreen( ) override;
+ virtual css::awt::Size SAL_CALL getSize( ) override;
+ virtual css::awt::Rectangle SAL_CALL getBounds( ) override;
};
diff --git a/include/comphelper/accessiblecontexthelper.hxx b/include/comphelper/accessiblecontexthelper.hxx
index 2143c7e2060a..504afb9dd59a 100644
--- a/include/comphelper/accessiblecontexthelper.hxx
+++ b/include/comphelper/accessiblecontexthelper.hxx
@@ -142,30 +142,30 @@ namespace comphelper
public:
// XAccessibleEventBroadcaster
- virtual void SAL_CALL addAccessibleEventListener( const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeAccessibleEventListener( const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL addAccessibleEventListener( const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener ) override;
+ virtual void SAL_CALL removeAccessibleEventListener( const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener ) override;
// XAccessibleContext - still waiting to be overwritten
- virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) throw (css::uno::RuntimeException, std::exception) override = 0;
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override = 0;
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) throw (css::uno::RuntimeException, std::exception) override = 0;
- virtual sal_Int16 SAL_CALL getAccessibleRole( ) throw (css::uno::RuntimeException, std::exception) override = 0;
- virtual OUString SAL_CALL getAccessibleDescription( ) throw (css::uno::RuntimeException, std::exception) override = 0;
- virtual OUString SAL_CALL getAccessibleName( ) throw (css::uno::RuntimeException, std::exception) override = 0;
- virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet( ) throw (css::uno::RuntimeException, std::exception) override = 0;
- virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet( ) throw (css::uno::RuntimeException, std::exception) override = 0;
+ virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) override = 0;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) override = 0;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) override = 0;
+ virtual sal_Int16 SAL_CALL getAccessibleRole( ) override = 0;
+ virtual OUString SAL_CALL getAccessibleDescription( ) override = 0;
+ virtual OUString SAL_CALL getAccessibleName( ) override = 0;
+ virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet( ) override = 0;
+ virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet( ) override = 0;
// XAccessibleContext - default implementations
/** default implementation for retrieving the index of this object within the parent
<p>This basic implementation here returns the index <code>i</code> of the child for which
<code>&lt;parent&gt;.getAccessibleChild( i )</code> equals our creator.</p>
*/
- virtual sal_Int32 SAL_CALL getAccessibleIndexInParent( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getAccessibleIndexInParent( ) override;
/** default implementation for retrieving the locale
<p>This basic implementation returns the locale of the parent context,
as retrieved via getAccessibleParent()->getAccessibleContext.</p>
*/
- virtual css::lang::Locale SAL_CALL getLocale( ) throw (css::accessibility::IllegalAccessibleComponentStateException, css::uno::RuntimeException, std::exception) override;
+ virtual css::lang::Locale SAL_CALL getLocale( ) override;
public:
// helper struct for granting selective access rights
diff --git a/include/comphelper/accessiblekeybindinghelper.hxx b/include/comphelper/accessiblekeybindinghelper.hxx
index dd7d12a57daf..9710bb0d1192 100644
--- a/include/comphelper/accessiblekeybindinghelper.hxx
+++ b/include/comphelper/accessiblekeybindinghelper.hxx
@@ -58,13 +58,13 @@ namespace comphelper
OAccessibleKeyBindingHelper( const OAccessibleKeyBindingHelper& rHelper );
/// @throws css::uno::RuntimeException
- void AddKeyBinding( const css::uno::Sequence< css::awt::KeyStroke >& rKeyBinding ) throw (css::uno::RuntimeException);
+ void AddKeyBinding( const css::uno::Sequence< css::awt::KeyStroke >& rKeyBinding );
/// @throws css::uno::RuntimeException
- void AddKeyBinding( const css::awt::KeyStroke& rKeyStroke ) throw (css::uno::RuntimeException);
+ void AddKeyBinding( const css::awt::KeyStroke& rKeyStroke );
// XAccessibleKeyBinding
- virtual sal_Int32 SAL_CALL getAccessibleKeyBindingCount() throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< css::awt::KeyStroke > SAL_CALL getAccessibleKeyBinding( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getAccessibleKeyBindingCount() override;
+ virtual css::uno::Sequence< css::awt::KeyStroke > SAL_CALL getAccessibleKeyBinding( sal_Int32 nIndex ) override;
};
diff --git a/include/comphelper/accessibleselectionhelper.hxx b/include/comphelper/accessibleselectionhelper.hxx
index 0b5140bc650e..0a67e48f498b 100644
--- a/include/comphelper/accessibleselectionhelper.hxx
+++ b/include/comphelper/accessibleselectionhelper.hxx
@@ -52,20 +52,17 @@ namespace comphelper
// access to context - still waiting to be overwritten
/// @throws css::uno::RuntimeException
virtual css::uno::Reference< css::accessibility::XAccessibleContext >
- implGetAccessibleContext()
- throw ( css::uno::RuntimeException ) = 0;
+ implGetAccessibleContext() = 0;
// return if the specified child is visible => watch for special ChildIndexes (ACCESSIBLE_SELECTION_CHILD_xxx)
/// @throws css::uno::RuntimeException
virtual bool
- implIsSelected( sal_Int32 nAccessibleChildIndex )
- throw (css::uno::RuntimeException) = 0;
+ implIsSelected( sal_Int32 nAccessibleChildIndex ) = 0;
// select the specified child => watch for special ChildIndexes (ACCESSIBLE_SELECTION_CHILD_xxx)
/// @throws css::uno::RuntimeException
virtual void
- implSelect( sal_Int32 nAccessibleChildIndex, bool bSelect )
- throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) = 0;
+ implSelect( sal_Int32 nAccessibleChildIndex, bool bSelect ) = 0;
protected:
@@ -74,22 +71,22 @@ namespace comphelper
@throws css::lang::IndexOutOfBoundsException
@throws css::uno::RuntimeException
*/
- void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException);
+ void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex );
/// @throws css::lang::IndexOutOfBoundsException
/// @throws css::uno::RuntimeException
- bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException);
+ bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex );
/// @throws css::uno::RuntimeException
- void SAL_CALL clearAccessibleSelection( ) throw (css::uno::RuntimeException);
+ void SAL_CALL clearAccessibleSelection( );
/// @throws css::uno::RuntimeException
- void SAL_CALL selectAllAccessibleChildren( ) throw (css::uno::RuntimeException);
+ void SAL_CALL selectAllAccessibleChildren( );
/// @throws css::uno::RuntimeException
- sal_Int32 SAL_CALL getSelectedAccessibleChildCount( ) throw (css::uno::RuntimeException);
+ sal_Int32 SAL_CALL getSelectedAccessibleChildCount( );
/// @throws css::lang::IndexOutOfBoundsException
/// @throws css::uno::RuntimeException
- css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException);
+ css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex );
/// @throws css::lang::IndexOutOfBoundsException
/// @throws css::uno::RuntimeException
- void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException);
+ void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex );
};
@@ -111,7 +108,7 @@ namespace comphelper
OAccessibleSelectionHelper( IMutex* _pExternalLock );
// return ourself here by default
- virtual css::uno::Reference< css::accessibility::XAccessibleContext > implGetAccessibleContext() throw ( css::uno::RuntimeException ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleContext > implGetAccessibleContext() override;
public:
@@ -120,13 +117,13 @@ namespace comphelper
DECLARE_XTYPEPROVIDER( )
// XAccessibleSelection - default implementations
- virtual void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL clearAccessibleSelection( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL selectAllAccessibleChildren( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getSelectedAccessibleChildCount( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex ) override;
+ virtual sal_Bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex ) override;
+ virtual void SAL_CALL clearAccessibleSelection( ) override;
+ virtual void SAL_CALL selectAllAccessibleChildren( ) override;
+ virtual sal_Int32 SAL_CALL getSelectedAccessibleChildCount( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) override;
+ virtual void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) override;
};
diff --git a/include/comphelper/accessibletexthelper.hxx b/include/comphelper/accessibletexthelper.hxx
index d01f5a7c142b..8083ba6ed211 100644
--- a/include/comphelper/accessibletexthelper.hxx
+++ b/include/comphelper/accessibletexthelper.hxx
@@ -67,32 +67,32 @@ namespace comphelper
@throws css::lang::IndexOutOfBoundsException
@throws css::uno::RuntimeException
*/
- sal_Unicode SAL_CALL getCharacter( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException);
+ sal_Unicode SAL_CALL getCharacter( sal_Int32 nIndex );
/// @throws css::uno::RuntimeException
- sal_Int32 SAL_CALL getCharacterCount() throw (css::uno::RuntimeException);
+ sal_Int32 SAL_CALL getCharacterCount();
/// @throws css::uno::RuntimeException
- OUString SAL_CALL getSelectedText() throw (css::uno::RuntimeException);
+ OUString SAL_CALL getSelectedText();
/// @throws css::uno::RuntimeException
- sal_Int32 SAL_CALL getSelectionStart() throw (css::uno::RuntimeException);
+ sal_Int32 SAL_CALL getSelectionStart();
/// @throws css::uno::RuntimeException
- sal_Int32 SAL_CALL getSelectionEnd() throw (css::uno::RuntimeException);
+ sal_Int32 SAL_CALL getSelectionEnd();
/// @throws css::uno::RuntimeException
- OUString SAL_CALL getText() throw (css::uno::RuntimeException);
+ OUString SAL_CALL getText();
/// @throws css::lang::IndexOutOfBoundsException
/// @throws css::uno::RuntimeException
- OUString SAL_CALL getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException);
+ OUString SAL_CALL getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex );
/// @throws css::lang::IndexOutOfBoundsException
/// @throws css::lang::IllegalArgumentException
/// @throws css::uno::RuntimeException
- css::accessibility::TextSegment SAL_CALL getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException);
+ css::accessibility::TextSegment SAL_CALL getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType );
/// @throws css::lang::IndexOutOfBoundsException
/// @throws css::lang::IllegalArgumentException
/// @throws css::uno::RuntimeException
- css::accessibility::TextSegment SAL_CALL getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException);
+ css::accessibility::TextSegment SAL_CALL getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType );
/// @throws css::lang::IndexOutOfBoundsException
/// @throws css::lang::IllegalArgumentException
/// @throws css::uno::RuntimeException
- css::accessibility::TextSegment SAL_CALL getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException);
+ css::accessibility::TextSegment SAL_CALL getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType );
public:
@@ -139,16 +139,16 @@ namespace comphelper
DECLARE_XTYPEPROVIDER( )
// XAccessibleText
- virtual sal_Unicode SAL_CALL getCharacter( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getCharacterCount() throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getSelectedText() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getSelectionStart() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getSelectionEnd() throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getText() throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::accessibility::TextSegment SAL_CALL getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual css::accessibility::TextSegment SAL_CALL getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual css::accessibility::TextSegment SAL_CALL getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Unicode SAL_CALL getCharacter( sal_Int32 nIndex ) override;
+ virtual sal_Int32 SAL_CALL getCharacterCount() override;
+ virtual OUString SAL_CALL getSelectedText() override;
+ virtual sal_Int32 SAL_CALL getSelectionStart() override;
+ virtual sal_Int32 SAL_CALL getSelectionEnd() override;
+ virtual OUString SAL_CALL getText() override;
+ virtual OUString SAL_CALL getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) override;
+ virtual css::accessibility::TextSegment SAL_CALL getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) override;
+ virtual css::accessibility::TextSegment SAL_CALL getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) override;
+ virtual css::accessibility::TextSegment SAL_CALL getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) override;
};
diff --git a/include/comphelper/accessiblewrapper.hxx b/include/comphelper/accessiblewrapper.hxx
index 2cfae97b6303..d7b0a006bad0 100644
--- a/include/comphelper/accessiblewrapper.hxx
+++ b/include/comphelper/accessiblewrapper.hxx
@@ -102,7 +102,7 @@ namespace comphelper
protected:
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL
- getAccessibleContext( ) throw (css::uno::RuntimeException, std::exception) override;
+ getAccessibleContext( ) override;
const css::uno::Reference< css::accessibility::XAccessible >&
getParent() const { return m_xParentAccessible; }
@@ -193,28 +193,28 @@ namespace comphelper
protected:
// XInterface
- css::uno::Any SAL_CALL queryInterface( const css::uno::Type& _rType ) throw (css::uno::RuntimeException, std::exception) override;
+ css::uno::Any SAL_CALL queryInterface( const css::uno::Type& _rType ) override;
// XTypeProvider
DECLARE_XTYPEPROVIDER( )
// XAccessibleContext
/// @throws css::uno::RuntimeException
- sal_Int32 baseGetAccessibleChildCount( ) throw (css::uno::RuntimeException, std::exception);
+ sal_Int32 baseGetAccessibleChildCount( );
/// @throws css::lang::IndexOutOfBoundsException
/// @throws css::uno::RuntimeException
- css::uno::Reference< css::accessibility::XAccessible > baseGetAccessibleChild( sal_Int32 i ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception);
+ css::uno::Reference< css::accessibility::XAccessible > baseGetAccessibleChild( sal_Int32 i );
/// @throws css::uno::RuntimeException
- css::uno::Reference< css::accessibility::XAccessibleRelationSet > baseGetAccessibleRelationSet( ) throw (css::uno::RuntimeException, std::exception);
+ css::uno::Reference< css::accessibility::XAccessibleRelationSet > baseGetAccessibleRelationSet( );
// XAccessibleEventListener
- virtual void SAL_CALL notifyEvent( const css::accessibility::AccessibleEventObject& aEvent ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL notifyEvent( const css::accessibility::AccessibleEventObject& aEvent ) override;
// XEventListener
- virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
// XComponent/OComponentProxyAggregationHelper
- virtual void SAL_CALL dispose() throw( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL dispose() override;
// own overridables
/** notify an accessible event which has been translated (if necessary)
@@ -227,7 +227,7 @@ namespace comphelper
@throws css::uno::RuntimeException
*/
- virtual void notifyTranslatedEvent( const css::accessibility::AccessibleEventObject& _rEvent ) throw (css::uno::RuntimeException) = 0;
+ virtual void notifyTranslatedEvent( const css::accessibility::AccessibleEventObject& _rEvent ) = 0;
protected:
virtual ~OAccessibleContextWrapperHelper( ) override;
@@ -282,27 +282,27 @@ namespace comphelper
DECLARE_XTYPEPROVIDER( )
// XAccessibleContext
- virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getAccessibleIndexInParent( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL getAccessibleRole( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getAccessibleDescription( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getAccessibleName( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::lang::Locale SAL_CALL getLocale( ) throw (css::accessibility::IllegalAccessibleComponentStateException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) override;
+ virtual sal_Int32 SAL_CALL getAccessibleIndexInParent( ) override;
+ virtual sal_Int16 SAL_CALL getAccessibleRole( ) override;
+ virtual OUString SAL_CALL getAccessibleDescription( ) override;
+ virtual OUString SAL_CALL getAccessibleName( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet( ) override;
+ virtual css::lang::Locale SAL_CALL getLocale( ) override;
// XAccessibleEventBroadcaster
- virtual void SAL_CALL addAccessibleEventListener( const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeAccessibleEventListener( const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL addAccessibleEventListener( const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener ) override;
+ virtual void SAL_CALL removeAccessibleEventListener( const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener ) override;
// OAccessibleContextWrapper
- virtual void notifyTranslatedEvent( const css::accessibility::AccessibleEventObject& _rEvent ) throw (css::uno::RuntimeException) override;
+ virtual void notifyTranslatedEvent( const css::accessibility::AccessibleEventObject& _rEvent ) override;
// OComponentHelper
using OAccessibleContextWrapperHelper::disposing;
- virtual void SAL_CALL disposing() throw (css::uno::RuntimeException) override;
+ virtual void SAL_CALL disposing() override;
protected:
virtual ~OAccessibleContextWrapper() override;
@@ -385,7 +385,7 @@ namespace comphelper
protected:
// XEventListener
- virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
protected:
void implTranslateChildEventValue( const css::uno::Any& _rInValue, css::uno::Any& _rOutValue );
diff --git a/include/comphelper/accimplaccess.hxx b/include/comphelper/accimplaccess.hxx
index 5c048da5c186..6d5322548e13 100644
--- a/include/comphelper/accimplaccess.hxx
+++ b/include/comphelper/accimplaccess.hxx
@@ -81,7 +81,7 @@ namespace comphelper
virtual ~OAccessibleImplementationAccess( );
// XUnoTunnel
- virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& _rIdentifier ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& _rIdentifier ) override;
public:
diff --git a/include/comphelper/attributelist.hxx b/include/comphelper/attributelist.hxx
index 49216967c02c..91635a412765 100644
--- a/include/comphelper/attributelist.hxx
+++ b/include/comphelper/attributelist.hxx
@@ -49,22 +49,16 @@ public:
void Clear();
// css::xml::sax::XAttributeList
- virtual sal_Int16 SAL_CALL getLength()
- throw( css::uno::RuntimeException, std::exception ) override;
- virtual OUString SAL_CALL getNameByIndex(sal_Int16 i)
- throw( css::uno::RuntimeException, std::exception ) override;
- virtual OUString SAL_CALL getTypeByIndex(sal_Int16 i)
- throw( css::uno::RuntimeException, std::exception ) override;
- virtual OUString SAL_CALL getTypeByName(const OUString& aName)
- throw( css::uno::RuntimeException, std::exception ) override;
- virtual OUString SAL_CALL getValueByIndex(sal_Int16 i)
- throw( css::uno::RuntimeException, std::exception ) override;
- virtual OUString SAL_CALL getValueByName(const OUString& aName)
- throw( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Int16 SAL_CALL getLength() override;
+ virtual OUString SAL_CALL getNameByIndex(sal_Int16 i) override;
+ virtual OUString SAL_CALL getTypeByIndex(sal_Int16 i) override;
+ virtual OUString SAL_CALL getTypeByName(const OUString& aName) override;
+ virtual OUString SAL_CALL getValueByIndex(sal_Int16 i) override;
+ virtual OUString SAL_CALL getValueByName(const OUString& aName) override;
// css::util::XCloneable
virtual css::uno::Reference< XCloneable > SAL_CALL
- createClone() throw(css::uno::RuntimeException, std::exception) override;
+ createClone() override;
};
} // namespace comphelper
diff --git a/include/comphelper/configurationlistener.hxx b/include/comphelper/configurationlistener.hxx
index d8cc06971ea3..7dc39a308144 100644
--- a/include/comphelper/configurationlistener.hxx
+++ b/include/comphelper/configurationlistener.hxx
@@ -89,13 +89,11 @@ public:
void dispose();
// XPropertyChangeListener implementation
- virtual void SAL_CALL disposing(css::lang::EventObject const &)
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing(css::lang::EventObject const &) override;
/// Notify of the property change
virtual void SAL_CALL propertyChange(
- css::beans::PropertyChangeEvent const &rEvt )
- throw (css::uno::RuntimeException, std::exception) override;
+ css::beans::PropertyChangeEvent const &rEvt ) override;
};
template< typename uno_type > ConfigurationListenerProperty< uno_type >::ConfigurationListenerProperty(const rtl::Reference< ConfigurationListener > &xListener, const OUString &rProp )
diff --git a/include/comphelper/containermultiplexer.hxx b/include/comphelper/containermultiplexer.hxx
index 07b044303dbf..0a3729a5809b 100644
--- a/include/comphelper/containermultiplexer.hxx
+++ b/include/comphelper/containermultiplexer.hxx
@@ -52,21 +52,13 @@ namespace comphelper
virtual ~OContainerListener();
/// @throws css::uno::RuntimeException
- virtual void _elementInserted( const css::container::ContainerEvent& _rEvent )
- throw (css::uno::RuntimeException,
- std::exception);
+ virtual void _elementInserted( const css::container::ContainerEvent& _rEvent );
/// @throws css::uno::RuntimeException
- virtual void _elementRemoved( const css::container::ContainerEvent& _rEvent )
- throw (css::uno::RuntimeException,
- std::exception);
+ virtual void _elementRemoved( const css::container::ContainerEvent& _rEvent );
/// @throws css::uno::RuntimeException
- virtual void _elementReplaced( const css::container::ContainerEvent& _rEvent )
- throw (css::uno::RuntimeException,
- std::exception);
+ virtual void _elementReplaced( const css::container::ContainerEvent& _rEvent );
/// @throws css::uno::RuntimeException
- virtual void _disposing(const css::lang::EventObject& _rSource)
- throw (css::uno::RuntimeException,
- std::exception);
+ virtual void _disposing(const css::lang::EventObject& _rSource);
protected:
void setAdapter(OContainerListenerAdapter* _pAdapter);
@@ -89,12 +81,12 @@ namespace comphelper
const css::uno::Reference< css::container::XContainer >& _rxContainer);
// XEventListener
- virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw( css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
// XContainerListener
- virtual void SAL_CALL elementInserted( const css::container::ContainerEvent& Event ) throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL elementRemoved( const css::container::ContainerEvent& Event ) throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL elementReplaced( const css::container::ContainerEvent& Event ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL elementInserted( const css::container::ContainerEvent& Event ) override;
+ virtual void SAL_CALL elementRemoved( const css::container::ContainerEvent& Event ) override;
+ virtual void SAL_CALL elementReplaced( const css::container::ContainerEvent& Event ) override;
/// dispose the object. No multiplexing anymore
void dispose();
diff --git a/include/comphelper/docpasswordrequest.hxx b/include/comphelper/docpasswordrequest.hxx
index 708d11cc78d9..cd9f755c5295 100644
--- a/include/comphelper/docpasswordrequest.hxx
+++ b/include/comphelper/docpasswordrequest.hxx
@@ -56,8 +56,8 @@ private:
SimplePasswordRequest& operator=(SimplePasswordRequest const&) = delete;
// XInteractionRequest
- virtual css::uno::Any SAL_CALL getRequest() throw( css::uno::RuntimeException, std::exception ) override;
- virtual css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > SAL_CALL getContinuations() throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Any SAL_CALL getRequest() override;
+ virtual css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > SAL_CALL getContinuations() override;
private:
css::uno::Any maRequest;
@@ -92,8 +92,8 @@ private:
DocPasswordRequest& operator=(DocPasswordRequest const&) = delete;
// XInteractionRequest
- virtual css::uno::Any SAL_CALL getRequest() throw( css::uno::RuntimeException, std::exception ) override;
- virtual css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > SAL_CALL getContinuations() throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Any SAL_CALL getRequest() override;
+ virtual css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > SAL_CALL getContinuations() override;
private:
css::uno::Any maRequest;
diff --git a/include/comphelper/enumhelper.hxx b/include/comphelper/enumhelper.hxx
index 6e116af61cb5..67b21df92b0f 100644
--- a/include/comphelper/enumhelper.hxx
+++ b/include/comphelper/enumhelper.hxx
@@ -56,11 +56,10 @@ public:
const css::uno::Sequence< OUString >& _aNames );
virtual ~OEnumerationByName() override;
- virtual sal_Bool SAL_CALL hasMoreElements( ) throw(css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL nextElement( )
- throw(css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL hasMoreElements( ) override;
+ virtual css::uno::Any SAL_CALL nextElement( ) override;
- virtual void SAL_CALL disposing(const css::lang::EventObject& aEvent) throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing(const css::lang::EventObject& aEvent) override;
private:
COMPHELPER_DLLPRIVATE void impl_startDisposeListening();
@@ -82,11 +81,10 @@ public:
OEnumerationByIndex(const css::uno::Reference< css::container::XIndexAccess >& _rxAccess);
virtual ~OEnumerationByIndex() override;
- virtual sal_Bool SAL_CALL hasMoreElements( ) throw(css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL nextElement( )
- throw(css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL hasMoreElements( ) override;
+ virtual css::uno::Any SAL_CALL nextElement( ) override;
- virtual void SAL_CALL disposing(const css::lang::EventObject& aEvent) throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing(const css::lang::EventObject& aEvent) override;
private:
COMPHELPER_DLLPRIVATE void impl_startDisposeListening();
@@ -111,9 +109,8 @@ public:
OAnyEnumeration(const css::uno::Sequence< css::uno::Any >& lItems);
virtual ~OAnyEnumeration() override;
- virtual sal_Bool SAL_CALL hasMoreElements( ) throw(css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL nextElement( )
- throw(css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL hasMoreElements( ) override;
+ virtual css::uno::Any SAL_CALL nextElement( ) override;
};
diff --git a/include/comphelper/eventattachermgr.hxx b/include/comphelper/eventattachermgr.hxx
index ec5071eed8d0..97e6dee6c1d5 100644
--- a/include/comphelper/eventattachermgr.hxx
+++ b/include/comphelper/eventattachermgr.hxx
@@ -43,8 +43,7 @@ namespace comphelper
/// @throws css::uno::Exception
COMPHELPER_DLLPUBLIC css::uno::Reference< css::script::XEventAttacherManager >
createEventAttacherManager(
- const css::uno::Reference< css::uno::XComponentContext > & rxContext )
- throw( css::uno::Exception );
+ const css::uno::Reference< css::uno::XComponentContext > & rxContext );
}
diff --git a/include/comphelper/evtlistenerhlp.hxx b/include/comphelper/evtlistenerhlp.hxx
index 57bbab6947a0..a640a79294bc 100644
--- a/include/comphelper/evtlistenerhlp.hxx
+++ b/include/comphelper/evtlistenerhlp.hxx
@@ -39,7 +39,7 @@ namespace comphelper
css::uno::WeakReference< css::lang::XEventListener> m_xListener;
public:
OEventListenerHelper(const css::uno::Reference< css::lang::XEventListener>& _rxListener);
- virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
};
} // namespace comphelper
diff --git a/include/comphelper/extract.hxx b/include/comphelper/extract.hxx
index 272c818c98ad..4f4072145e71 100644
--- a/include/comphelper/extract.hxx
+++ b/include/comphelper/extract.hxx
@@ -74,7 +74,6 @@ inline bool enum2int( sal_Int32 & rnEnum, const css::uno::Any & rAny )
*/
template< typename E >
inline void any2enum( E & eRet, const css::uno::Any & rAny )
- throw( css::lang::IllegalArgumentException )
{
// check for typesafe enum
if (! (rAny >>= eRet))
@@ -96,7 +95,6 @@ inline void any2enum( E & eRet, const css::uno::Any & rAny )
* @throws css::lang::IllegalArgumentException
*/
inline bool any2bool( const css::uno::Any & rAny )
- throw( css::lang::IllegalArgumentException )
{
bool b;
if (rAny >>= b)
diff --git a/include/comphelper/interaction.hxx b/include/comphelper/interaction.hxx
index 0dc42980786c..1a38662ea6cc 100644
--- a/include/comphelper/interaction.hxx
+++ b/include/comphelper/interaction.hxx
@@ -52,14 +52,14 @@ namespace comphelper
bool wasSelected() const { return m_bSelected; }
// XInteractionContinuation
- virtual void SAL_CALL select() throw(css::uno::RuntimeException) override;
+ virtual void SAL_CALL select() override;
private:
bool m_bSelected : 1; /// indicates if the select event occurred
};
template <class INTERACTION>
- void SAL_CALL OInteraction< INTERACTION >::select( ) throw(css::uno::RuntimeException)
+ void SAL_CALL OInteraction< INTERACTION >::select( )
{
m_bSelected = true;
}
@@ -96,8 +96,8 @@ namespace comphelper
}
// XInteractionPassword
- virtual void SAL_CALL setPassword( const OUString& Password ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getPassword( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setPassword( const OUString& Password ) override;
+ virtual OUString SAL_CALL getPassword( ) override;
private:
OUString m_sPassword;
@@ -127,8 +127,8 @@ namespace comphelper
void addContinuation(const css::uno::Reference< css::task::XInteractionContinuation >& _rxContinuation);
// XInteractionRequest
- virtual css::uno::Any SAL_CALL getRequest( ) throw(css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > SAL_CALL getContinuations( ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Any SAL_CALL getRequest( ) override;
+ virtual css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > SAL_CALL getContinuations( ) override;
};
} // namespace comphelper
diff --git a/include/comphelper/numberedcollection.hxx b/include/comphelper/numberedcollection.hxx
index 7af2f9e68fda..a3429ac2862f 100644
--- a/include/comphelper/numberedcollection.hxx
+++ b/include/comphelper/numberedcollection.hxx
@@ -107,26 +107,19 @@ class COMPHELPER_DLLPUBLIC NumberedCollection : private ::cppu::BaseMutex
/** @see css.frame.XUntitledNumbers */
- virtual ::sal_Int32 SAL_CALL leaseNumber(const css::uno::Reference< css::uno::XInterface >& xComponent)
- throw (css::lang::IllegalArgumentException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual ::sal_Int32 SAL_CALL leaseNumber(const css::uno::Reference< css::uno::XInterface >& xComponent) override;
/** @see css.frame.XUntitledNumbers */
- virtual void SAL_CALL releaseNumber(::sal_Int32 nNumber)
- throw (css::lang::IllegalArgumentException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL releaseNumber(::sal_Int32 nNumber) override;
/** @see css.frame.XUntitledNumbers */
- virtual void SAL_CALL releaseNumberForComponent(const css::uno::Reference< css::uno::XInterface >& xComponent)
- throw (css::lang::IllegalArgumentException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL releaseNumberForComponent(const css::uno::Reference< css::uno::XInterface >& xComponent) override;
/** @see css.frame.XUntitledNumbers */
- virtual OUString SAL_CALL getUntitledPrefix()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getUntitledPrefix() override;
// internal
diff --git a/include/comphelper/ofopxmlhelper.hxx b/include/comphelper/ofopxmlhelper.hxx
index d58268164feb..c0215a0d21d3 100644
--- a/include/comphelper/ofopxmlhelper.hxx
+++ b/include/comphelper/ofopxmlhelper.hxx
@@ -42,8 +42,7 @@ namespace OFOPXMLHelper {
ReadRelationsInfoSequence(
const css::uno::Reference< css::io::XInputStream >& xInStream,
const OUString & aStreamName,
- const css::uno::Reference< css::uno::XComponentContext >& rContext )
- throw( css::uno::Exception );
+ const css::uno::Reference< css::uno::XComponentContext >& rContext );
// returns sequence containing two entries of type sequence<StringPair>
// the first sequence describes "Default" elements, where each element is described
@@ -55,8 +54,7 @@ namespace OFOPXMLHelper {
css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > >
ReadContentTypeSequence(
const css::uno::Reference< css::io::XInputStream >& xInStream,
- const css::uno::Reference< css::uno::XComponentContext >& rContext )
- throw( css::uno::Exception );
+ const css::uno::Reference< css::uno::XComponentContext >& rContext );
// writes sequence of elements, where each element is described by sequence of tags,
// where each tag is described by StringPair ( First - name, Second - value )
@@ -66,8 +64,7 @@ namespace OFOPXMLHelper {
void WriteRelationsInfoSequence(
const css::uno::Reference< css::io::XOutputStream >& xOutStream,
const css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > >& aSequence,
- const css::uno::Reference< css::uno::XComponentContext >& rContext )
- throw( css::uno::Exception );
+ const css::uno::Reference< css::uno::XComponentContext >& rContext );
// writes two entries of type sequence<StringPair>
// the first sequence describes "Default" elements, where each element is described
@@ -80,8 +77,7 @@ namespace OFOPXMLHelper {
const css::uno::Reference< css::io::XOutputStream >& xOutStream,
const css::uno::Sequence< css::beans::StringPair >& aDefaultsSequence,
const css::uno::Sequence< css::beans::StringPair >& aOverridesSequence,
- const css::uno::Reference< css::uno::XComponentContext >& rContext )
- throw( css::uno::Exception );
+ const css::uno::Reference< css::uno::XComponentContext >& rContext );
} // namespace OFOPXMLHelper
diff --git a/include/comphelper/oslfile2streamwrap.hxx b/include/comphelper/oslfile2streamwrap.hxx
index 2e9db1a31295..7a5197a0d09b 100644
--- a/include/comphelper/oslfile2streamwrap.hxx
+++ b/include/comphelper/oslfile2streamwrap.hxx
@@ -40,11 +40,11 @@ private:
virtual ~OSLInputStreamWrapper() override;
// css::io::XInputStream
- virtual sal_Int32 SAL_CALL readBytes(css::uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead) throw(css::io::NotConnectedException, css::io::BufferSizeExceededException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL readSomeBytes(css::uno::Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead) throw(css::io::NotConnectedException, css::io::BufferSizeExceededException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL skipBytes(sal_Int32 nBytesToSkip) throw(css::io::NotConnectedException, css::io::BufferSizeExceededException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL available() throw(css::io::NotConnectedException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL closeInput() throw(css::io::NotConnectedException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL readBytes(css::uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead) override;
+ virtual sal_Int32 SAL_CALL readSomeBytes(css::uno::Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead) override;
+ virtual void SAL_CALL skipBytes(sal_Int32 nBytesToSkip) override;
+ virtual sal_Int32 SAL_CALL available() override;
+ virtual void SAL_CALL closeInput() override;
::osl::Mutex m_aMutex;
::osl::File* m_pFile;
@@ -62,9 +62,9 @@ private:
virtual ~OSLOutputStreamWrapper() override;
// css::io::XOutputStream
- virtual void SAL_CALL writeBytes(const css::uno::Sequence< sal_Int8 >& aData) throw(css::io::NotConnectedException, css::io::BufferSizeExceededException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL flush() throw(css::io::NotConnectedException, css::io::BufferSizeExceededException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL closeOutput() throw(css::io::NotConnectedException, css::io::BufferSizeExceededException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL writeBytes(const css::uno::Sequence< sal_Int8 >& aData) override;
+ virtual void SAL_CALL flush() override;
+ virtual void SAL_CALL closeOutput() override;
::osl::File& rFile;
};
diff --git a/include/comphelper/propagg.hxx b/include/comphelper/propagg.hxx
index c28a5862f382..0779e4ed8f1b 100644
--- a/include/comphelper/propagg.hxx
+++ b/include/comphelper/propagg.hxx
@@ -131,8 +131,7 @@ public:
/// inherited from IPropertyArrayHelper
virtual css::uno::Sequence< css::beans::Property> SAL_CALL getProperties() override;
/// inherited from IPropertyArrayHelper
- virtual css::beans::Property SAL_CALL getPropertyByName(const OUString& _rPropertyName)
- throw(css::beans::UnknownPropertyException) override;
+ virtual css::beans::Property SAL_CALL getPropertyByName(const OUString& _rPropertyName) override;
/// inherited from IPropertyArrayHelper
virtual sal_Bool SAL_CALL hasPropertyByName(const OUString& _rPropertyName) override ;
@@ -211,33 +210,33 @@ protected:
public:
OPropertySetAggregationHelper( ::cppu::OBroadcastHelper& rBHelper );
- virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type& aType) throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type& aType) override;
// XEventListener
- virtual void SAL_CALL disposing(const css::lang::EventObject& Source) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing(const css::lang::EventObject& Source) override;
// XFastPropertySet
- virtual void SAL_CALL setFastPropertyValue(sal_Int32 nHandle, const css::uno::Any& aValue) throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getFastPropertyValue(sal_Int32 nHandle) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setFastPropertyValue(sal_Int32 nHandle, const css::uno::Any& aValue) override;
+ virtual css::uno::Any SAL_CALL getFastPropertyValue(sal_Int32 nHandle) override;
// XPropertySet
- virtual void SAL_CALL addPropertyChangeListener(const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addVetoableChangeListener(const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL addPropertyChangeListener(const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener) override;
+ virtual void SAL_CALL addVetoableChangeListener(const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener) override;
// XPropertiesChangeListener
- virtual void SAL_CALL propertiesChange(const css::uno::Sequence< css::beans::PropertyChangeEvent >& evt) throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL propertiesChange(const css::uno::Sequence< css::beans::PropertyChangeEvent >& evt) override;
// XVetoableChangeListener
- virtual void SAL_CALL vetoableChange(const css::beans::PropertyChangeEvent& aEvent) throw(css::beans::PropertyVetoException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL vetoableChange(const css::beans::PropertyChangeEvent& aEvent) override;
// XMultiPropertySet
- virtual void SAL_CALL setPropertyValues(const css::uno::Sequence< OUString >& PropertyNames, const css::uno::Sequence< css::uno::Any >& Values) throw(css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addPropertiesChangeListener(const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener) throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setPropertyValues(const css::uno::Sequence< OUString >& PropertyNames, const css::uno::Sequence< css::uno::Any >& Values) override;
+ virtual void SAL_CALL addPropertiesChangeListener(const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener) override;
// XPropertyState
- virtual css::beans::PropertyState SAL_CALL getPropertyState(const OUString& PropertyName) throw(css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setPropertyToDefault(const OUString& PropertyName) throw(css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getPropertyDefault(const OUString& aPropertyName) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
+ virtual css::beans::PropertyState SAL_CALL getPropertyState(const OUString& PropertyName) override;
+ virtual void SAL_CALL setPropertyToDefault(const OUString& PropertyName) override;
+ virtual css::uno::Any SAL_CALL getPropertyDefault(const OUString& aPropertyName) override;
// OPropertySetHelper
/** still waiting to be overwritten ...
@@ -248,12 +247,12 @@ public:
/** only implemented for "forwarded" properties, every other property must be handled
in the derivee, and will assert if passed herein
*/
- virtual sal_Bool SAL_CALL convertFastPropertyValue( css::uno::Any& _rConvertedValue, css::uno::Any& _rOldValue, sal_Int32 _nHandle, const css::uno::Any& _rValue ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL convertFastPropertyValue( css::uno::Any& _rConvertedValue, css::uno::Any& _rOldValue, sal_Int32 _nHandle, const css::uno::Any& _rValue ) override;
/** only implemented for "forwarded" properties, every other property must be handled
in the derivee, and will assert if passed herein
*/
- virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 _nHandle, const css::uno::Any& _rValue ) throw ( css::uno::Exception, std::exception ) override;
+ virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 _nHandle, const css::uno::Any& _rValue ) override;
protected:
virtual ~OPropertySetAggregationHelper() override;
@@ -314,7 +313,7 @@ protected:
/// must be called before aggregation, if aggregation is used
///
/// @throws css::lang::IllegalArgumentException
- void setAggregation(const css::uno::Reference< css::uno::XInterface >&) throw( css::lang::IllegalArgumentException );
+ void setAggregation(const css::uno::Reference< css::uno::XInterface >&);
void startListening();
};
diff --git a/include/comphelper/propertycontainer.hxx b/include/comphelper/propertycontainer.hxx
index 3e31eff11b92..75f259238089 100644
--- a/include/comphelper/propertycontainer.hxx
+++ b/include/comphelper/propertycontainer.hxx
@@ -51,22 +51,19 @@ protected:
/// for scripting : the types of the interfaces supported by this class
///
/// @throws css::uno::RuntimeException
- static css::uno::Sequence< css::uno::Type > getBaseTypes() throw (css::uno::RuntimeException, std::exception);
+ static css::uno::Sequence< css::uno::Type > getBaseTypes();
// OPropertySetHelper overridables
virtual sal_Bool SAL_CALL convertFastPropertyValue(
css::uno::Any & rConvertedValue,
css::uno::Any & rOldValue,
sal_Int32 nHandle,
- const css::uno::Any& rValue )
- throw (css::lang::IllegalArgumentException) override;
+ const css::uno::Any& rValue ) override;
virtual void SAL_CALL setFastPropertyValue_NoBroadcast(
sal_Int32 nHandle,
const css::uno::Any& rValue
- )
- throw (css::uno::Exception,
- std::exception) override;
+ ) override;
using OPropertySetHelper::getFastPropertyValue;
virtual void SAL_CALL getFastPropertyValue(
@@ -75,8 +72,7 @@ protected:
) const override;
// disambiguate a base class method (XFastPropertySet)
- virtual void SAL_CALL setFastPropertyValue( sal_Int32 nHandle, const css::uno::Any& rValue )
- throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setFastPropertyValue( sal_Int32 nHandle, const css::uno::Any& rValue ) override;
};
diff --git a/include/comphelper/propertysethelper.hxx b/include/comphelper/propertysethelper.hxx
index 7cdf5ff966e4..f9f150cfaa9d 100644
--- a/include/comphelper/propertysethelper.hxx
+++ b/include/comphelper/propertysethelper.hxx
@@ -45,22 +45,22 @@ protected:
/// @throws css::lang::IllegalArgumentException
/// @throws css::lang::WrappedTargetException
/// @throws css::uno::RuntimeException
- virtual void _setPropertyValues( const comphelper::PropertyMapEntry** ppEntries, const css::uno::Any* pValues ) throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception ) = 0;
+ virtual void _setPropertyValues( const comphelper::PropertyMapEntry** ppEntries, const css::uno::Any* pValues ) = 0;
/// @throws css::beans::UnknownPropertyException
/// @throws css::lang::WrappedTargetException
/// @throws css::uno::RuntimeException
- virtual void _getPropertyValues( const comphelper::PropertyMapEntry** ppEntries, css::uno::Any* pValue ) throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) = 0;
+ virtual void _getPropertyValues( const comphelper::PropertyMapEntry** ppEntries, css::uno::Any* pValue ) = 0;
/// @throws css::beans::UnknownPropertyException
/// @throws css::uno::RuntimeException
- virtual void _getPropertyStates( const comphelper::PropertyMapEntry** ppEntries, css::beans::PropertyState* pStates ) throw(css::beans::UnknownPropertyException, css::uno::RuntimeException );
+ virtual void _getPropertyStates( const comphelper::PropertyMapEntry** ppEntries, css::beans::PropertyState* pStates );
/// @throws css::beans::UnknownPropertyException
/// @throws css::uno::RuntimeException
- virtual void _setPropertyToDefault( const comphelper::PropertyMapEntry* pEntry ) throw(css::beans::UnknownPropertyException, css::uno::RuntimeException );
+ virtual void _setPropertyToDefault( const comphelper::PropertyMapEntry* pEntry );
/// @throws css::beans::UnknownPropertyException
/// @throws css::lang::WrappedTargetException
/// @throws css::uno::RuntimeException
- virtual css::uno::Any _getPropertyDefault( const comphelper::PropertyMapEntry* pEntry ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException );
+ virtual css::uno::Any _getPropertyDefault( const comphelper::PropertyMapEntry* pEntry );
public:
PropertySetHelper( comphelper::PropertySetInfo* pInfo ) throw();
@@ -68,27 +68,27 @@ public:
virtual ~PropertySetHelper() throw();
// XPropertySet
- virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
+ virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
+ virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
+ virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
+ virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
+ virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
+ virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
// XMultiPropertySet
// virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(css::uno::RuntimeException);
- virtual void SAL_CALL setPropertyValues( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Sequence< css::uno::Any >& aValues ) throw(css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues( const css::uno::Sequence< OUString >& aPropertyNames ) throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addPropertiesChangeListener( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener ) throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removePropertiesChangeListener( const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener ) throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL firePropertiesChangeEvent( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setPropertyValues( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Sequence< css::uno::Any >& aValues ) override;
+ virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues( const css::uno::Sequence< OUString >& aPropertyNames ) override;
+ virtual void SAL_CALL addPropertiesChangeListener( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener ) override;
+ virtual void SAL_CALL removePropertiesChangeListener( const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener ) override;
+ virtual void SAL_CALL firePropertiesChangeEvent( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener ) override;
// XPropertyState
- virtual css::beans::PropertyState SAL_CALL getPropertyState( const OUString& PropertyName ) throw(css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates( const css::uno::Sequence< OUString >& aPropertyName ) throw(css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName ) throw(css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
+ virtual css::beans::PropertyState SAL_CALL getPropertyState( const OUString& PropertyName ) override;
+ virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates( const css::uno::Sequence< OUString >& aPropertyName ) override;
+ virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName ) override;
+ virtual css::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName ) override;
};
}
diff --git a/include/comphelper/propertysetinfo.hxx b/include/comphelper/propertysetinfo.hxx
index 48f257009cad..7d3359370106 100644
--- a/include/comphelper/propertysetinfo.hxx
+++ b/include/comphelper/propertysetinfo.hxx
@@ -77,9 +77,9 @@ public:
/** removes an already added PropertyMapEntry which string in mpName equals to aName */
void remove( const OUString& aName ) throw();
- virtual css::uno::Sequence< css::beans::Property > SAL_CALL getProperties() throw(css::uno::RuntimeException, std::exception) override;
- virtual css::beans::Property SAL_CALL getPropertyByName( const OUString& aName ) throw(css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL hasPropertyByName( const OUString& Name ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< css::beans::Property > SAL_CALL getProperties() override;
+ virtual css::beans::Property SAL_CALL getPropertyByName( const OUString& aName ) override;
+ virtual sal_Bool SAL_CALL hasPropertyByName( const OUString& Name ) override;
};
}
diff --git a/include/comphelper/propertystatecontainer.hxx b/include/comphelper/propertystatecontainer.hxx
index c52bb4a240f4..1585f85c3ec6 100644
--- a/include/comphelper/propertystatecontainer.hxx
+++ b/include/comphelper/propertystatecontainer.hxx
@@ -58,10 +58,10 @@ namespace comphelper
// XPropertyState
- virtual css::beans::PropertyState SAL_CALL getPropertyState( const OUString& PropertyName ) throw (css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates( const css::uno::Sequence< OUString >& aPropertyName ) throw (css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName ) throw (css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName ) throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
+ virtual css::beans::PropertyState SAL_CALL getPropertyState( const OUString& PropertyName ) override;
+ virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates( const css::uno::Sequence< OUString >& aPropertyName ) override;
+ virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName ) override;
+ virtual css::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName ) override;
// own overridables
@@ -92,7 +92,7 @@ namespace comphelper
protected:
// XInterface
- virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& _rType ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& _rType ) override;
// XTypeProvider
DECLARE_XTYPEPROVIDER( )
diff --git a/include/comphelper/propmultiplex.hxx b/include/comphelper/propmultiplex.hxx
index 94edcda9d196..d9eb59115b1b 100644
--- a/include/comphelper/propmultiplex.hxx
+++ b/include/comphelper/propmultiplex.hxx
@@ -52,11 +52,9 @@ namespace comphelper
virtual ~OPropertyChangeListener();
/// @throws css::uno::RuntimeException
- virtual void _propertyChanged(const css::beans::PropertyChangeEvent& _rEvent)
- throw (css::uno::RuntimeException, std::exception) = 0;
+ virtual void _propertyChanged(const css::beans::PropertyChangeEvent& _rEvent) = 0;
/// @throws css::uno::RuntimeException
- virtual void _disposing(const css::lang::EventObject& _rSource)
- throw( css::uno::RuntimeException, std::exception);
+ virtual void _disposing(const css::lang::EventObject& _rSource);
protected:
/** If the derivee also owns the mutex which we know as reference, then call this within your
@@ -88,10 +86,10 @@ namespace comphelper
OPropertyChangeMultiplexer(OPropertyChangeListener* _pListener, const css::uno::Reference< css::beans::XPropertySet>& _rxSet, bool _bAutoReleaseSet = true);
// XEventListener
- virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw( css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
// XPropertyChangeListener
- virtual void SAL_CALL propertyChange( const css::beans::PropertyChangeEvent& evt ) throw( css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL propertyChange( const css::beans::PropertyChangeEvent& evt ) override;
/// incremental lock
void lock();
diff --git a/include/comphelper/propstate.hxx b/include/comphelper/propstate.hxx
index fbce94e7951a..697bb3560b8d 100644
--- a/include/comphelper/propstate.hxx
+++ b/include/comphelper/propstate.hxx
@@ -50,17 +50,17 @@ namespace comphelper
OPropertyStateHelper(::cppu::OBroadcastHelper& rBHlp,
::cppu::IEventNotificationHook *i_pFireEvents);
- virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type& aType) throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type& aType) override;
// XPropertyState
virtual css::beans::PropertyState SAL_CALL
- getPropertyState(const OUString& PropertyName) throw(css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) override;
+ getPropertyState(const OUString& PropertyName) override;
virtual css::uno::Sequence< css::beans::PropertyState> SAL_CALL
- getPropertyStates(const css::uno::Sequence< OUString >& aPropertyName) throw(css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) override;
+ getPropertyStates(const css::uno::Sequence< OUString >& aPropertyName) override;
virtual void SAL_CALL
- setPropertyToDefault(const OUString& PropertyName) throw(css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) override;
+ setPropertyToDefault(const OUString& PropertyName) override;
virtual css::uno::Any SAL_CALL
- getPropertyDefault(const OUString& aPropertyName) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
+ getPropertyDefault(const OUString& aPropertyName) override;
// access via handle
virtual css::beans::PropertyState getPropertyStateByHandle(sal_Int32 nHandle);
diff --git a/include/comphelper/proxyaggregation.hxx b/include/comphelper/proxyaggregation.hxx
index 03ce2d9d4c1b..bf3c5d87233e 100644
--- a/include/comphelper/proxyaggregation.hxx
+++ b/include/comphelper/proxyaggregation.hxx
@@ -106,9 +106,9 @@ namespace comphelper
// XInterface and XTypeProvider
/// @throws css::uno::RuntimeException
- css::uno::Any SAL_CALL queryAggregation( const css::uno::Type& _rType ) throw (css::uno::RuntimeException);
+ css::uno::Any SAL_CALL queryAggregation( const css::uno::Type& _rType );
/// @throws css::uno::RuntimeException
- css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) throw (css::uno::RuntimeException);
+ css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( );
private:
OProxyAggregation( const OProxyAggregation& ) = delete;
@@ -145,7 +145,7 @@ namespace comphelper
using OProxyAggregation::getComponentContext;
// XInterface
- css::uno::Any SAL_CALL queryInterface( const css::uno::Type& _rType ) throw (css::uno::RuntimeException, std::exception) override;
+ css::uno::Any SAL_CALL queryInterface( const css::uno::Type& _rType ) override;
// XTypeProvider
DECLARE_XTYPEPROVIDER( )
@@ -165,11 +165,11 @@ namespace comphelper
);
// XEventListener
- virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
// XComponent
/// @throws css::uno::RuntimeException
- virtual void SAL_CALL dispose() throw( css::uno::RuntimeException, std::exception ) = 0;
+ virtual void SAL_CALL dispose() = 0;
private:
OComponentProxyAggregationHelper( const OComponentProxyAggregationHelper& ) = delete;
@@ -197,13 +197,13 @@ namespace comphelper
DECLARE_XTYPEPROVIDER()
// OComponentHelper
- virtual void SAL_CALL disposing() throw (css::uno::RuntimeException) override;
+ virtual void SAL_CALL disposing() override;
// XEventListener
- virtual void SAL_CALL disposing( const css::lang::EventObject& _rSource ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing( const css::lang::EventObject& _rSource ) override;
// XComponent/OComponentProxyAggregationHelper
- virtual void SAL_CALL dispose() throw( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL dispose() override;
private:
OComponentProxyAggregation( const OComponentProxyAggregation& ) = delete;
diff --git a/include/comphelper/seekableinput.hxx b/include/comphelper/seekableinput.hxx
index bbb566ade6f4..3544f0e6cc83 100644
--- a/include/comphelper/seekableinput.hxx
+++ b/include/comphelper/seekableinput.hxx
@@ -62,16 +62,16 @@ public:
const css::uno::Reference< css::uno::XComponentContext >& rxContext );
// XInputStream
- virtual sal_Int32 SAL_CALL readBytes( css::uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead ) throw (css::io::NotConnectedException, css::io::BufferSizeExceededException, css::io::IOException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL readSomeBytes( css::uno::Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead ) throw (css::io::NotConnectedException, css::io::BufferSizeExceededException, css::io::IOException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL skipBytes( sal_Int32 nBytesToSkip ) throw (css::io::NotConnectedException, css::io::BufferSizeExceededException, css::io::IOException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL available() throw (css::io::NotConnectedException, css::io::IOException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL closeInput() throw (css::io::NotConnectedException, css::io::IOException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL readBytes( css::uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead ) override;
+ virtual sal_Int32 SAL_CALL readSomeBytes( css::uno::Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead ) override;
+ virtual void SAL_CALL skipBytes( sal_Int32 nBytesToSkip ) override;
+ virtual sal_Int32 SAL_CALL available() override;
+ virtual void SAL_CALL closeInput() override;
// XSeekable
- virtual void SAL_CALL seek( sal_Int64 location ) throw (css::lang::IllegalArgumentException, css::io::IOException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Int64 SAL_CALL getPosition() throw (css::io::IOException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Int64 SAL_CALL getLength() throw (css::io::IOException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL seek( sal_Int64 location ) override;
+ virtual sal_Int64 SAL_CALL getPosition() override;
+ virtual sal_Int64 SAL_CALL getLength() override;
};
diff --git a/include/comphelper/seqstream.hxx b/include/comphelper/seqstream.hxx
index ab1f344c717b..6103af45f640 100644
--- a/include/comphelper/seqstream.hxx
+++ b/include/comphelper/seqstream.hxx
@@ -46,27 +46,19 @@ public:
SequenceInputStream(css::uno::Sequence<sal_Int8> const & rData);
// css::io::XInputStream
- virtual sal_Int32 SAL_CALL readBytes( css::uno::Sequence<sal_Int8>& aData, sal_Int32 nBytesToRead )
- throw(css::io::NotConnectedException, css::io::BufferSizeExceededException,
- css::io::IOException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL readBytes( css::uno::Sequence<sal_Int8>& aData, sal_Int32 nBytesToRead ) override;
- virtual sal_Int32 SAL_CALL readSomeBytes( css::uno::Sequence<sal_Int8>& aData, sal_Int32 nMaxBytesToRead )
- throw(css::io::NotConnectedException, css::io::BufferSizeExceededException,
- css::io::IOException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL readSomeBytes( css::uno::Sequence<sal_Int8>& aData, sal_Int32 nMaxBytesToRead ) override;
- virtual void SAL_CALL skipBytes( sal_Int32 nBytesToSkip )
- throw(css::io::NotConnectedException, css::io::BufferSizeExceededException,
- css::io::IOException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL skipBytes( sal_Int32 nBytesToSkip ) override;
- virtual sal_Int32 SAL_CALL available( )
- throw(css::io::NotConnectedException, css::io::IOException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL available( ) override;
- virtual void SAL_CALL closeInput( )
- throw(css::io::NotConnectedException, css::io::IOException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL closeInput( ) override;
- virtual void SAL_CALL seek( sal_Int64 location ) throw (css::lang::IllegalArgumentException, css::io::IOException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Int64 SAL_CALL getPosition( ) throw (css::io::IOException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Int64 SAL_CALL getLength( ) throw (css::io::IOException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL seek( sal_Int64 location ) override;
+ virtual sal_Int64 SAL_CALL getPosition( ) override;
+ virtual sal_Int64 SAL_CALL getLength( ) override;
private:
inline sal_Int32 avail();
@@ -115,14 +107,14 @@ public:
);
/// same as XOutputStream::writeBytes (as expected :)
- virtual void SAL_CALL writeBytes( const css::uno::Sequence< sal_Int8 >& aData ) throw(css::io::NotConnectedException, css::io::BufferSizeExceededException, css::io::IOException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL writeBytes( const css::uno::Sequence< sal_Int8 >& aData ) override;
/// this is a dummy in this implementation, no buffering is used
- virtual void SAL_CALL flush( ) throw(css::io::NotConnectedException, css::io::BufferSizeExceededException, css::io::IOException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL flush( ) override;
/** closes the output stream. In the case of this class, this means that the sequence used for writing is
resized to the really used size and not used any further, every subsequent call to one of the XOutputStream
methods will throw a <code>NotConnectedException</code>.
*/
- virtual void SAL_CALL closeOutput( ) throw(css::io::NotConnectedException, css::io::BufferSizeExceededException, css::io::IOException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL closeOutput( ) override;
};
} // namespace comphelper
diff --git a/include/comphelper/servicedecl.hxx b/include/comphelper/servicedecl.hxx
index c5dd87ff9d57..40cb81c0dbeb 100644
--- a/include/comphelper/servicedecl.hxx
+++ b/include/comphelper/servicedecl.hxx
@@ -162,16 +162,14 @@ public:
: BaseT(xContext), m_rServiceDecl(rServiceDecl) {}
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException) override {
+ virtual OUString SAL_CALL getImplementationName() override {
return m_rServiceDecl.getImplementationName();
}
- virtual sal_Bool SAL_CALL supportsService( OUString const& name )
- throw (css::uno::RuntimeException) override {
+ virtual sal_Bool SAL_CALL supportsService( OUString const& name ) override {
return m_rServiceDecl.supportsService(name);
}
virtual css::uno::Sequence< OUString>
- SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException) override {
+ SAL_CALL getSupportedServiceNames() override {
return m_rServiceDecl.getSupportedServiceNames();
}
diff --git a/include/comphelper/servicehelper.hxx b/include/comphelper/servicehelper.hxx
index e2161e32db86..d1519ed14026 100644
--- a/include/comphelper/servicehelper.hxx
+++ b/include/comphelper/servicehelper.hxx
@@ -53,7 +53,7 @@ public:
#define UNO3_GETIMPLEMENTATION_DECL( classname ) \
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw(); \
static classname* getImplementation( const css::uno::Reference< css::uno::XInterface >& xInt ); \
- virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
#define UNO3_GETIMPLEMENTATION_BASE_IMPL( classname ) \
namespace \
@@ -76,7 +76,7 @@ classname* classname::getImplementation( const uno::Reference< uno::XInterface >
#define UNO3_GETIMPLEMENTATION_IMPL( classname )\
UNO3_GETIMPLEMENTATION_BASE_IMPL(classname)\
-sal_Int64 SAL_CALL classname::getSomething( const css::uno::Sequence< sal_Int8 >& rId ) throw(css::uno::RuntimeException, std::exception) \
+sal_Int64 SAL_CALL classname::getSomething( const css::uno::Sequence< sal_Int8 >& rId ) \
{ \
if( rId.getLength() == 16 && 0 == memcmp( getUnoTunnelId().getConstArray(), \
rId.getConstArray(), 16 ) ) \
@@ -88,7 +88,7 @@ sal_Int64 SAL_CALL classname::getSomething( const css::uno::Sequence< sal_Int8 >
#define UNO3_GETIMPLEMENTATION2_IMPL( classname, baseclass )\
UNO3_GETIMPLEMENTATION_BASE_IMPL(classname)\
-sal_Int64 SAL_CALL classname::getSomething( const css::uno::Sequence< sal_Int8 >& rId ) throw(css::uno::RuntimeException, std::exception) \
+sal_Int64 SAL_CALL classname::getSomething( const css::uno::Sequence< sal_Int8 >& rId ) \
{ \
if( rId.getLength() == 16 && 0 == memcmp( getUnoTunnelId().getConstArray(), \
rId.getConstArray(), 16 ) ) \
diff --git a/include/comphelper/serviceinfohelper.hxx b/include/comphelper/serviceinfohelper.hxx
index 9cd2076e5d95..527c09bbe75a 100644
--- a/include/comphelper/serviceinfohelper.hxx
+++ b/include/comphelper/serviceinfohelper.hxx
@@ -39,8 +39,8 @@ class COMPHELPER_DLLPUBLIC ServiceInfoHelper : public css::lang::XServiceInfo
{
public:
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw(css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
// helper
static void addToSequence( css::uno::Sequence< OUString >& rSeq, std::initializer_list<OUString> services ) throw();
diff --git a/include/comphelper/storagehelper.hxx b/include/comphelper/storagehelper.hxx
index fb58cf69f8ce..d852cb718f58 100644
--- a/include/comphelper/storagehelper.hxx
+++ b/include/comphelper/storagehelper.hxx
@@ -70,22 +70,19 @@ public:
static css::uno::Reference< css::lang::XSingleServiceFactory >
GetStorageFactory(
const css::uno::Reference< css::uno::XComponentContext >& rxContext
- = css::uno::Reference< css::uno::XComponentContext >() )
- throw ( css::uno::Exception );
+ = css::uno::Reference< css::uno::XComponentContext >() );
/// @throws css::uno::Exception
static css::uno::Reference< css::lang::XSingleServiceFactory >
GetFileSystemStorageFactory(
const css::uno::Reference< css::uno::XComponentContext >& rxContext
- = css::uno::Reference< css::uno::XComponentContext >() )
- throw ( css::uno::Exception );
+ = css::uno::Reference< css::uno::XComponentContext >() );
/// @throws css::uno::Exception
static css::uno::Reference< css::embed::XStorage >
GetTemporaryStorage(
const css::uno::Reference< css::uno::XComponentContext >& rxContext
- = css::uno::Reference< css::uno::XComponentContext >() )
- throw ( css::uno::Exception );
+ = css::uno::Reference< css::uno::XComponentContext >() );
/// this one will only return Storage
///
@@ -95,8 +92,7 @@ public:
const OUString& aURL,
sal_Int32 nStorageMode,
const css::uno::Reference< css::uno::XComponentContext >& rxContext
- = css::uno::Reference< css::uno::XComponentContext >() )
- throw ( css::uno::Exception );
+ = css::uno::Reference< css::uno::XComponentContext >() );
/// this one will return either Storage or FileSystemStorage
///
@@ -106,17 +102,14 @@ public:
const OUString& aURL,
sal_Int32 nStorageMode,
const css::uno::Reference< css::uno::XComponentContext >& rxContext
- = css::uno::Reference< css::uno::XComponentContext >() )
-
- throw ( css::uno::Exception );
+ = css::uno::Reference< css::uno::XComponentContext >() );
/// @throws css::uno::Exception
static css::uno::Reference< css::embed::XStorage >
GetStorageFromInputStream(
const css::uno::Reference < css::io::XInputStream >& xStream,
const css::uno::Reference< css::uno::XComponentContext >& rxContext
- = css::uno::Reference< css::uno::XComponentContext >() )
- throw ( css::uno::Exception );
+ = css::uno::Reference< css::uno::XComponentContext >() );
/// @throws css::uno::Exception
static css::uno::Reference< css::embed::XStorage >
@@ -124,33 +117,28 @@ public:
const css::uno::Reference < css::io::XStream >& xStream,
sal_Int32 nStorageMode = css::embed::ElementModes::READWRITE,
const css::uno::Reference< css::uno::XComponentContext >& rxContext
- = css::uno::Reference< css::uno::XComponentContext >() )
- throw ( css::uno::Exception );
+ = css::uno::Reference< css::uno::XComponentContext >() );
/// @throws css::uno::Exception
static void CopyInputToOutput(
const css::uno::Reference< css::io::XInputStream >& xInput,
- const css::uno::Reference< css::io::XOutputStream >& xOutput )
- throw ( css::uno::Exception );
+ const css::uno::Reference< css::io::XOutputStream >& xOutput );
/// @throws css::uno::Exception
static css::uno::Reference< css::io::XInputStream >
GetInputStreamFromURL(
const OUString& aURL,
- const css::uno::Reference< css::uno::XComponentContext >& context )
- throw ( css::uno::Exception );
+ const css::uno::Reference< css::uno::XComponentContext >& context );
/// @throws css::uno::Exception
static void SetCommonStorageEncryptionData(
const css::uno::Reference< css::embed::XStorage >& xStorage,
- const css::uno::Sequence< css::beans::NamedValue >& aEncryptionData )
- throw ( css::uno::Exception );
+ const css::uno::Sequence< css::beans::NamedValue >& aEncryptionData );
// the following method supports only storages of OOo formats
/// @throws css::uno::Exception
static sal_Int32 GetXStorageFormat(
- const css::uno::Reference< css::embed::XStorage >& xStorage )
- throw ( css::uno::Exception, std::exception );
+ const css::uno::Reference< css::embed::XStorage >& xStorage );
/// @throws css::uno::Exception
static css::uno::Reference< css::embed::XStorage >
@@ -159,8 +147,7 @@ public:
const OUString& aURL,
sal_Int32 nStorageMode,
const css::uno::Reference< css::uno::XComponentContext >& rxContext
- = css::uno::Reference< css::uno::XComponentContext >() )
- throw ( css::uno::Exception );
+ = css::uno::Reference< css::uno::XComponentContext >() );
/// @throws css::uno::Exception
static css::uno::Reference< css::embed::XStorage >
@@ -170,8 +157,7 @@ public:
const css::uno::Reference< css::uno::XComponentContext >& rxContext
= css::uno::Reference< css::uno::XComponentContext >(),
bool bRepairStorage = false,
- bool bUseBufferedStream = false )
- throw ( css::uno::Exception );
+ bool bUseBufferedStream = false );
/// @throws css::uno::Exception
static css::uno::Reference< css::embed::XStorage >
@@ -182,8 +168,7 @@ public:
const css::uno::Reference< css::uno::XComponentContext >& rxContext
= css::uno::Reference< css::uno::XComponentContext >(),
bool bRepairStorage = false,
- bool bUseBufferedStream = false )
- throw ( css::uno::Exception );
+ bool bUseBufferedStream = false );
static css::uno::Sequence< css::beans::NamedValue >
CreatePackageEncryptionData(
diff --git a/include/comphelper/types.hxx b/include/comphelper/types.hxx
index 16ced8746f96..a5b56219c295 100644
--- a/include/comphelper/types.hxx
+++ b/include/comphelper/types.hxx
@@ -91,7 +91,7 @@ namespace comphelper
COMPHELPER_DLLPUBLIC bool getBOOL(const css::uno::Any& _rAny);
/// @throws css::lang::IllegalArgumentException
- COMPHELPER_DLLPUBLIC sal_Int32 getEnumAsINT32(const css::uno::Any& _rAny) throw(css::lang::IllegalArgumentException);
+ COMPHELPER_DLLPUBLIC sal_Int32 getEnumAsINT32(const css::uno::Any& _rAny);
} // namespace comphelper
diff --git a/include/comphelper/unique_disposing_ptr.hxx b/include/comphelper/unique_disposing_ptr.hxx
index c986b12e316f..1c4a8dce9fb3 100644
--- a/include/comphelper/unique_disposing_ptr.hxx
+++ b/include/comphelper/unique_disposing_ptr.hxx
@@ -104,8 +104,7 @@ private:
}
// XEventListener
- virtual void SAL_CALL disposing( const css::lang::EventObject& rEvt )
- throw (css::uno::RuntimeException, std::exception) override
+ virtual void SAL_CALL disposing( const css::lang::EventObject& rEvt ) override
{
bool shutDown = (rEvt.Source == m_xComponent);
@@ -124,20 +123,16 @@ private:
}
// XTerminateListener
- virtual void SAL_CALL queryTermination( const css::lang::EventObject& )
- throw(css::frame::TerminationVetoException,
- css::uno::RuntimeException, std::exception) override
+ virtual void SAL_CALL queryTermination( const css::lang::EventObject& ) override
{
}
- virtual void SAL_CALL notifyTermination( const css::lang::EventObject& rEvt )
- throw (css::uno::RuntimeException, std::exception) override
+ virtual void SAL_CALL notifyTermination( const css::lang::EventObject& rEvt ) override
{
disposing(rEvt);
}
- virtual OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException, std::exception) override
+ virtual OUString SAL_CALL getImplementationName() override
{
if (mbComponentDLL)
return OUString("com.sun.star.comp.ComponentDLLListener");
@@ -145,14 +140,12 @@ private:
return OUString("com.sun.star.comp.DisposingTerminateListener");
}
- virtual sal_Bool SAL_CALL supportsService(const OUString& /*rName*/)
- throw (css::uno::RuntimeException, std::exception) override
+ virtual sal_Bool SAL_CALL supportsService(const OUString& /*rName*/) override
{
return false;
}
- virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override
{
return css::uno::Sequence<OUString>();
}
diff --git a/include/comphelper/uno3.hxx b/include/comphelper/uno3.hxx
index 5b4cb63a3542..05756fe709b5 100644
--- a/include/comphelper/uno3.hxx
+++ b/include/comphelper/uno3.hxx
@@ -41,7 +41,7 @@ namespace comphelper
#define DECLARE_UNO3_AGG_DEFAULTS(classname, baseclass) \
virtual void SAL_CALL acquire() throw() override { baseclass::acquire(); } \
virtual void SAL_CALL release() throw() override { baseclass::release(); } \
- virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type& _rType) throw (css::uno::RuntimeException, std::exception) override \
+ virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type& _rType) override \
{ return baseclass::queryInterface(_rType); }
/** Use this macro to forward XComponent methods to base class
@@ -69,19 +69,19 @@ namespace comphelper
#define DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS(classname, baseclass, implhelper) \
virtual void SAL_CALL acquire() throw() override { baseclass::acquire(); } \
virtual void SAL_CALL release() throw() override { baseclass::release(); } \
- virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type& _rType) throw (css::uno::RuntimeException, std::exception) override \
+ virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type& _rType) override \
{ return baseclass::queryInterface(_rType); } \
- virtual void SAL_CALL dispose() throw (css::uno::RuntimeException, std::exception) override \
+ virtual void SAL_CALL dispose() override \
{ \
implhelper::dispose(); \
} \
virtual void SAL_CALL addEventListener( \
- css::uno::Reference< css::lang::XEventListener > const & xListener ) throw (css::uno::RuntimeException, std::exception) override \
+ css::uno::Reference< css::lang::XEventListener > const & xListener ) override \
{ \
implhelper::addEventListener(xListener); \
} \
virtual void SAL_CALL removeEventListener( \
- css::uno::Reference< css::lang::XEventListener > const & xListener ) throw (css::uno::RuntimeException, std::exception) override \
+ css::uno::Reference< css::lang::XEventListener > const & xListener ) override \
{ \
implhelper::removeEventListener(xListener); \
}
@@ -91,7 +91,7 @@ namespace comphelper
//= forwarding/merging XInterface funtionality
#define DECLARE_XINTERFACE( ) \
- virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw (css::uno::RuntimeException, std::exception) override; \
+ virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override; \
virtual void SAL_CALL acquire() throw() override; \
virtual void SAL_CALL release() throw() override;
@@ -101,7 +101,7 @@ namespace comphelper
#define IMPLEMENT_FORWARD_XINTERFACE2( classname, refcountbase, baseclass2 ) \
IMPLEMENT_FORWARD_REFCOUNT( classname, refcountbase ) \
- css::uno::Any SAL_CALL classname::queryInterface( const css::uno::Type& _rType ) throw (css::uno::RuntimeException, std::exception) \
+ css::uno::Any SAL_CALL classname::queryInterface( const css::uno::Type& _rType ) \
{ \
css::uno::Any aReturn = refcountbase::queryInterface( _rType ); \
if ( !aReturn.hasValue() ) \
@@ -111,7 +111,7 @@ namespace comphelper
#define IMPLEMENT_FORWARD_XINTERFACE3( classname, refcountbase, baseclass2, baseclass3 ) \
IMPLEMENT_FORWARD_REFCOUNT( classname, refcountbase ) \
- css::uno::Any SAL_CALL classname::queryInterface( const css::uno::Type& _rType ) throw (css::uno::RuntimeException, std::exception) \
+ css::uno::Any SAL_CALL classname::queryInterface( const css::uno::Type& _rType ) \
{ \
css::uno::Any aReturn = refcountbase::queryInterface( _rType ); \
if ( !aReturn.hasValue() ) \
@@ -127,17 +127,17 @@ namespace comphelper
//= forwarding/merging XTypeProvider funtionality
#define DECLARE_XTYPEPROVIDER( ) \
- virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) throw (css::uno::RuntimeException, std::exception) override; \
- virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override; \
+ virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) override;
#define IMPLEMENT_GET_IMPLEMENTATION_ID( classname ) \
- css::uno::Sequence< sal_Int8 > SAL_CALL classname::getImplementationId( ) throw (css::uno::RuntimeException, std::exception) \
+ css::uno::Sequence< sal_Int8 > SAL_CALL classname::getImplementationId( ) \
{ \
return css::uno::Sequence<sal_Int8>(); \
}
#define IMPLEMENT_FORWARD_XTYPEPROVIDER2( classname, baseclass1, baseclass2 ) \
- css::uno::Sequence< css::uno::Type > SAL_CALL classname::getTypes( ) throw (css::uno::RuntimeException, std::exception) \
+ css::uno::Sequence< css::uno::Type > SAL_CALL classname::getTypes( ) \
{ \
return ::comphelper::concatSequences( \
baseclass1::getTypes(), \
@@ -148,7 +148,7 @@ namespace comphelper
IMPLEMENT_GET_IMPLEMENTATION_ID( classname )
#define IMPLEMENT_FORWARD_XTYPEPROVIDER3( classname, baseclass1, baseclass2, baseclass3 ) \
- css::uno::Sequence< css::uno::Type > SAL_CALL classname::getTypes( ) throw (css::uno::RuntimeException, std::exception) \
+ css::uno::Sequence< css::uno::Type > SAL_CALL classname::getTypes( ) \
{ \
return ::comphelper::concatSequences( \
baseclass1::getTypes(), \
diff --git a/include/comphelper/weak.hxx b/include/comphelper/weak.hxx
index 0d8d9d5b2965..1a9c99f2324d 100644
--- a/include/comphelper/weak.hxx
+++ b/include/comphelper/weak.hxx
@@ -40,11 +40,11 @@ public:
OWeakTypeObject();
virtual ~OWeakTypeObject() override;
- virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type & rType ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire() throw () override;
virtual void SAL_CALL release() throw () override;
- virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL getImplementationId( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
+ virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL getImplementationId( ) override;
};
diff --git a/include/comphelper/weakeventlistener.hxx b/include/comphelper/weakeventlistener.hxx
index 4293262651ef..0fc4e588fb51 100644
--- a/include/comphelper/weakeventlistener.hxx
+++ b/include/comphelper/weakeventlistener.hxx
@@ -115,7 +115,7 @@ namespace comphelper
}
// XEventListener overridables
- virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException) override;
+ virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
protected:
// OComponentHelper overridables
@@ -163,7 +163,7 @@ namespace comphelper
template< class BROADCASTER, class LISTENER >
- void SAL_CALL OWeakListenerAdapter< BROADCASTER, LISTENER >::disposing( const css::lang::EventObject& _rSource ) throw (css::uno::RuntimeException)
+ void SAL_CALL OWeakListenerAdapter< BROADCASTER, LISTENER >::disposing( const css::lang::EventObject& _rSource )
{
css::uno::Reference< LISTENER > xListener( getListener() );
if ( xListener.is() )