summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-04-30 08:20:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-05-02 17:02:28 +0200
commit10d29c390dd58ed629dd27fe5ed35fae28eceec3 (patch)
tree7476cbb90fff182c5bec0a5a1ef9c41a3ad29f19 /include
parenta9243e626193ab4efe3a618413886773336a38e6 (diff)
throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite
Change-Id: I076f16d0536b534abf0ced4d76051eadb4c0e033 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114949 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/codemaker/global.hxx2
-rw-r--r--include/comphelper/ChainablePropertySet.hxx8
-rw-r--r--include/comphelper/ChainablePropertySetInfo.hxx2
-rw-r--r--include/comphelper/MasterPropertySet.hxx6
-rw-r--r--include/comphelper/MasterPropertySetInfo.hxx2
-rw-r--r--include/comphelper/asyncnotification.hxx4
-rw-r--r--include/comphelper/newarray.hxx2
-rw-r--r--include/comphelper/propertysethelper.hxx4
-rw-r--r--include/comphelper/propertysetinfo.hxx14
-rw-r--r--include/comphelper/servicehelper.hxx4
-rw-r--r--include/comphelper/uno3.hxx20
-rw-r--r--include/comphelper/weak.hxx4
-rw-r--r--include/connectivity/sdbcx/VCollection.hxx4
-rw-r--r--include/connectivity/sdbcx/VColumn.hxx4
-rw-r--r--include/connectivity/sdbcx/VTable.hxx4
-rw-r--r--include/connectivity/sdbcx/VView.hxx4
-rw-r--r--include/cppuhelper/compbase.hxx8
-rw-r--r--include/cppuhelper/compbase12.hxx18
-rw-r--r--include/cppuhelper/compbase2.hxx18
-rw-r--r--include/cppuhelper/compbase3.hxx18
-rw-r--r--include/cppuhelper/compbase4.hxx18
-rw-r--r--include/cppuhelper/compbase5.hxx18
-rw-r--r--include/cppuhelper/compbase6.hxx18
-rw-r--r--include/cppuhelper/compbase7.hxx18
-rw-r--r--include/cppuhelper/compbase8.hxx18
-rw-r--r--include/cppuhelper/compbase9.hxx18
-rw-r--r--include/cppuhelper/compbase_ex.hxx8
-rw-r--r--include/cppuhelper/component.hxx4
-rw-r--r--include/cppuhelper/implbase.hxx8
-rw-r--r--include/cppuhelper/implbase1.hxx18
-rw-r--r--include/cppuhelper/implbase10.hxx18
-rw-r--r--include/cppuhelper/implbase12.hxx18
-rw-r--r--include/cppuhelper/implbase13.hxx18
-rw-r--r--include/cppuhelper/implbase2.hxx18
-rw-r--r--include/cppuhelper/implbase3.hxx18
-rw-r--r--include/cppuhelper/implbase4.hxx18
-rw-r--r--include/cppuhelper/implbase5.hxx18
-rw-r--r--include/cppuhelper/implbase6.hxx18
-rw-r--r--include/cppuhelper/implbase7.hxx18
-rw-r--r--include/cppuhelper/implbase8.hxx18
-rw-r--r--include/cppuhelper/implbase9.hxx18
-rw-r--r--include/cppuhelper/weak.hxx4
-rw-r--r--include/cppuhelper/weakagg.hxx4
-rw-r--r--include/dbaccess/IController.hxx4
-rw-r--r--include/dbaccess/dbaundomanager.hxx4
-rw-r--r--include/dbaccess/genericcontroller.hxx4
-rw-r--r--include/editeng/outliner.hxx2
-rw-r--r--include/editeng/unofield.hxx14
-rw-r--r--include/editeng/unoipset.hxx4
-rw-r--r--include/editeng/unonrule.hxx4
-rw-r--r--include/editeng/unotext.hxx80
-rw-r--r--include/framework/desktop.hxx4
-rw-r--r--include/oox/core/contexthandler2.hxx8
-rw-r--r--include/oox/core/fragmenthandler2.hxx4
-rw-r--r--include/oox/ppt/pptimport.hxx2
-rw-r--r--include/oox/ppt/presentationfragmenthandler.hxx2
-rw-r--r--include/oox/ppt/slidetimingcontext.hxx4
-rw-r--r--include/oox/ppt/slidetransitioncontext.hxx4
-rw-r--r--include/oox/ppt/soundactioncontext.hxx4
-rw-r--r--include/oox/ppt/timenodelistcontext.hxx8
-rw-r--r--include/osl/thread.hxx2
-rw-r--r--include/sfx2/sfxbasemodel.hxx4
-rw-r--r--include/sfx2/stbitem.hxx4
-rw-r--r--include/svl/itemprop.hxx2
-rw-r--r--include/svtools/embedhlp.hxx2
-rw-r--r--include/svtools/framestatuslistener.hxx4
-rw-r--r--include/svtools/javacontext.hxx4
-rw-r--r--include/svtools/javainteractionhandler.hxx4
-rw-r--r--include/svtools/statusbarcontroller.hxx4
-rw-r--r--include/svtools/toolboxcontroller.hxx4
-rw-r--r--include/svx/AccessibleGraphicShape.hxx4
-rw-r--r--include/svx/AccessibleOLEShape.hxx4
-rw-r--r--include/svx/AccessibleShape.hxx4
-rw-r--r--include/svx/ChildrenManager.hxx2
-rw-r--r--include/svx/DiagramDataInterface.hxx2
-rw-r--r--include/svx/ParaSpacingControl.hxx4
-rw-r--r--include/svx/fmdpage.hxx2
-rw-r--r--include/svx/fmgridif.hxx4
-rw-r--r--include/svx/unoapi.hxx14
-rw-r--r--include/svx/unomod.hxx2
-rw-r--r--include/svx/unomodel.hxx8
-rw-r--r--include/svx/unopage.hxx14
-rw-r--r--include/svx/unopool.hxx8
-rw-r--r--include/svx/unoprov.hxx2
-rw-r--r--include/svx/unoshape.hxx90
-rw-r--r--include/toolkit/awt/vclxmenu.hxx4
-rw-r--r--include/toolkit/awt/vclxwindows.hxx24
-rw-r--r--include/toolkit/controls/unocontrolmodel.hxx6
-rw-r--r--include/toolkit/controls/unocontrols.hxx40
-rw-r--r--include/toolkit/helper/listenermultiplexer.hxx4
-rw-r--r--include/toolkit/helper/macros.hxx12
-rw-r--r--include/ucbhelper/contenthelper.hxx4
-rw-r--r--include/ucbhelper/interactionrequest.hxx28
-rw-r--r--include/unoidl/unoidl.hxx38
-rw-r--r--include/unotools/confignode.hxx24
-rw-r--r--include/unotools/streamwrap.hxx4
-rw-r--r--include/unotools/ucbhelper.hxx2
-rw-r--r--include/vcl/dndhelp.hxx4
-rw-r--r--include/vcl/textview.hxx4
-rw-r--r--include/vcl/unohelp2.hxx4
-rw-r--r--include/xmloff/shapeexport.hxx2
-rw-r--r--include/xmloff/unoatrcn.hxx2
-rw-r--r--include/xmloff/xmlictxt.hxx4
-rw-r--r--include/xmloff/xmlimp.hxx6
-rw-r--r--include/xmlreader/span.hxx2
105 files changed, 537 insertions, 537 deletions
diff --git a/include/codemaker/global.hxx b/include/codemaker/global.hxx
index c3bb22942cf7..3fff70f9988f 100644
--- a/include/codemaker/global.hxx
+++ b/include/codemaker/global.hxx
@@ -82,7 +82,7 @@ class CannotDumpException final {
public:
CannotDumpException(OUString const & message): message_(message) {}
- ~CannotDumpException() throw ();
+ ~CannotDumpException() noexcept;
const OUString& getMessage() const { return message_; }
diff --git a/include/comphelper/ChainablePropertySet.hxx b/include/comphelper/ChainablePropertySet.hxx
index 829b1a2d9fb6..fb4fbd744d9a 100644
--- a/include/comphelper/ChainablePropertySet.hxx
+++ b/include/comphelper/ChainablePropertySet.hxx
@@ -109,15 +109,15 @@ namespace comphelper
public:
ChainablePropertySet( comphelper::ChainablePropertySetInfo* pInfo, SolarMutex* pMutex )
- throw();
+ noexcept;
virtual ~ChainablePropertySet()
- throw() override;
+ noexcept override;
css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override
{ return ChainablePropertySetBase::queryInterface( aType ); }
- void SAL_CALL acquire( ) throw () override
+ void SAL_CALL acquire( ) noexcept override
{ ChainablePropertySetBase::acquire( ); }
- void SAL_CALL release( ) throw () override
+ void SAL_CALL release( ) noexcept override
{ ChainablePropertySetBase::release( ); }
// XPropertySet
diff --git a/include/comphelper/ChainablePropertySetInfo.hxx b/include/comphelper/ChainablePropertySetInfo.hxx
index e35c534e7b0c..5ece0701c308 100644
--- a/include/comphelper/ChainablePropertySetInfo.hxx
+++ b/include/comphelper/ChainablePropertySetInfo.hxx
@@ -45,7 +45,7 @@ namespace comphelper
private:
virtual ~ChainablePropertySetInfo()
- throw() override;
+ noexcept override;
// XPropertySetInfo
virtual css::uno::Sequence< css::beans::Property > SAL_CALL getProperties() override;
diff --git a/include/comphelper/MasterPropertySet.hxx b/include/comphelper/MasterPropertySet.hxx
index 6276f9008e52..acd9ce9c4af6 100644
--- a/include/comphelper/MasterPropertySet.hxx
+++ b/include/comphelper/MasterPropertySet.hxx
@@ -101,11 +101,11 @@ namespace comphelper
public:
MasterPropertySet( comphelper::MasterPropertySetInfo* pInfo, SolarMutex* pMutex )
- throw();
+ noexcept;
virtual ~MasterPropertySet()
- throw();
+ noexcept;
void registerSlave ( ChainablePropertySet *pNewSet )
- throw();
+ noexcept;
// XPropertySet
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
diff --git a/include/comphelper/MasterPropertySetInfo.hxx b/include/comphelper/MasterPropertySetInfo.hxx
index 3293ee76483a..0e50cc457380 100644
--- a/include/comphelper/MasterPropertySetInfo.hxx
+++ b/include/comphelper/MasterPropertySetInfo.hxx
@@ -36,7 +36,7 @@ namespace comphelper
private:
virtual ~MasterPropertySetInfo()
- throw() override;
+ noexcept override;
void add( PropertyInfoHash &rHash, sal_uInt8 nMapId );
diff --git a/include/comphelper/asyncnotification.hxx b/include/comphelper/asyncnotification.hxx
index 2daac286bf09..891495319c27 100644
--- a/include/comphelper/asyncnotification.hxx
+++ b/include/comphelper/asyncnotification.hxx
@@ -67,8 +67,8 @@ namespace comphelper
*/
virtual void processEvent( const AnyEvent& _rEvent ) = 0;
- virtual void SAL_CALL acquire() throw () = 0;
- virtual void SAL_CALL release() throw () = 0;
+ virtual void SAL_CALL acquire() noexcept = 0;
+ virtual void SAL_CALL release() noexcept = 0;
protected:
~IEventProcessor() {}
diff --git a/include/comphelper/newarray.hxx b/include/comphelper/newarray.hxx
index a904f7d1ed0d..6764cb3bfe3b 100644
--- a/include/comphelper/newarray.hxx
+++ b/include/comphelper/newarray.hxx
@@ -27,7 +27,7 @@
namespace comphelper {
template<typename T> T *
-newArray_null(size_t const n) throw()
+newArray_null(size_t const n) noexcept
{
if ((::std::numeric_limits<size_t>::max() / sizeof(T)) <= n) {
return 0;
diff --git a/include/comphelper/propertysethelper.hxx b/include/comphelper/propertysethelper.hxx
index 33321e2cc994..131465dc0f46 100644
--- a/include/comphelper/propertysethelper.hxx
+++ b/include/comphelper/propertysethelper.hxx
@@ -62,8 +62,8 @@ protected:
virtual css::uno::Any _getPropertyDefault( const comphelper::PropertyMapEntry* pEntry );
public:
- PropertySetHelper( rtl::Reference<comphelper::PropertySetInfo> const & xInfo ) throw();
- virtual ~PropertySetHelper() throw();
+ PropertySetHelper( rtl::Reference<comphelper::PropertySetInfo> const & xInfo ) noexcept;
+ virtual ~PropertySetHelper() noexcept;
// XPropertySet
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
diff --git a/include/comphelper/propertysetinfo.hxx b/include/comphelper/propertysetinfo.hxx
index aaf8484ad879..518b83375a3f 100644
--- a/include/comphelper/propertysetinfo.hxx
+++ b/include/comphelper/propertysetinfo.hxx
@@ -93,23 +93,23 @@ class COMPHELPER_DLLPUBLIC PropertySetInfo final
private:
std::unique_ptr<PropertyMapImpl> mpImpl;
public:
- PropertySetInfo() throw();
- PropertySetInfo( PropertyMapEntry const * pMap ) throw();
- PropertySetInfo(css::uno::Sequence<css::beans::Property> const &) throw();
- virtual ~PropertySetInfo() throw() override;
+ PropertySetInfo() noexcept;
+ PropertySetInfo( PropertyMapEntry const * pMap ) noexcept;
+ PropertySetInfo(css::uno::Sequence<css::beans::Property> const &) noexcept;
+ virtual ~PropertySetInfo() noexcept override;
/** returns a stl map with all PropertyMapEntry pointer.<p>
The key is the property name.
*/
- const PropertyMap& getPropertyMap() const throw();
+ const PropertyMap& getPropertyMap() const noexcept;
/** adds an array of PropertyMapEntry to this instance.<p>
The end is marked with a PropertyMapEntry where mpName equals NULL</p>
*/
- void add( PropertyMapEntry const * pMap ) throw();
+ void add( PropertyMapEntry const * pMap ) noexcept;
/** removes an already added PropertyMapEntry which string in mpName equals to aName */
- void remove( const OUString& aName ) throw();
+ void remove( const OUString& aName ) noexcept;
virtual css::uno::Sequence< css::beans::Property > SAL_CALL getProperties() override;
virtual css::beans::Property SAL_CALL getPropertyByName( const OUString& aName ) override;
diff --git a/include/comphelper/servicehelper.hxx b/include/comphelper/servicehelper.hxx
index 2fe01bc5255c..8be9ee975178 100644
--- a/include/comphelper/servicehelper.hxx
+++ b/include/comphelper/servicehelper.hxx
@@ -73,11 +73,11 @@ inline bool isUnoTunnelId(const css::uno::Sequence< sal_Int8 >& rId)
done by this macro.
*/
#define UNO3_GETIMPLEMENTATION_DECL( classname ) \
- static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw(); \
+ static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId() noexcept; \
virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
#define UNO3_GETIMPLEMENTATION_BASE_IMPL( classname ) \
-const css::uno::Sequence< sal_Int8 > & classname::getUnoTunnelId() throw() \
+const css::uno::Sequence< sal_Int8 > & classname::getUnoTunnelId() noexcept \
{ \
static const UnoTunnelIdInit aId; \
return aId.getSeq(); \
diff --git a/include/comphelper/uno3.hxx b/include/comphelper/uno3.hxx
index 36044ecd3114..97e4cea0a170 100644
--- a/include/comphelper/uno3.hxx
+++ b/include/comphelper/uno3.hxx
@@ -29,15 +29,15 @@ namespace comphelper
/** used for declaring UNO3-Defaults, i.e. acquire/release
*/
#define DECLARE_UNO3_DEFAULTS(classname, baseclass) \
- virtual void SAL_CALL acquire() throw() override { baseclass::acquire(); } \
- virtual void SAL_CALL release() throw() override { baseclass::release(); }
+ virtual void SAL_CALL acquire() noexcept override { baseclass::acquire(); } \
+ virtual void SAL_CALL release() noexcept override { baseclass::release(); }
/** used for declaring UNO3-Defaults, i.e. acquire/release if you want to forward all queryInterfaces to the base class,
(e.g. if you override queryAggregation)
*/
#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 void SAL_CALL acquire() noexcept override { baseclass::acquire(); } \
+ virtual void SAL_CALL release() noexcept override { baseclass::release(); } \
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type& _rType) override \
{ return baseclass::queryInterface(_rType); }
@@ -64,8 +64,8 @@ namespace comphelper
that would be ::cppu::WeakComponentImplHelperBase
*/
#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 void SAL_CALL acquire() noexcept override { baseclass::acquire(); } \
+ virtual void SAL_CALL release() noexcept override { baseclass::release(); } \
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type& _rType) override \
{ return baseclass::queryInterface(_rType); } \
virtual void SAL_CALL dispose() override \
@@ -89,12 +89,12 @@ namespace comphelper
#define DECLARE_XINTERFACE( ) \
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;
+ virtual void SAL_CALL acquire() noexcept override; \
+ virtual void SAL_CALL release() noexcept override;
#define IMPLEMENT_FORWARD_REFCOUNT( classname, refcountbase ) \
- void SAL_CALL classname::acquire() throw() { refcountbase::acquire(); } \
- void SAL_CALL classname::release() throw() { refcountbase::release(); }
+ void SAL_CALL classname::acquire() noexcept { refcountbase::acquire(); } \
+ void SAL_CALL classname::release() noexcept { refcountbase::release(); }
#define IMPLEMENT_FORWARD_XINTERFACE2( classname, refcountbase, baseclass2 ) \
IMPLEMENT_FORWARD_REFCOUNT( classname, refcountbase ) \
diff --git a/include/comphelper/weak.hxx b/include/comphelper/weak.hxx
index f53ea8d7f562..28a23445dd53 100644
--- a/include/comphelper/weak.hxx
+++ b/include/comphelper/weak.hxx
@@ -46,9 +46,9 @@ public:
OWeakTypeObject & operator =(OWeakTypeObject &&) = default;
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type & rType ) override;
- virtual void SAL_CALL acquire() throw () override
+ virtual void SAL_CALL acquire() noexcept override
{ ::cppu::OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () override
+ virtual void SAL_CALL release() noexcept override
{ ::cppu::OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
diff --git a/include/connectivity/sdbcx/VCollection.hxx b/include/connectivity/sdbcx/VCollection.hxx
index 9e94d83cb964..ab0dd3bcc828 100644
--- a/include/connectivity/sdbcx/VCollection.hxx
+++ b/include/connectivity/sdbcx/VCollection.hxx
@@ -176,8 +176,8 @@ namespace connectivity::sdbcx
// only the name is identical to ::cppu::OComponentHelper
virtual void disposing();
// dispatch the refcounting to the parent
- virtual void SAL_CALL acquire() throw() override;
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
+ virtual void SAL_CALL release() noexcept override;
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
diff --git a/include/connectivity/sdbcx/VColumn.hxx b/include/connectivity/sdbcx/VColumn.hxx
index e80e2da5e272..579611cdf63a 100644
--- a/include/connectivity/sdbcx/VColumn.hxx
+++ b/include/connectivity/sdbcx/VColumn.hxx
@@ -71,8 +71,8 @@ namespace connectivity::sdbcx
virtual ~OColumn() override;
public:
- virtual void SAL_CALL acquire() throw() override;
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
+ virtual void SAL_CALL release() noexcept override;
OColumn( bool _bCase);
OColumn( const OUString& Name,
diff --git a/include/connectivity/sdbcx/VTable.hxx b/include/connectivity/sdbcx/VTable.hxx
index 47cb6d672998..919626681064 100644
--- a/include/connectivity/sdbcx/VTable.hxx
+++ b/include/connectivity/sdbcx/VTable.hxx
@@ -99,8 +99,8 @@ namespace connectivity::sdbcx
DECLARE_SERVICE_INFO();
//XInterface
- virtual void SAL_CALL acquire() throw() override;
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
+ virtual void SAL_CALL release() noexcept override;
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
//XTypeProvider
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
diff --git a/include/connectivity/sdbcx/VView.hxx b/include/connectivity/sdbcx/VView.hxx
index 192eb8a79734..3a7714f95f11 100644
--- a/include/connectivity/sdbcx/VView.hxx
+++ b/include/connectivity/sdbcx/VView.hxx
@@ -75,8 +75,8 @@ namespace connectivity::sdbcx
// XInterface
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 void SAL_CALL acquire() noexcept override;
+ virtual void SAL_CALL release() noexcept override;
//XTypeProvider
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
// XPropertySet
diff --git a/include/cppuhelper/compbase.hxx b/include/cppuhelper/compbase.hxx
index 8e00da57bfdc..d647efc6018a 100644
--- a/include/cppuhelper/compbase.hxx
+++ b/include/cppuhelper/compbase.hxx
@@ -73,16 +73,16 @@ class SAL_NO_VTABLE SAL_DLLPUBLIC_TEMPLATE PartialWeakComponentImplHelper:
{};
public:
- PartialWeakComponentImplHelper(osl::Mutex & mutex) throw ():
+ PartialWeakComponentImplHelper(osl::Mutex & mutex) SAL_NOEXCEPT:
WeakComponentImplHelperBase(mutex) {}
css::uno::Any SAL_CALL queryInterface(css::uno::Type const & aType) SAL_OVERRIDE
{ return WeakComponentImplHelper_query(aType, cd::get(), this, this); }
- void SAL_CALL acquire() throw () SAL_OVERRIDE
+ void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- void SAL_CALL release() throw () SAL_OVERRIDE
+ void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
void SAL_CALL dispose()
@@ -112,7 +112,7 @@ class SAL_NO_VTABLE SAL_DLLPUBLIC_TEMPLATE WeakComponentImplHelper:
public PartialWeakComponentImplHelper<Ifc...>
{
public:
- WeakComponentImplHelper(osl::Mutex & mutex) throw ():
+ WeakComponentImplHelper(osl::Mutex & mutex) SAL_NOEXCEPT:
PartialWeakComponentImplHelper<Ifc...>(mutex) {}
void SAL_CALL addEventListener(
diff --git a/include/cppuhelper/compbase12.hxx b/include/cppuhelper/compbase12.hxx
index 99bc704b2f53..c5dd62158d5e 100644
--- a/include/cppuhelper/compbase12.hxx
+++ b/include/cppuhelper/compbase12.hxx
@@ -51,14 +51,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData12< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, WeakComponentImplHelper12<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12> > > {};
public:
- WeakComponentImplHelper12( ::osl::Mutex & rMutex ) throw ()
+ WeakComponentImplHelper12( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual void SAL_CALL dispose() SAL_OVERRIDE
{ WeakComponentImplHelperBase::dispose(); }
@@ -89,14 +89,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData12< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, PartialWeakComponentImplHelper12<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12> > > {};
public:
- PartialWeakComponentImplHelper12( ::osl::Mutex & rMutex ) throw ()
+ PartialWeakComponentImplHelper12( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakComponentImplHelper_getTypes( cd::get() ); }
@@ -129,16 +129,16 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData12< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, WeakAggComponentImplHelper12<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12> > > {};
public:
- WeakAggComponentImplHelper12( ::osl::Mutex & rMutex ) throw ()
+ WeakAggComponentImplHelper12( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakAggComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelperBase::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelper_queryAgg( rType, cd::get(), this, static_cast<WeakAggComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggComponentImplHelper_getTypes( cd::get() ); }
diff --git a/include/cppuhelper/compbase2.hxx b/include/cppuhelper/compbase2.hxx
index a417f76ba398..ed74588f694b 100644
--- a/include/cppuhelper/compbase2.hxx
+++ b/include/cppuhelper/compbase2.hxx
@@ -51,14 +51,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData2 < Ifc1, Ifc2, WeakComponentImplHelper2<Ifc1, Ifc2> > > {};
public:
- WeakComponentImplHelper2( ::osl::Mutex & rMutex ) throw ()
+ WeakComponentImplHelper2( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual void SAL_CALL dispose() SAL_OVERRIDE
{ WeakComponentImplHelperBase::dispose(); }
@@ -89,14 +89,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData2 < Ifc1, Ifc2, PartialWeakComponentImplHelper2<Ifc1, Ifc2> > > {};
public:
- PartialWeakComponentImplHelper2( ::osl::Mutex & rMutex ) throw ()
+ PartialWeakComponentImplHelper2( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakComponentImplHelper_getTypes( cd::get() ); }
@@ -130,16 +130,16 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData2 < Ifc1, Ifc2, WeakAggComponentImplHelper2<Ifc1, Ifc2> > > {};
public:
- WeakAggComponentImplHelper2( ::osl::Mutex & rMutex ) throw ()
+ WeakAggComponentImplHelper2( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakAggComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelperBase::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelper_queryAgg( rType, cd::get(), this, static_cast<WeakAggComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggComponentImplHelper_getTypes( cd::get() ); }
diff --git a/include/cppuhelper/compbase3.hxx b/include/cppuhelper/compbase3.hxx
index 997da6ee6ee0..10681422bcd1 100644
--- a/include/cppuhelper/compbase3.hxx
+++ b/include/cppuhelper/compbase3.hxx
@@ -51,14 +51,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData3 < Ifc1, Ifc2, Ifc3, WeakComponentImplHelper3<Ifc1, Ifc2, Ifc3> > > {};
public:
- WeakComponentImplHelper3( ::osl::Mutex & rMutex ) throw ()
+ WeakComponentImplHelper3( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual void SAL_CALL dispose() SAL_OVERRIDE
{ WeakComponentImplHelperBase::dispose(); }
@@ -89,14 +89,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData3 < Ifc1, Ifc2, Ifc3, PartialWeakComponentImplHelper3<Ifc1, Ifc2, Ifc3> > > {};
public:
- PartialWeakComponentImplHelper3( ::osl::Mutex & rMutex ) throw ()
+ PartialWeakComponentImplHelper3( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakComponentImplHelper_getTypes( cd::get() ); }
@@ -129,16 +129,16 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData3 < Ifc1, Ifc2, Ifc3, WeakAggComponentImplHelper3<Ifc1, Ifc2, Ifc3> > > {};
public:
- WeakAggComponentImplHelper3( ::osl::Mutex & rMutex ) throw ()
+ WeakAggComponentImplHelper3( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakAggComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelperBase::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelper_queryAgg( rType, cd::get(), this, static_cast<WeakAggComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggComponentImplHelper_getTypes( cd::get() ); }
diff --git a/include/cppuhelper/compbase4.hxx b/include/cppuhelper/compbase4.hxx
index 2482b8499710..04a8cdd88e68 100644
--- a/include/cppuhelper/compbase4.hxx
+++ b/include/cppuhelper/compbase4.hxx
@@ -51,14 +51,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData4 < Ifc1, Ifc2, Ifc3, Ifc4, WeakComponentImplHelper4<Ifc1, Ifc2, Ifc3, Ifc4> > > {};
public:
- WeakComponentImplHelper4( ::osl::Mutex & rMutex ) throw ()
+ WeakComponentImplHelper4( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual void SAL_CALL dispose() SAL_OVERRIDE
{ WeakComponentImplHelperBase::dispose(); }
@@ -89,14 +89,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData4 < Ifc1, Ifc2, Ifc3, Ifc4, PartialWeakComponentImplHelper4<Ifc1, Ifc2, Ifc3, Ifc4> > > {};
public:
- PartialWeakComponentImplHelper4( ::osl::Mutex & rMutex ) throw ()
+ PartialWeakComponentImplHelper4( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakComponentImplHelper_getTypes( cd::get() ); }
@@ -129,16 +129,16 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData4 < Ifc1, Ifc2, Ifc3, Ifc4, WeakAggComponentImplHelper4<Ifc1, Ifc2, Ifc3, Ifc4> > > {};
public:
- WeakAggComponentImplHelper4( ::osl::Mutex & rMutex ) throw ()
+ WeakAggComponentImplHelper4( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakAggComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelperBase::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelper_queryAgg( rType, cd::get(), this, static_cast<WeakAggComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggComponentImplHelper_getTypes( cd::get() ); }
diff --git a/include/cppuhelper/compbase5.hxx b/include/cppuhelper/compbase5.hxx
index f11dd1b7340d..f48a2f21e681 100644
--- a/include/cppuhelper/compbase5.hxx
+++ b/include/cppuhelper/compbase5.hxx
@@ -51,14 +51,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData5 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, WeakComponentImplHelper5<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5> > > {};
public:
- WeakComponentImplHelper5( ::osl::Mutex & rMutex ) throw ()
+ WeakComponentImplHelper5( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual void SAL_CALL dispose() SAL_OVERRIDE
{ WeakComponentImplHelperBase::dispose(); }
@@ -89,14 +89,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData5 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, PartialWeakComponentImplHelper5<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5> > > {};
public:
- PartialWeakComponentImplHelper5( ::osl::Mutex & rMutex ) throw ()
+ PartialWeakComponentImplHelper5( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakComponentImplHelper_getTypes( cd::get() ); }
@@ -129,16 +129,16 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData5 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, WeakAggComponentImplHelper5<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5> > > {};
public:
- WeakAggComponentImplHelper5( ::osl::Mutex & rMutex ) throw ()
+ WeakAggComponentImplHelper5( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakAggComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelperBase::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelper_queryAgg( rType, cd::get(), this, static_cast<WeakAggComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggComponentImplHelper_getTypes( cd::get() ); }
diff --git a/include/cppuhelper/compbase6.hxx b/include/cppuhelper/compbase6.hxx
index 79f95d016975..971a1e4c5663 100644
--- a/include/cppuhelper/compbase6.hxx
+++ b/include/cppuhelper/compbase6.hxx
@@ -51,14 +51,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, WeakComponentImplHelper6<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {};
public:
- WeakComponentImplHelper6( ::osl::Mutex & rMutex ) throw ()
+ WeakComponentImplHelper6( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual void SAL_CALL dispose() SAL_OVERRIDE
{ WeakComponentImplHelperBase::dispose(); }
@@ -89,14 +89,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, PartialWeakComponentImplHelper6<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {};
public:
- PartialWeakComponentImplHelper6( ::osl::Mutex & rMutex ) throw ()
+ PartialWeakComponentImplHelper6( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakComponentImplHelper_getTypes( cd::get() ); }
@@ -129,16 +129,16 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, WeakAggComponentImplHelper6<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {};
public:
- WeakAggComponentImplHelper6( ::osl::Mutex & rMutex ) throw ()
+ WeakAggComponentImplHelper6( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakAggComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelperBase::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelper_queryAgg( rType, cd::get(), this, static_cast<WeakAggComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggComponentImplHelper_getTypes( cd::get() ); }
diff --git a/include/cppuhelper/compbase7.hxx b/include/cppuhelper/compbase7.hxx
index d2432391fa5f..c6176e185487 100644
--- a/include/cppuhelper/compbase7.hxx
+++ b/include/cppuhelper/compbase7.hxx
@@ -51,14 +51,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, WeakComponentImplHelper7<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
public:
- WeakComponentImplHelper7( ::osl::Mutex & rMutex ) throw ()
+ WeakComponentImplHelper7( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual void SAL_CALL dispose() SAL_OVERRIDE
{ WeakComponentImplHelperBase::dispose(); }
@@ -89,14 +89,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, PartialWeakComponentImplHelper7<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
public:
- PartialWeakComponentImplHelper7( ::osl::Mutex & rMutex ) throw ()
+ PartialWeakComponentImplHelper7( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakComponentImplHelper_getTypes( cd::get() ); }
@@ -129,16 +129,16 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, WeakAggComponentImplHelper7<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
public:
- WeakAggComponentImplHelper7( ::osl::Mutex & rMutex ) throw ()
+ WeakAggComponentImplHelper7( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakAggComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelperBase::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelper_queryAgg( rType, cd::get(), this, static_cast<WeakAggComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggComponentImplHelper_getTypes( cd::get() ); }
diff --git a/include/cppuhelper/compbase8.hxx b/include/cppuhelper/compbase8.hxx
index 5cb239746569..c70e26f7f5c9 100644
--- a/include/cppuhelper/compbase8.hxx
+++ b/include/cppuhelper/compbase8.hxx
@@ -51,14 +51,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData8< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, WeakComponentImplHelper8<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8> > > {};
public:
- WeakComponentImplHelper8( ::osl::Mutex & rMutex ) throw ()
+ WeakComponentImplHelper8( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual void SAL_CALL dispose() SAL_OVERRIDE
{ WeakComponentImplHelperBase::dispose(); }
@@ -89,14 +89,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData8< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, PartialWeakComponentImplHelper8<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8> > > {};
public:
- PartialWeakComponentImplHelper8( ::osl::Mutex & rMutex ) throw ()
+ PartialWeakComponentImplHelper8( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakComponentImplHelper_getTypes( cd::get() ); }
@@ -129,16 +129,16 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData8< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, WeakAggComponentImplHelper8<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8> > > {};
public:
- WeakAggComponentImplHelper8( ::osl::Mutex & rMutex ) throw ()
+ WeakAggComponentImplHelper8( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakAggComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelperBase::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelper_queryAgg( rType, cd::get(), this, static_cast<WeakAggComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggComponentImplHelper_getTypes( cd::get() ); }
diff --git a/include/cppuhelper/compbase9.hxx b/include/cppuhelper/compbase9.hxx
index 791611d2bb06..e1f28d53686b 100644
--- a/include/cppuhelper/compbase9.hxx
+++ b/include/cppuhelper/compbase9.hxx
@@ -51,14 +51,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData9< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, WeakComponentImplHelper9<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9> > > {};
public:
- WeakComponentImplHelper9( ::osl::Mutex & rMutex ) throw ()
+ WeakComponentImplHelper9( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual void SAL_CALL dispose() SAL_OVERRIDE
{ WeakComponentImplHelperBase::dispose(); }
@@ -89,14 +89,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData9< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, PartialWeakComponentImplHelper9<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9> > > {};
public:
- PartialWeakComponentImplHelper9( ::osl::Mutex & rMutex ) throw ()
+ PartialWeakComponentImplHelper9( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakComponentImplHelper_getTypes( cd::get() ); }
@@ -128,16 +128,16 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData9< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, WeakAggComponentImplHelper9<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9> > > {};
public:
- WeakAggComponentImplHelper9( ::osl::Mutex & rMutex ) throw ()
+ WeakAggComponentImplHelper9( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakAggComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelperBase::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelper_queryAgg( rType, cd::get(), this, static_cast<WeakAggComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggComponentImplHelper_getTypes( cd::get() ); }
diff --git a/include/cppuhelper/compbase_ex.hxx b/include/cppuhelper/compbase_ex.hxx
index ee22613e56ea..3976c3afbb57 100644
--- a/include/cppuhelper/compbase_ex.hxx
+++ b/include/cppuhelper/compbase_ex.hxx
@@ -76,9 +76,9 @@ public:
virtual css::uno::Any SAL_CALL queryInterface(
css::uno::Type const & rType ) SAL_OVERRIDE;
virtual void SAL_CALL acquire()
- throw () SAL_OVERRIDE;
+ SAL_NOEXCEPT SAL_OVERRIDE;
virtual void SAL_CALL release()
- throw () SAL_OVERRIDE;
+ SAL_NOEXCEPT SAL_OVERRIDE;
virtual void SAL_CALL dispose() SAL_OVERRIDE;
virtual void SAL_CALL addEventListener(
css::uno::Reference< css::lang::XEventListener > const & xListener ) SAL_OVERRIDE;
@@ -119,9 +119,9 @@ public:
virtual css::uno::Any SAL_CALL queryAggregation(
css::uno::Type const & rType ) SAL_OVERRIDE;
virtual void SAL_CALL acquire()
- throw () SAL_OVERRIDE;
+ SAL_NOEXCEPT SAL_OVERRIDE;
virtual void SAL_CALL release()
- throw () SAL_OVERRIDE;
+ SAL_NOEXCEPT SAL_OVERRIDE;
virtual void SAL_CALL dispose() SAL_OVERRIDE;
virtual void SAL_CALL addEventListener(
css::uno::Reference< css::lang::XEventListener > const & xListener ) SAL_OVERRIDE;
diff --git a/include/cppuhelper/component.hxx b/include/cppuhelper/component.hxx
index 02c9baf3d834..e59e1b9d450a 100644
--- a/include/cppuhelper/component.hxx
+++ b/include/cppuhelper/component.hxx
@@ -68,9 +68,9 @@ public:
virtual css::uno::Any SAL_CALL queryAggregation(
css::uno::Type const & rType ) SAL_OVERRIDE;
virtual void SAL_CALL acquire()
- throw () SAL_OVERRIDE;
+ SAL_NOEXCEPT SAL_OVERRIDE;
virtual void SAL_CALL release()
- throw () SAL_OVERRIDE;
+ SAL_NOEXCEPT SAL_OVERRIDE;
/** @attention
XTypeProvider::getImplementationId() has to be implemented separately!
diff --git a/include/cppuhelper/implbase.hxx b/include/cppuhelper/implbase.hxx
index 95c2b0fc74f6..f2f08650ea1c 100644
--- a/include/cppuhelper/implbase.hxx
+++ b/include/cppuhelper/implbase.hxx
@@ -110,9 +110,9 @@ public:
css::uno::Any SAL_CALL queryInterface(css::uno::Type const & aType) override
{ return WeakImplHelper_query(aType, cd::get(), this, this); }
- void SAL_CALL acquire() throw () override { OWeakObject::acquire(); }
+ void SAL_CALL acquire() SAL_NOEXCEPT override { OWeakObject::acquire(); }
- void SAL_CALL release() throw () override { OWeakObject::release(); }
+ void SAL_CALL release() SAL_NOEXCEPT override { OWeakObject::release(); }
css::uno::Sequence<css::uno::Type> SAL_CALL getTypes() override
{ return WeakImplHelper_getTypes(cd::get()); }
@@ -166,9 +166,9 @@ public:
return ret.hasValue() ? ret : BaseClass::queryInterface(aType);
}
- void SAL_CALL acquire() throw () override { BaseClass::acquire(); }
+ void SAL_CALL acquire() SAL_NOEXCEPT override { BaseClass::acquire(); }
- void SAL_CALL release() throw () override { BaseClass::release(); }
+ void SAL_CALL release() SAL_NOEXCEPT override { BaseClass::release(); }
css::uno::Sequence<css::uno::Type> SAL_CALL getTypes() override
{ return ImplInhHelper_getTypes(cd::get(), BaseClass::getTypes()); }
diff --git a/include/cppuhelper/implbase1.hxx b/include/cppuhelper/implbase1.hxx
index f8be6a9e9722..dc82a730886a 100644
--- a/include/cppuhelper/implbase1.hxx
+++ b/include/cppuhelper/implbase1.hxx
@@ -97,7 +97,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper1() throw () {}
+ ~ImplHelper1() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -124,9 +124,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -158,9 +158,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -225,9 +225,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -295,9 +295,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
diff --git a/include/cppuhelper/implbase10.hxx b/include/cppuhelper/implbase10.hxx
index b4685b23df63..e3938563dce8 100644
--- a/include/cppuhelper/implbase10.hxx
+++ b/include/cppuhelper/implbase10.hxx
@@ -107,7 +107,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper10() throw () {}
+ ~ImplHelper10() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -130,9 +130,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -164,9 +164,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -231,9 +231,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -301,9 +301,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
diff --git a/include/cppuhelper/implbase12.hxx b/include/cppuhelper/implbase12.hxx
index 1bef4b22a31b..df90f2b645fe 100644
--- a/include/cppuhelper/implbase12.hxx
+++ b/include/cppuhelper/implbase12.hxx
@@ -109,7 +109,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper12() throw () {}
+ ~ImplHelper12() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -132,9 +132,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -166,9 +166,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -233,9 +233,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -303,9 +303,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
diff --git a/include/cppuhelper/implbase13.hxx b/include/cppuhelper/implbase13.hxx
index 77bd5357f2c3..5ed1245976bf 100644
--- a/include/cppuhelper/implbase13.hxx
+++ b/include/cppuhelper/implbase13.hxx
@@ -110,7 +110,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper13() throw () {}
+ ~ImplHelper13() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -133,9 +133,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -167,9 +167,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -234,9 +234,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -304,9 +304,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
diff --git a/include/cppuhelper/implbase2.hxx b/include/cppuhelper/implbase2.hxx
index 8ef067862c22..d6b326122ec5 100644
--- a/include/cppuhelper/implbase2.hxx
+++ b/include/cppuhelper/implbase2.hxx
@@ -98,7 +98,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper2() throw () {}
+ ~ImplHelper2() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -121,9 +121,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -155,9 +155,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -222,9 +222,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -292,9 +292,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
diff --git a/include/cppuhelper/implbase3.hxx b/include/cppuhelper/implbase3.hxx
index 3c72339f6389..7c95ef596daa 100644
--- a/include/cppuhelper/implbase3.hxx
+++ b/include/cppuhelper/implbase3.hxx
@@ -99,7 +99,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper3() throw () {}
+ ~ImplHelper3() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -122,9 +122,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -156,9 +156,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -224,9 +224,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -294,9 +294,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
diff --git a/include/cppuhelper/implbase4.hxx b/include/cppuhelper/implbase4.hxx
index a4b62bd50660..61bce672200e 100644
--- a/include/cppuhelper/implbase4.hxx
+++ b/include/cppuhelper/implbase4.hxx
@@ -101,7 +101,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper4() throw () {}
+ ~ImplHelper4() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -124,9 +124,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -158,9 +158,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -225,9 +225,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -295,9 +295,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
diff --git a/include/cppuhelper/implbase5.hxx b/include/cppuhelper/implbase5.hxx
index 3724aa2c8684..993c71a174c0 100644
--- a/include/cppuhelper/implbase5.hxx
+++ b/include/cppuhelper/implbase5.hxx
@@ -102,7 +102,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper5() throw () {}
+ ~ImplHelper5() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -125,9 +125,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -159,9 +159,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -226,9 +226,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -296,9 +296,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
diff --git a/include/cppuhelper/implbase6.hxx b/include/cppuhelper/implbase6.hxx
index c87d9184b1e4..8adb7549d3de 100644
--- a/include/cppuhelper/implbase6.hxx
+++ b/include/cppuhelper/implbase6.hxx
@@ -103,7 +103,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper6() throw () {}
+ ~ImplHelper6() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -126,9 +126,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -160,9 +160,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -227,9 +227,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -297,9 +297,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
diff --git a/include/cppuhelper/implbase7.hxx b/include/cppuhelper/implbase7.hxx
index d2a6bd93c944..305c94d4ba60 100644
--- a/include/cppuhelper/implbase7.hxx
+++ b/include/cppuhelper/implbase7.hxx
@@ -104,7 +104,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper7() throw () {}
+ ~ImplHelper7() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -127,9 +127,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -161,9 +161,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -228,9 +228,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -298,9 +298,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
diff --git a/include/cppuhelper/implbase8.hxx b/include/cppuhelper/implbase8.hxx
index 962db775ccfa..a0903f1b539d 100644
--- a/include/cppuhelper/implbase8.hxx
+++ b/include/cppuhelper/implbase8.hxx
@@ -105,7 +105,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper8() throw () {}
+ ~ImplHelper8() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -128,9 +128,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -162,9 +162,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -229,9 +229,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -299,9 +299,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
diff --git a/include/cppuhelper/implbase9.hxx b/include/cppuhelper/implbase9.hxx
index 5bf0fab14053..75840ec8045b 100644
--- a/include/cppuhelper/implbase9.hxx
+++ b/include/cppuhelper/implbase9.hxx
@@ -106,7 +106,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper9() throw () {}
+ ~ImplHelper9() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -129,9 +129,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -163,9 +163,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -230,9 +230,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -300,9 +300,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
diff --git a/include/cppuhelper/weak.hxx b/include/cppuhelper/weak.hxx
index f72484253033..ef9ed7ffa807 100644
--- a/include/cppuhelper/weak.hxx
+++ b/include/cppuhelper/weak.hxx
@@ -135,11 +135,11 @@ public:
/** increasing m_refCount
*/
virtual void SAL_CALL acquire()
- throw () SAL_OVERRIDE;
+ SAL_NOEXCEPT SAL_OVERRIDE;
/** decreasing m_refCount
*/
virtual void SAL_CALL release()
- throw () SAL_OVERRIDE;
+ SAL_NOEXCEPT SAL_OVERRIDE;
/** XWeak::queryAdapter() implementation
diff --git a/include/cppuhelper/weakagg.hxx b/include/cppuhelper/weakagg.hxx
index e44dba554d46..0b770a42842b 100644
--- a/include/cppuhelper/weakagg.hxx
+++ b/include/cppuhelper/weakagg.hxx
@@ -55,11 +55,11 @@ public:
/** If a delegator is set, then the delegators gets acquired. Otherwise call is delegated to
base class ::cppu::OWeakObject.
*/
- virtual void SAL_CALL acquire() throw() SAL_OVERRIDE;
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE;
/** If a delegator is set, then the delegators gets released. Otherwise call is delegated to
base class ::cppu::OWeakObject.
*/
- virtual void SAL_CALL release() throw() SAL_OVERRIDE;
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE;
/** If a delegator is set, then the delegator is queried for the demanded interface. If the
delegator cannot provide the demanded interface, it calls queryAggregation() on its
aggregated objects.
diff --git a/include/dbaccess/IController.hxx b/include/dbaccess/IController.hxx
index fd1b2df8b485..c7374eb80a14 100644
--- a/include/dbaccess/IController.hxx
+++ b/include/dbaccess/IController.hxx
@@ -108,8 +108,8 @@ namespace dbaui
*/
virtual bool interceptUserInput( const NotifyEvent& _rEvent ) = 0;
- virtual void SAL_CALL acquire( ) throw () = 0;
- virtual void SAL_CALL release( ) throw () = 0;
+ virtual void SAL_CALL acquire( ) noexcept = 0;
+ virtual void SAL_CALL release( ) noexcept = 0;
protected:
~IController() {}
diff --git a/include/dbaccess/dbaundomanager.hxx b/include/dbaccess/dbaundomanager.hxx
index f6f75c063cc5..364b91d6c79a 100644
--- a/include/dbaccess/dbaundomanager.hxx
+++ b/include/dbaccess/dbaundomanager.hxx
@@ -64,8 +64,8 @@ namespace dbaui
SfxUndoManager& GetSfxUndoManager() const;
// XInterface
- virtual void SAL_CALL acquire( ) throw () override;
- virtual void SAL_CALL release( ) throw () override;
+ virtual void SAL_CALL acquire( ) noexcept override;
+ virtual void SAL_CALL release( ) noexcept override;
// XComponent equivalents
void disposing();
diff --git a/include/dbaccess/genericcontroller.hxx b/include/dbaccess/genericcontroller.hxx
index 4ce04f913381..b38e51aea5ff 100644
--- a/include/dbaccess/genericcontroller.hxx
+++ b/include/dbaccess/genericcontroller.hxx
@@ -429,8 +429,8 @@ namespace dbaui
virtual void SAL_CALL modified(const css::lang::EventObject& aEvent) override;
// XInterface
- virtual void SAL_CALL acquire( ) throw () override;
- virtual void SAL_CALL release( ) throw () override;
+ virtual void SAL_CALL acquire( ) noexcept override;
+ virtual void SAL_CALL release( ) noexcept override;
// css::frame::XController2
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL getComponentWindow() override;
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index 870719fb89ce..08ebce36e2da 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -374,7 +374,7 @@ public:
virtual vcl::Window* GetEditWindowForActiveOLEObj() const = 0;
protected:
- ~OutlinerViewShell() throw () {}
+ ~OutlinerViewShell() noexcept {}
};
// some thesaurus functionality to avoid code duplication in different projects...
diff --git a/include/editeng/unofield.hxx b/include/editeng/unofield.hxx
index 173bb4b11121..3c0d1650f6cc 100644
--- a/include/editeng/unofield.hxx
+++ b/include/editeng/unofield.hxx
@@ -55,21 +55,21 @@ class EDITENG_DLLPUBLIC SvxUnoTextField final : public cppu::BaseMutex,
css::uno::Sequence< css::uno::Type > maTypeSequence;
public:
- SvxUnoTextField( sal_Int32 nServiceId ) throw();
- SvxUnoTextField( css::uno::Reference< css::text::XTextRange > const & xAnchor, const OUString& rPresentation, const SvxFieldData* pFieldData ) throw();
- virtual ~SvxUnoTextField() throw() override;
+ SvxUnoTextField( sal_Int32 nServiceId ) noexcept;
+ SvxUnoTextField( css::uno::Reference< css::text::XTextRange > const & xAnchor, const OUString& rPresentation, const SvxFieldData* pFieldData ) noexcept;
+ virtual ~SvxUnoTextField() noexcept override;
// Internal
- std::unique_ptr<SvxFieldData> CreateFieldData() const throw();
+ std::unique_ptr<SvxFieldData> CreateFieldData() const noexcept;
- static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw();
+ static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId() noexcept;
virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
// css::uno::XInterface
virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) 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 void SAL_CALL acquire() noexcept override;
+ virtual void SAL_CALL release() noexcept override;
// css::lang::XTypeProvider
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
diff --git a/include/editeng/unoipset.hxx b/include/editeng/unoipset.hxx
index e510462b4dc9..10a0030aa75b 100644
--- a/include/editeng/unoipset.hxx
+++ b/include/editeng/unoipset.hxx
@@ -63,10 +63,10 @@ public:
};
/** converts the given any with a metric to 100th/mm if needed */
-EDITENG_DLLPUBLIC void SvxUnoConvertToMM( const MapUnit eSourceMapUnit, css::uno::Any & rMetric ) throw();
+EDITENG_DLLPUBLIC void SvxUnoConvertToMM( const MapUnit eSourceMapUnit, css::uno::Any & rMetric ) noexcept;
/** converts the given any with a metric from 100th/mm to the given metric if needed */
-EDITENG_DLLPUBLIC void SvxUnoConvertFromMM( const MapUnit eDestinationMapUnit, css::uno::Any & rMetric ) throw();
+EDITENG_DLLPUBLIC void SvxUnoConvertFromMM( const MapUnit eDestinationMapUnit, css::uno::Any & rMetric ) noexcept;
#endif // INCLUDED_EDITENG_UNOIPSET_HXX
diff --git a/include/editeng/unonrule.hxx b/include/editeng/unonrule.hxx
index 87d1ed12a656..5b84f31c980f 100644
--- a/include/editeng/unonrule.hxx
+++ b/include/editeng/unonrule.hxx
@@ -36,7 +36,7 @@ EDITENG_DLLPUBLIC css::uno::Reference< css::container::XIndexReplace > SvxCreate
css::uno::Reference< css::container::XIndexReplace > SvxCreateNumRule();
/// @throws css::lang::IllegalArgumentException
const SvxNumRule& SvxGetNumRule( css::uno::Reference< css::container::XIndexReplace > const & xRule );
-EDITENG_DLLPUBLIC css::uno::Reference< css::ucb::XAnyCompare > SvxCreateNumRuleCompare() throw();
+EDITENG_DLLPUBLIC css::uno::Reference< css::ucb::XAnyCompare > SvxCreateNumRuleCompare() noexcept;
class SvxUnoNumberingRules final : public ::cppu::WeakAggImplHelper5< css::container::XIndexReplace, css::ucb::XAnyCompare,
css::lang::XUnoTunnel, css::util::XCloneable, css::lang::XServiceInfo >
@@ -45,7 +45,7 @@ private:
SvxNumRule maRule;
public:
SvxUnoNumberingRules(const SvxNumRule& rRule);
- virtual ~SvxUnoNumberingRules() throw() override;
+ virtual ~SvxUnoNumberingRules() noexcept override;
UNO3_GETIMPLEMENTATION_DECL( SvxUnoNumberingRules )
diff --git a/include/editeng/unotext.hxx b/include/editeng/unotext.hxx
index 069e7e06789d..8a5c31101fe0 100644
--- a/include/editeng/unotext.hxx
+++ b/include/editeng/unotext.hxx
@@ -152,8 +152,8 @@ struct SfxItemPropertySimpleEntry;
class SvxFieldItem;
class SvxFieldData;
-EDITENG_DLLPUBLIC void GetSelection( struct ESelection& rSel, SvxTextForwarder const * pForwarder ) throw();
-EDITENG_DLLPUBLIC void CheckSelection( struct ESelection& rSel, SvxTextForwarder const * pForwarder ) throw();
+EDITENG_DLLPUBLIC void GetSelection( struct ESelection& rSel, SvxTextForwarder const * pForwarder ) noexcept;
+EDITENG_DLLPUBLIC void CheckSelection( struct ESelection& rSel, SvxTextForwarder const * pForwarder ) noexcept;
// This class implements a SvxEditSource and SvxTextForwarder and does
@@ -287,7 +287,7 @@ protected:
/// @throws css::beans::UnknownPropertyException
/// @throws css::uno::RuntimeException
void _setPropertyToDefault( SvxTextForwarder* pForwarder, const SfxItemPropertyMapEntry* pMap, sal_Int32 nPara );
- void SetEditSource( SvxEditSource* _pEditSource ) throw();
+ void SetEditSource( SvxEditSource* _pEditSource ) noexcept;
/// @throws css::beans::UnknownPropertyException
/// @throws css::uno::RuntimeException
@@ -299,35 +299,35 @@ protected:
SvxUnoTextRangeBase(const SvxItemPropertySet* _pSet);
SvxUnoTextRangeBase(const SvxEditSource* pSource, const SvxItemPropertySet* _pSet);
SvxUnoTextRangeBase(const SvxUnoTextRangeBase& rRange);
- virtual ~SvxUnoTextRangeBase() throw();
+ virtual ~SvxUnoTextRangeBase() noexcept;
public:
// Internal
- const ESelection& GetSelection() const throw()
+ const ESelection& GetSelection() const noexcept
{
const SvxTextForwarder* pForwarder = mpEditSource ? mpEditSource->GetTextForwarder() : nullptr;
CheckSelection(const_cast<SvxUnoTextRangeBase*>(this)->maSelection, pForwarder);
return maSelection;
}
- void SetSelection( const ESelection& rSelection ) throw();
+ void SetSelection( const ESelection& rSelection ) noexcept;
- void CollapseToStart() throw();
- void CollapseToEnd() throw();
- bool IsCollapsed() throw();
- bool GoLeft(sal_Int16 nCount, bool Expand) throw();
- bool GoRight(sal_Int16 nCount, bool Expand) throw();
- void GotoStart(bool Expand) throw();
- void GotoEnd(bool Expand) throw();
+ void CollapseToStart() noexcept;
+ void CollapseToEnd() noexcept;
+ bool IsCollapsed() noexcept;
+ bool GoLeft(sal_Int16 nCount, bool Expand) noexcept;
+ bool GoRight(sal_Int16 nCount, bool Expand) noexcept;
+ void GotoStart(bool Expand) noexcept;
+ void GotoEnd(bool Expand) noexcept;
//const SfxItemPropertyMapEntry* getPropertyMapEntries() const throw() { return maPropSet.getPropertyMapEntries(); }
- const SvxItemPropertySet* getPropertySet() const throw() { return mpPropSet; }
- SvxEditSource* GetEditSource() const throw() { return mpEditSource.get(); }
+ const SvxItemPropertySet* getPropertySet() const noexcept { return mpPropSet; }
+ SvxEditSource* GetEditSource() const noexcept { return mpEditSource.get(); }
static bool SetPropertyValueHelper( const SfxItemPropertyMapEntry* pMap, const css::uno::Any& aValue, SfxItemSet& rNewSet, const ESelection* pSelection = nullptr, SvxEditSource* pEditSource = nullptr );
/// @throws css::uno::RuntimeException
static bool GetPropertyValueHelper( SfxItemSet const & rSet, const SfxItemPropertyMapEntry* pMap, css::uno::Any& aAny, const ESelection* pSelection = nullptr, SvxEditSource* pEditSource = nullptr );
- void attachField( std::unique_ptr<SvxFieldData> pData ) throw();
+ void attachField( std::unique_ptr<SvxFieldData> pData ) noexcept;
UNO3_GETIMPLEMENTATION_DECL( SvxUnoTextRangeBase )
@@ -388,13 +388,13 @@ private:
public:
SvxUnoTextRange(const SvxUnoTextBase& rParent, bool bPortion = false);
- virtual ~SvxUnoTextRange() throw() override;
+ virtual ~SvxUnoTextRange() noexcept override;
// css::uno::XInterface
virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) 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 void SAL_CALL acquire() noexcept override;
+ virtual void SAL_CALL release() noexcept override;
// css::text::XTextRange
virtual css::uno::Reference< css::text::XText > SAL_CALL getText() override;
@@ -420,7 +420,7 @@ protected:
SvxUnoTextBase(const SvxItemPropertySet* _pSet);
SvxUnoTextBase(const SvxEditSource* pSource, const SvxItemPropertySet* _pSet, css::uno::Reference < css::text::XText > const & xParent);
SvxUnoTextBase(const SvxUnoTextBase& rText);
- virtual ~SvxUnoTextBase() throw() override;
+ virtual ~SvxUnoTextBase() noexcept override;
public:
UNO3_GETIMPLEMENTATION_DECL( SvxUnoTextBase )
@@ -485,20 +485,20 @@ class EDITENG_DLLPUBLIC SvxUnoText : public SvxUnoTextBase,
public ::cppu::OWeakAggObject
{
public:
- SvxUnoText( const SvxItemPropertySet* _pSet ) throw();
- SvxUnoText( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet, css::uno::Reference < css::text::XText > const & xParent ) throw();
- SvxUnoText( const SvxUnoText& rText ) throw();
- virtual ~SvxUnoText() throw() override;
+ SvxUnoText( const SvxItemPropertySet* _pSet ) noexcept;
+ SvxUnoText( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet, css::uno::Reference < css::text::XText > const & xParent ) noexcept;
+ SvxUnoText( const SvxUnoText& rText ) noexcept;
+ virtual ~SvxUnoText() noexcept override;
// Internal
- static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw();
+ static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId() noexcept;
virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
// css::uno::XInterface
virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) 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 void SAL_CALL acquire() noexcept override;
+ virtual void SAL_CALL release() noexcept override;
// css::lang::XTypeProvider
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
@@ -528,15 +528,15 @@ protected:
using SvxUnoTextRangeBase::getPropertyValue;
public:
- SvxUnoTextContent( const SvxUnoTextBase& rText, sal_Int32 nPara ) throw();
- SvxUnoTextContent( const SvxUnoTextContent& rContent ) throw();
- virtual ~SvxUnoTextContent() throw() override;
+ SvxUnoTextContent( const SvxUnoTextBase& rText, sal_Int32 nPara ) noexcept;
+ SvxUnoTextContent( const SvxUnoTextContent& rContent ) noexcept;
+ virtual ~SvxUnoTextContent() noexcept override;
// css::uno::XInterface
virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) 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 void SAL_CALL acquire() noexcept override;
+ virtual void SAL_CALL release() noexcept override;
// css::text::XTextRange
virtual css::uno::Reference< css::text::XText > SAL_CALL getText( ) override;
@@ -589,8 +589,8 @@ private:
std::vector< rtl::Reference<SvxUnoTextContent> > maContents;
public:
- SvxUnoTextContentEnumeration( const SvxUnoTextBase& _rText, const ESelection& rSel ) throw();
- virtual ~SvxUnoTextContentEnumeration() throw() override;
+ SvxUnoTextContentEnumeration( const SvxUnoTextBase& _rText, const ESelection& rSel ) noexcept;
+ virtual ~SvxUnoTextContentEnumeration() noexcept override;
// css::container::XEnumeration
virtual sal_Bool SAL_CALL hasMoreElements( ) override;
@@ -608,7 +608,7 @@ private:
public:
SvxUnoTextRangeEnumeration(const SvxUnoTextBase& rText, sal_Int32 nPara, const ESelection& rSel);
- virtual ~SvxUnoTextRangeEnumeration() throw() override;
+ virtual ~SvxUnoTextRangeEnumeration() noexcept override;
// css::container::XEnumeration
virtual sal_Bool SAL_CALL hasMoreElements( ) override;
@@ -625,15 +625,15 @@ private:
css::uno::Reference< css::text::XText > mxParentText;
public:
- SvxUnoTextCursor( const SvxUnoTextBase& rText ) throw();
- SvxUnoTextCursor( const SvxUnoTextCursor& rCursor ) throw();
- virtual ~SvxUnoTextCursor() throw() override;
+ SvxUnoTextCursor( const SvxUnoTextBase& rText ) noexcept;
+ SvxUnoTextCursor( const SvxUnoTextCursor& rCursor ) noexcept;
+ virtual ~SvxUnoTextCursor() noexcept override;
// css::uno::XInterface
virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) 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 void SAL_CALL acquire() noexcept override;
+ virtual void SAL_CALL release() noexcept override;
// css::text::XTextRange
virtual css::uno::Reference< css::text::XText > SAL_CALL getText() override;
diff --git a/include/framework/desktop.hxx b/include/framework/desktop.hxx
index 3bc6a08edea2..254a1520bb3e 100644
--- a/include/framework/desktop.hxx
+++ b/include/framework/desktop.hxx
@@ -122,9 +122,9 @@ class FWK_DLLPUBLIC Desktop final : private cppu::BaseMutex,
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
// XInterface
- virtual void SAL_CALL acquire() throw () override
+ virtual void SAL_CALL acquire() noexcept override
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () override
+ virtual void SAL_CALL release() noexcept override
{ OWeakObject::release(); }
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& type) override;
diff --git a/include/oox/core/contexthandler2.hxx b/include/oox/core/contexthandler2.hxx
index 13b732dec7e5..4e256089ac8e 100644
--- a/include/oox/core/contexthandler2.hxx
+++ b/include/oox/core/contexthandler2.hxx
@@ -77,8 +77,8 @@ public:
virtual ~ContextHandler2Helper();
// allow instances to be stored in ::rtl::Reference
- virtual void SAL_CALL acquire() throw() = 0;
- virtual void SAL_CALL release() throw() = 0;
+ virtual void SAL_CALL acquire() noexcept = 0;
+ virtual void SAL_CALL release() noexcept = 0;
// interface --------------------------------------------------------------
@@ -231,8 +231,8 @@ public:
ContextHandler2 & operator =(ContextHandler2 &&) = delete; // due to ContextHandler
// resolve ambiguity from base classes
- virtual void SAL_CALL acquire() throw() override { ContextHandler::acquire(); }
- virtual void SAL_CALL release() throw() override { ContextHandler::release(); }
+ virtual void SAL_CALL acquire() noexcept override { ContextHandler::acquire(); }
+ virtual void SAL_CALL release() noexcept override { ContextHandler::release(); }
// com.sun.star.xml.sax.XFastContextHandler interface ---------------------
diff --git a/include/oox/core/fragmenthandler2.hxx b/include/oox/core/fragmenthandler2.hxx
index d5d449847c17..86d1453f13a1 100644
--- a/include/oox/core/fragmenthandler2.hxx
+++ b/include/oox/core/fragmenthandler2.hxx
@@ -71,8 +71,8 @@ public:
FragmentHandler2 & operator =(FragmentHandler2 &&) = delete; // due to FragmentHandler
// resolve ambiguity from base classes
- virtual void SAL_CALL acquire() throw() override { FragmentHandler::acquire(); }
- virtual void SAL_CALL release() throw() override { FragmentHandler::release(); }
+ virtual void SAL_CALL acquire() noexcept override { FragmentHandler::acquire(); }
+ virtual void SAL_CALL release() noexcept override { FragmentHandler::release(); }
// com.sun.star.xml.sax.XFastContextHandler interface ---------------------
diff --git a/include/oox/ppt/pptimport.hxx b/include/oox/ppt/pptimport.hxx
index e96f04b70374..eafb114b47fd 100644
--- a/include/oox/ppt/pptimport.hxx
+++ b/include/oox/ppt/pptimport.hxx
@@ -59,7 +59,7 @@ public:
// from FilterBase
virtual bool importDocument() override;
- virtual bool exportDocument() throw() override;
+ virtual bool exportDocument() noexcept override;
virtual const ::oox::drawingml::Theme* getCurrentTheme() const override;
virtual ::oox::vml::Drawing* getVmlDrawing() override;
diff --git a/include/oox/ppt/presentationfragmenthandler.hxx b/include/oox/ppt/presentationfragmenthandler.hxx
index 4ec27efe28bf..bc68b738b5dd 100644
--- a/include/oox/ppt/presentationfragmenthandler.hxx
+++ b/include/oox/ppt/presentationfragmenthandler.hxx
@@ -42,7 +42,7 @@ class PresentationFragmentHandler final : public ::oox::core::FragmentHandler2
{
public:
PresentationFragmentHandler(::oox::core::XmlFilterBase& rFilter, const OUString& rFragmentPath);
- virtual ~PresentationFragmentHandler() throw() override;
+ virtual ~PresentationFragmentHandler() noexcept override;
virtual void finalizeImport() override;
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) override;
diff --git a/include/oox/ppt/slidetimingcontext.hxx b/include/oox/ppt/slidetimingcontext.hxx
index 6b32b2e23c9a..7b147ab85610 100644
--- a/include/oox/ppt/slidetimingcontext.hxx
+++ b/include/oox/ppt/slidetimingcontext.hxx
@@ -32,8 +32,8 @@ namespace oox::ppt {
class SlideTimingContext final : public ::oox::core::FragmentHandler2
{
public:
- SlideTimingContext( ::oox::core::FragmentHandler2 const & rParent, TimeNodePtrList & aTimeNodeList ) throw();
- virtual ~SlideTimingContext() throw() override;
+ SlideTimingContext( ::oox::core::FragmentHandler2 const & rParent, TimeNodePtrList & aTimeNodeList ) noexcept;
+ virtual ~SlideTimingContext() noexcept override;
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) override;
diff --git a/include/oox/ppt/slidetransitioncontext.hxx b/include/oox/ppt/slidetransitioncontext.hxx
index 1c0755ab171b..f28b763c6b0d 100644
--- a/include/oox/ppt/slidetransitioncontext.hxx
+++ b/include/oox/ppt/slidetransitioncontext.hxx
@@ -37,8 +37,8 @@ namespace oox::ppt {
public:
SlideTransitionContext( ::oox::core::FragmentHandler2 const & rParent,
const AttributeList& rAttributes,
- PropertyMap & aProperties ) throw();
- virtual ~SlideTransitionContext() throw() override;
+ PropertyMap & aProperties ) noexcept;
+ virtual ~SlideTransitionContext() noexcept override;
virtual void onEndElement() override;
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) override;
diff --git a/include/oox/ppt/soundactioncontext.hxx b/include/oox/ppt/soundactioncontext.hxx
index 81e7e81510b1..4bf66a5f713d 100644
--- a/include/oox/ppt/soundactioncontext.hxx
+++ b/include/oox/ppt/soundactioncontext.hxx
@@ -36,8 +36,8 @@ namespace oox::ppt {
class SoundActionContext final : public ::oox::core::FragmentHandler2
{
public:
- SoundActionContext( ::oox::core::FragmentHandler2 const & rParent, PropertyMap & aProperties ) throw();
- virtual ~SoundActionContext() throw() override;
+ SoundActionContext( ::oox::core::FragmentHandler2 const & rParent, PropertyMap & aProperties ) noexcept;
+ virtual ~SoundActionContext() noexcept override;
virtual void onEndElement() override;
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) override;
diff --git a/include/oox/ppt/timenodelistcontext.hxx b/include/oox/ppt/timenodelistcontext.hxx
index cd98d06b15fd..82e7e67b9038 100644
--- a/include/oox/ppt/timenodelistcontext.hxx
+++ b/include/oox/ppt/timenodelistcontext.hxx
@@ -38,12 +38,12 @@ namespace oox::ppt {
class TimeNodeContext : public ::oox::core::FragmentHandler2
{
public:
- virtual ~TimeNodeContext() throw() override;
+ virtual ~TimeNodeContext() noexcept override;
static rtl::Reference<TimeNodeContext> makeContext( ::oox::core::FragmentHandler2 const & rParent, sal_Int32 aElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttribs, const TimeNodePtr & pNode );
protected:
- TimeNodeContext( ::oox::core::FragmentHandler2 const & rParent, sal_Int32 aElement, const TimeNodePtr & pNode ) throw();
+ TimeNodeContext( ::oox::core::FragmentHandler2 const & rParent, sal_Int32 aElement, const TimeNodePtr & pNode ) noexcept;
sal_Int32 mnElement;
TimeNodePtr mpNode;
@@ -54,9 +54,9 @@ namespace oox::ppt {
class TimeNodeListContext final : public ::oox::core::FragmentHandler2
{
public:
- TimeNodeListContext( ::oox::core::FragmentHandler2 const & rParent, TimeNodePtrList & aList ) throw();
+ TimeNodeListContext( ::oox::core::FragmentHandler2 const & rParent, TimeNodePtrList & aList ) noexcept;
- virtual ~TimeNodeListContext() throw() override;
+ virtual ~TimeNodeListContext() noexcept override;
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) override;
diff --git a/include/osl/thread.hxx b/include/osl/thread.hxx
index 9db8ce3f9220..dd3a4cbd3184 100644
--- a/include/osl/thread.hxx
+++ b/include/osl/thread.hxx
@@ -152,7 +152,7 @@ public:
osl_yieldThread();
}
- static void setName(char const * name) throw () {
+ static void setName(char const * name) SAL_NOEXCEPT {
osl_setThreadName(name);
}
diff --git a/include/sfx2/sfxbasemodel.hxx b/include/sfx2/sfxbasemodel.hxx
index d2b50b6aa9be..b55705b57e1d 100644
--- a/include/sfx2/sfxbasemodel.hxx
+++ b/include/sfx2/sfxbasemodel.hxx
@@ -191,7 +191,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL acquire() throw() override
+ virtual void SAL_CALL acquire() noexcept override
{ OWeakObject::acquire(); }
/**___________________________________________________________________________________________________
@@ -201,7 +201,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ OWeakObject::release(); }
diff --git a/include/sfx2/stbitem.hxx b/include/sfx2/stbitem.hxx
index a77dc04333b7..dc3cd7497bb4 100644
--- a/include/sfx2/stbitem.hxx
+++ b/include/sfx2/stbitem.hxx
@@ -64,8 +64,8 @@ class SFX2_DLLPUBLIC SfxStatusBarControl: public svt::StatusbarController
public:
// new controller API
// XInterface
- virtual void SAL_CALL acquire() throw() override;
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
+ virtual void SAL_CALL release() noexcept override;
protected:
// XEventListener
diff --git a/include/svl/itemprop.hxx b/include/svl/itemprop.hxx
index 0bc96f9ebf0f..7be78d1a0330 100644
--- a/include/svl/itemprop.hxx
+++ b/include/svl/itemprop.hxx
@@ -172,7 +172,7 @@ public:
getPropertyState(const OUString& rName, const SfxItemSet& rSet)const;
css::beans::PropertyState
getPropertyState(const SfxItemPropertyMapEntry& rEntry, const SfxItemSet& rSet) const
- throw();
+ noexcept;
css::uno::Reference<css::beans::XPropertySetInfo> const &
getPropertySetInfo() const;
diff --git a/include/svtools/embedhlp.hxx b/include/svtools/embedhlp.hxx
index 79b09cf9c2da..43d0b64461dd 100644
--- a/include/svtools/embedhlp.hxx
+++ b/include/svtools/embedhlp.hxx
@@ -64,7 +64,7 @@ public:
sal_Int64 nViewAspect,
const css::uno::Reference < css::embed::XEmbeddedObject >&,
OUString* pMediaType )
- throw();
+ noexcept;
static bool IsChart(const css::uno::Reference < css::embed::XEmbeddedObject >& xObj);
diff --git a/include/svtools/framestatuslistener.hxx b/include/svtools/framestatuslistener.hxx
index 77cc12f9e100..6b49200399d8 100644
--- a/include/svtools/framestatuslistener.hxx
+++ b/include/svtools/framestatuslistener.hxx
@@ -50,8 +50,8 @@ class FrameStatusListener : public css::frame::XStatusListener,
// XInterface
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;
+ virtual void SAL_CALL acquire() noexcept override;
+ virtual void SAL_CALL release() noexcept override;
// XComponent
virtual void SAL_CALL dispose() override;
diff --git a/include/svtools/javacontext.hxx b/include/svtools/javacontext.hxx
index 2784075ee041..124b191fd540 100644
--- a/include/svtools/javacontext.hxx
+++ b/include/svtools/javacontext.hxx
@@ -49,9 +49,9 @@ namespace svt
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type& aType ) override;
- virtual void SAL_CALL acquire() throw () override;
+ virtual void SAL_CALL acquire() noexcept override;
- virtual void SAL_CALL release() throw () override;
+ virtual void SAL_CALL release() noexcept override;
// XCurrentContext
virtual css::uno::Any SAL_CALL getValueByName( const OUString& Name ) override;
diff --git a/include/svtools/javainteractionhandler.hxx b/include/svtools/javainteractionhandler.hxx
index aafbf6b1db71..09bf4c6cc4b5 100644
--- a/include/svtools/javainteractionhandler.hxx
+++ b/include/svtools/javainteractionhandler.hxx
@@ -44,9 +44,9 @@ public:
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type& aType ) override;
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
// XCurrentContext
virtual void SAL_CALL handle( const css::uno::Reference< css::task::XInteractionRequest >& Request ) override;
diff --git a/include/svtools/statusbarcontroller.hxx b/include/svtools/statusbarcontroller.hxx
index e784dad4dc99..f62feabc0e01 100644
--- a/include/svtools/statusbarcontroller.hxx
+++ b/include/svtools/statusbarcontroller.hxx
@@ -58,8 +58,8 @@ class SVT_DLLPUBLIC StatusbarController :
// XInterface
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;
+ virtual void SAL_CALL acquire() noexcept override;
+ virtual void SAL_CALL release() noexcept override;
// XInitialization
virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override;
diff --git a/include/svtools/toolboxcontroller.hxx b/include/svtools/toolboxcontroller.hxx
index ef15f70c263b..c8d0e8c8e7de 100644
--- a/include/svtools/toolboxcontroller.hxx
+++ b/include/svtools/toolboxcontroller.hxx
@@ -84,8 +84,8 @@ class SVT_DLLPUBLIC ToolboxController :
// XInterface
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;
+ virtual void SAL_CALL acquire() noexcept override;
+ virtual void SAL_CALL release() noexcept override;
virtual css::uno::Sequence<css::uno::Type> SAL_CALL getTypes() override;
// XInitialization
diff --git a/include/svx/AccessibleGraphicShape.hxx b/include/svx/AccessibleGraphicShape.hxx
index fcffbdd39df3..a81aa130bb52 100644
--- a/include/svx/AccessibleGraphicShape.hxx
+++ b/include/svx/AccessibleGraphicShape.hxx
@@ -66,11 +66,11 @@ public:
virtual void SAL_CALL
acquire()
- throw () override;
+ noexcept override;
virtual void SAL_CALL
release()
- throw () override;
+ noexcept override;
//===== XServiceInfo ====================================================
diff --git a/include/svx/AccessibleOLEShape.hxx b/include/svx/AccessibleOLEShape.hxx
index 5119da01635b..5816de24502f 100644
--- a/include/svx/AccessibleOLEShape.hxx
+++ b/include/svx/AccessibleOLEShape.hxx
@@ -74,11 +74,11 @@ public:
virtual void SAL_CALL
acquire()
- throw () override;
+ noexcept override;
virtual void SAL_CALL
release()
- throw () override;
+ noexcept override;
//===== XServiceInfo ====================================================
diff --git a/include/svx/AccessibleShape.hxx b/include/svx/AccessibleShape.hxx
index 046463e666c0..509bee235298 100644
--- a/include/svx/AccessibleShape.hxx
+++ b/include/svx/AccessibleShape.hxx
@@ -288,11 +288,11 @@ public:
virtual void SAL_CALL
acquire()
- throw () override;
+ noexcept override;
virtual void SAL_CALL
release()
- throw () override;
+ noexcept override;
//===== XServiceInfo ====================================================
diff --git a/include/svx/ChildrenManager.hxx b/include/svx/ChildrenManager.hxx
index feed19117895..0498b43fdff0 100644
--- a/include/svx/ChildrenManager.hxx
+++ b/include/svx/ChildrenManager.hxx
@@ -118,7 +118,7 @@ public:
@return
If there are no children a 0 is returned.
*/
- tools::Long GetChildCount() const throw();
+ tools::Long GetChildCount() const noexcept;
/** Return the requested accessible child or throw and
IndexOutOfBoundsException if the given index is invalid.
diff --git a/include/svx/DiagramDataInterface.hxx b/include/svx/DiagramDataInterface.hxx
index 7279ec882675..f2c7d1df7c66 100644
--- a/include/svx/DiagramDataInterface.hxx
+++ b/include/svx/DiagramDataInterface.hxx
@@ -44,7 +44,7 @@ public:
virtual bool removeNode(const OUString& rNodeId) = 0;
protected:
- ~DiagramDataInterface() throw() {}
+ ~DiagramDataInterface() noexcept {}
};
#endif // INCLUDED_SVX_DIAGRAMDATAINTERFACE_HXX
diff --git a/include/svx/ParaSpacingControl.hxx b/include/svx/ParaSpacingControl.hxx
index 877ab9abd52e..c6d7af27fa49 100644
--- a/include/svx/ParaSpacingControl.hxx
+++ b/include/svx/ParaSpacingControl.hxx
@@ -85,11 +85,11 @@ public:
virtual ::css::uno::Any SAL_CALL queryInterface(const ::css::uno::Type& aType) override;
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
virtual void SAL_CALL disposing(const ::css::lang::EventObject&) override;
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
private:
css::uno::Reference<css::ui::XContextChangeEventMultiplexer> m_xMultiplexer;
diff --git a/include/svx/fmdpage.hxx b/include/svx/fmdpage.hxx
index e1bfb4089f8e..ae864e611528 100644
--- a/include/svx/fmdpage.hxx
+++ b/include/svx/fmdpage.hxx
@@ -42,7 +42,7 @@ protected:
public:
SvxFmDrawPage( SdrPage* pPage );
- virtual ~SvxFmDrawPage() throw () override;
+ virtual ~SvxFmDrawPage() noexcept override;
// UNO binding
DECLARE_UNO3_AGG_DEFAULTS(SvxFmDrawPage, SvxDrawPage)
diff --git a/include/svx/fmgridif.hxx b/include/svx/fmgridif.hxx
index 8db610a77414..3e0808dd9160 100644
--- a/include/svx/fmgridif.hxx
+++ b/include/svx/fmgridif.hxx
@@ -64,8 +64,8 @@ protected:
public:
OWeakSubObject(::cppu::OWeakObject& rParent) : m_rParent(rParent) { }
- virtual void SAL_CALL acquire() throw() override { m_rParent.acquire(); }
- virtual void SAL_CALL release() throw() override { m_rParent.release(); }
+ virtual void SAL_CALL acquire() noexcept override { m_rParent.acquire(); }
+ virtual void SAL_CALL release() noexcept override { m_rParent.release(); }
};
diff --git a/include/svx/unoapi.hxx b/include/svx/unoapi.hxx
index 3297eeaf6bba..e4886d316350 100644
--- a/include/svx/unoapi.hxx
+++ b/include/svx/unoapi.hxx
@@ -44,34 +44,34 @@ enum class SdrInventor : sal_uInt32;
SVXCORE_DLLPUBLIC rtl::Reference<SvxShape> CreateSvxShapeByTypeAndInventor(sal_uInt16 nType, SdrInventor nInventor, OUString const & referer);
/** Returns a StarOffice API wrapper for the given SdrObject */
-SVXCORE_DLLPUBLIC css::uno::Reference< css::drawing::XShape > GetXShapeForSdrObject( SdrObject* pObj ) throw ();
+SVXCORE_DLLPUBLIC css::uno::Reference< css::drawing::XShape > GetXShapeForSdrObject( SdrObject* pObj ) noexcept;
/** Returns the SdrObject from the given StarOffice API wrapper */
-SVXCORE_DLLPUBLIC SdrObject* GetSdrObjectFromXShape( const css::uno::Reference< css::drawing::XShape >& xShape ) throw() ;
+SVXCORE_DLLPUBLIC SdrObject* GetSdrObjectFromXShape( const css::uno::Reference< css::drawing::XShape >& xShape ) noexcept ;
/** Returns a StarOffice API wrapper for the given SdrPage */
-SVXCORE_DLLPUBLIC css::uno::Reference< css::drawing::XDrawPage > GetXDrawPageForSdrPage( SdrPage* pPage ) throw ();
+SVXCORE_DLLPUBLIC css::uno::Reference< css::drawing::XDrawPage > GetXDrawPageForSdrPage( SdrPage* pPage ) noexcept;
/** Returns the SdrPage from the given StarOffice API wrapper */
-SVXCORE_DLLPUBLIC SdrPage* GetSdrPageFromXDrawPage( const css::uno::Reference< css::drawing::XDrawPage >& xDrawPage ) throw() ;
+SVXCORE_DLLPUBLIC SdrPage* GetSdrPageFromXDrawPage( const css::uno::Reference< css::drawing::XDrawPage >& xDrawPage ) noexcept ;
/**
* Maps the vcl MapUnit enum to an API constant MeasureUnit.
* Returns false if conversion is not supported.
*/
-SVXCORE_DLLPUBLIC bool SvxMapUnitToMeasureUnit( const MapUnit nVcl, short& eApi ) throw();
+SVXCORE_DLLPUBLIC bool SvxMapUnitToMeasureUnit( const MapUnit nVcl, short& eApi ) noexcept;
/**
* Maps the API constant MeasureUnit to a vcl MapUnit enum.
* Returns false if conversion is not supported.
*/
-SVXCORE_DLLPUBLIC bool SvxMeasureUnitToFieldUnit( const short eApi, FieldUnit& nVcl ) throw();
+SVXCORE_DLLPUBLIC bool SvxMeasureUnitToFieldUnit( const short eApi, FieldUnit& nVcl ) noexcept;
/**
* Maps the vcl MapUnit enum to an API constant MeasureUnit.
* Returns false if conversion is not supported.
*/
-SVXCORE_DLLPUBLIC bool SvxFieldUnitToMeasureUnit( const FieldUnit nVcl, short& eApi ) throw();
+SVXCORE_DLLPUBLIC bool SvxFieldUnitToMeasureUnit( const FieldUnit nVcl, short& eApi ) noexcept;
/**
* If the given name is a predefined name for the current language it is replaced by
diff --git a/include/svx/unomod.hxx b/include/svx/unomod.hxx
index 35730594c1aa..dcdbfa8358d5 100644
--- a/include/svx/unomod.hxx
+++ b/include/svx/unomod.hxx
@@ -41,7 +41,7 @@ protected:
virtual SdrModel& getSdrModelFromUnoModel() const = 0; //TTTT make reference return
public:
- SvxUnoDrawMSFactory() throw() {};
+ SvxUnoDrawMSFactory() noexcept {};
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance( const OUString& aServiceSpecifier ) override;
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments( const OUString& ServiceSpecifier, const css::uno::Sequence< css::uno::Any >& Arguments ) override;
diff --git a/include/svx/unomodel.hxx b/include/svx/unomodel.hxx
index 08b910ca83ec..87ccd82b0884 100644
--- a/include/svx/unomodel.hxx
+++ b/include/svx/unomodel.hxx
@@ -60,16 +60,16 @@ protected:
virtual SdrModel& getSdrModelFromUnoModel() const override;
public:
- SvxUnoDrawingModel( SdrModel* pDoc ) throw();
- virtual ~SvxUnoDrawingModel() throw() override;
+ SvxUnoDrawingModel( SdrModel* pDoc ) noexcept;
+ virtual ~SvxUnoDrawingModel() noexcept override;
SdrModel* GetDoc() const { return mpDoc; }
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- virtual void SAL_CALL acquire() throw() override
+ virtual void SAL_CALL acquire() noexcept override
{ SfxBaseModel::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ SfxBaseModel::release(); }
// XModel
diff --git a/include/svx/unopage.hxx b/include/svx/unopage.hxx
index 2308eb93ad06..4b00244a7b17 100644
--- a/include/svx/unopage.hxx
+++ b/include/svx/unopage.hxx
@@ -64,23 +64,23 @@ class SVXCORE_DLLPUBLIC SvxDrawPage : protected cppu::BaseMutex,
SdrModel* mpModel; // TTTT probably not needed -> use from SdrPage
std::unique_ptr<SdrView> mpView;
- void SelectObjectsInView( const css::uno::Reference< css::drawing::XShapes >& aShapes, SdrPageView* pPageView ) throw ();
- void SelectObjectInView( const css::uno::Reference< css::drawing::XShape >& xShape, SdrPageView* pPageView ) throw();
+ void SelectObjectsInView( const css::uno::Reference< css::drawing::XShapes >& aShapes, SdrPageView* pPageView ) noexcept;
+ void SelectObjectInView( const css::uno::Reference< css::drawing::XShape >& xShape, SdrPageView* pPageView ) noexcept;
- virtual void disposing() throw();
+ virtual void disposing() noexcept;
public:
SvxDrawPage(SdrPage* pPage);
- virtual ~SvxDrawPage() throw() override;
+ virtual ~SvxDrawPage() noexcept override;
// Internals
SdrPage* GetSdrPage() const { return mpPage; }
// Creation of a SdrObject and insertion into the SdrPage
- SdrObject *CreateSdrObject( const css::uno::Reference< css::drawing::XShape >& xShape, bool bBeginning = false ) throw();
+ SdrObject *CreateSdrObject( const css::uno::Reference< css::drawing::XShape >& xShape, bool bBeginning = false ) noexcept;
// Determine Type and Inventor
- static void GetTypeAndInventor( SdrObjKind& rType, SdrInventor& rInventor, const OUString& aName ) throw();
+ static void GetTypeAndInventor( SdrObjKind& rType, SdrInventor& rInventor, const OUString& aName ) noexcept;
// Creating a SdrObject using it's Description.
// Can be used by derived classes to support their owen Shapes (e.g. Controls).
@@ -98,7 +98,7 @@ class SVXCORE_DLLPUBLIC SvxDrawPage : protected cppu::BaseMutex,
UNO3_GETIMPLEMENTATION_DECL( SvxDrawPage )
// XInterface
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
// XShapes
virtual void SAL_CALL add( const css::uno::Reference< css::drawing::XShape >& xShape ) override;
diff --git a/include/svx/unopool.hxx b/include/svx/unopool.hxx
index b8cc1c7d41f3..ff6c83472b98 100644
--- a/include/svx/unopool.hxx
+++ b/include/svx/unopool.hxx
@@ -45,12 +45,12 @@ public:
/** deprecated */
SvxUnoDrawPool(SdrModel* pModel);
- virtual ~SvxUnoDrawPool() throw() override;
+ virtual ~SvxUnoDrawPool() noexcept override;
/** This returns the item pool from the given model, or the default pool if there is no model and bReadOnly is true.
If bReadOnly is false and there is no model the default implementation returns NULL.
*/
- virtual SfxItemPool* getModelPool( bool bReadOnly ) throw();
+ virtual SfxItemPool* getModelPool( bool bReadOnly ) noexcept;
// overridden helpers from comphelper::PropertySetHelper
virtual void _setPropertyValues( const comphelper::PropertyMapEntry** ppEntries, const css::uno::Any* pValues ) override;
@@ -63,9 +63,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) 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 acquire() noexcept override
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ OWeakAggObject::release(); }
// XTypeProvider
diff --git a/include/svx/unoprov.hxx b/include/svx/unoprov.hxx
index 7292bb1d5fdd..0b03c7732bbc 100644
--- a/include/svx/unoprov.hxx
+++ b/include/svx/unoprov.hxx
@@ -111,7 +111,7 @@ namespace comphelper { class PropertySetInfo; }
class SvxPropertySetInfoPool
{
public:
- UNLESS_MERGELIBS(SVXCORE_DLLPUBLIC) static rtl::Reference<comphelper::PropertySetInfo> const & getOrCreate( sal_Int32 nServiceId ) throw();
+ UNLESS_MERGELIBS(SVXCORE_DLLPUBLIC) static rtl::Reference<comphelper::PropertySetInfo> const & getOrCreate( sal_Int32 nServiceId ) noexcept;
private:
static rtl::Reference<comphelper::PropertySetInfo> mxInfos[SVXUNO_SERVICEID_LASTID+1];
diff --git a/include/svx/unoshape.hxx b/include/svx/unoshape.hxx
index 44ffc43e4f3b..75c152e76744 100644
--- a/include/svx/unoshape.hxx
+++ b/include/svx/unoshape.hxx
@@ -132,20 +132,20 @@ private:
protected:
// translations for writer, which works in TWIPS
- void ForceMetricToItemPoolMetric(Pair& rPoint) const throw();
- void ForceMetricToItemPoolMetric(Point& rPoint) const throw() { ForceMetricToItemPoolMetric(rPoint.toPair()); }
- void ForceMetricToItemPoolMetric(Size& rPoint) const throw() { ForceMetricToItemPoolMetric(rPoint.toPair()); }
- void ForceMetricTo100th_mm(Pair& rPoint) const throw();
- void ForceMetricTo100th_mm(Point& rPoint) const throw() { ForceMetricTo100th_mm(rPoint.toPair()); }
- void ForceMetricTo100th_mm(Size& rPoint) const throw() { ForceMetricTo100th_mm(rPoint.toPair()); }
+ void ForceMetricToItemPoolMetric(Pair& rPoint) const noexcept;
+ void ForceMetricToItemPoolMetric(Point& rPoint) const noexcept { ForceMetricToItemPoolMetric(rPoint.toPair()); }
+ void ForceMetricToItemPoolMetric(Size& rPoint) const noexcept { ForceMetricToItemPoolMetric(rPoint.toPair()); }
+ void ForceMetricTo100th_mm(Pair& rPoint) const noexcept;
+ void ForceMetricTo100th_mm(Point& rPoint) const noexcept { ForceMetricTo100th_mm(rPoint.toPair()); }
+ void ForceMetricTo100th_mm(Size& rPoint) const noexcept { ForceMetricTo100th_mm(rPoint.toPair()); }
// version for basegfx::B2DPolyPolygon
- void ForceMetricToItemPoolMetric(basegfx::B2DPolyPolygon& rPolyPolygon) const throw();
- void ForceMetricTo100th_mm(basegfx::B2DPolyPolygon& rPolyPolygon) const throw();
+ void ForceMetricToItemPoolMetric(basegfx::B2DPolyPolygon& rPolyPolygon) const noexcept;
+ void ForceMetricTo100th_mm(basegfx::B2DPolyPolygon& rPolyPolygon) const noexcept;
// tdf#117145 version for basegfx::B2DHomMatrix
- void ForceMetricToItemPoolMetric(basegfx::B2DHomMatrix& rB2DHomMatrix) const throw();
- void ForceMetricTo100th_mm(basegfx::B2DHomMatrix& rB2DHomMatrix) const throw();
+ void ForceMetricToItemPoolMetric(basegfx::B2DHomMatrix& rB2DHomMatrix) const noexcept;
+ void ForceMetricTo100th_mm(basegfx::B2DHomMatrix& rB2DHomMatrix) const noexcept;
css::uno::Any GetAnyForItem( SfxItemSet const & aSet, const SfxItemPropertyMapEntry* pMap ) const;
@@ -188,7 +188,7 @@ public:
SvxShape( SdrObject* pObj );
/// @throws css::uno::RuntimeException
SvxShape( SdrObject* pObject, const SfxItemPropertyMapEntry* pEntries, const SvxItemPropertySet* pPropertySet );
- virtual ~SvxShape() throw () override;
+ virtual ~SvxShape() noexcept override;
// Internals
void ObtainSettingsFromPropertySet(const SvxItemPropertySet& rPropSet);
@@ -262,7 +262,7 @@ public:
void setMaster( SvxShapeMaster* pMaster );
// SfxListener
- virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) throw () override;
+ virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) noexcept override;
// XAggregation
virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type& aType ) override;
@@ -367,16 +367,16 @@ protected:
public:
SvxShapeText(SdrObject* pObj);
SvxShapeText(SdrObject* pObject, const SfxItemPropertyMapEntry* pPropertyMap, const SvxItemPropertySet* pPropertySet);
- virtual ~SvxShapeText() throw () override;
+ virtual ~SvxShapeText() noexcept override;
virtual void Create( SdrObject* pNewOpj, SvxDrawPage* pNewPage ) override;
// XInterface
virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) 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 acquire() noexcept override
{ SvxShape::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ SvxShape::release(); }
// XServiceInfo
@@ -402,14 +402,14 @@ class SvxShapeRect final : public SvxShapeText
{
public:
SvxShapeRect(SdrObject* pObj);
- virtual ~SvxShapeRect() throw () override;
+ virtual ~SvxShapeRect() noexcept override;
// XInterface
virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) 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 acquire() noexcept override
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ OWeakAggObject::release(); }
// XServiceInfo
@@ -431,16 +431,16 @@ private:
public:
SvxShapeGroup(SdrObject* pObj,SvxDrawPage* pDrawPage);
- virtual ~SvxShapeGroup() throw () override;
+ virtual ~SvxShapeGroup() noexcept override;
virtual void Create( SdrObject* pNewOpj, SvxDrawPage* pNewPage ) override;
// XInterface
virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) 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 acquire() noexcept override
{ SvxShape::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ SvxShape::release(); }
// XShapes
@@ -484,14 +484,14 @@ class SvxShapeConnector : public css::drawing::XConnectorShape,
{
public:
SvxShapeConnector(SdrObject* pObj);
- virtual ~SvxShapeConnector() throw() override;
+ virtual ~SvxShapeConnector() noexcept override;
// XInterface
virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) 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 acquire() noexcept override
{ SvxShapeText::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ SvxShapeText::release(); }
// XShapeDescriptor
@@ -525,14 +525,14 @@ protected:
public:
SvxShapeControl(SdrObject* pObj);
- virtual ~SvxShapeControl() throw() override;
+ virtual ~SvxShapeControl() noexcept override;
// XInterface
virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) 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 acquire() noexcept override
{ SvxShapeText::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ SvxShapeText::release(); }
// XPropertySet
@@ -569,7 +569,7 @@ class SvxShapeDimensioning final : public SvxShapeText
{
public:
SvxShapeDimensioning(SdrObject* pObj);
- virtual ~SvxShapeDimensioning() throw() override;
+ virtual ~SvxShapeDimensioning() noexcept override;
};
/***********************************************************************
@@ -579,7 +579,7 @@ class SvxShapeCircle final : public SvxShapeText
{
public:
SvxShapeCircle(SdrObject* pObj);
- virtual ~SvxShapeCircle() throw () override;
+ virtual ~SvxShapeCircle() noexcept override;
};
/***********************************************************************
@@ -600,7 +600,7 @@ protected:
public:
SvxOle2Shape(SdrObject* pObj);
SvxOle2Shape(SdrObject* pObject, const SfxItemPropertyMapEntry* pPropertyMap, const SvxItemPropertySet* pPropertySet);
- virtual ~SvxOle2Shape() throw() override;
+ virtual ~SvxOle2Shape() noexcept override;
bool createObject( const SvGlobalName &aClassName );
@@ -627,12 +627,12 @@ public:
/// @throws css::lang::IllegalArgumentException
/// @throws css::beans::PropertyVetoException
SvxShapePolyPolygon( SdrObject* pObj );
- virtual ~SvxShapePolyPolygon() throw() override;
+ virtual ~SvxShapePolyPolygon() noexcept override;
// Local support functions
/// @throws css::uno::RuntimeException
void SetPolygon(const basegfx::B2DPolyPolygon& rNew);
- basegfx::B2DPolyPolygon GetPolygon() const throw();
+ basegfx::B2DPolyPolygon GetPolygon() const noexcept;
};
/***********************************************************************
@@ -650,7 +650,7 @@ class SvxGraphicObject final : public SvxShapeText
public:
SvxGraphicObject(SdrObject* pObj);
- virtual ~SvxGraphicObject() throw() override;
+ virtual ~SvxGraphicObject() noexcept override;
};
/***********************************************************************
@@ -672,16 +672,16 @@ public:
virtual bool getPropertyValueImpl(const OUString& rName, const SfxItemPropertyMapEntry* pProperty,
css::uno::Any& rValue ) override;
- virtual ~Svx3DSceneObject() throw() override;
+ virtual ~Svx3DSceneObject() noexcept override;
virtual void Create( SdrObject* pNewOpj, SvxDrawPage* pNewPage ) override;
// XInterface
virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) 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 acquire() noexcept override
{ SvxShape::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ SvxShape::release(); }
// XShapes
@@ -714,7 +714,7 @@ class Svx3DCubeObject final : public SvxShape
public:
Svx3DCubeObject(SdrObject* pObj);
- virtual ~Svx3DCubeObject() throw() override;
+ virtual ~Svx3DCubeObject() noexcept override;
// XServiceInfo
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
@@ -732,7 +732,7 @@ private:
virtual bool setPropertyValueImpl( const OUString& rName, const SfxItemPropertyMapEntry* pProperty, const css::uno::Any& rValue ) override;
virtual bool getPropertyValueImpl( const OUString& rName, const SfxItemPropertyMapEntry* pProperty, css::uno::Any& rValue ) override;
- virtual ~Svx3DSphereObject() throw() override;
+ virtual ~Svx3DSphereObject() noexcept override;
// XServiceInfo
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
@@ -749,7 +749,7 @@ class Svx3DLatheObject final : public SvxShape
public:
Svx3DLatheObject(SdrObject* pObj);
- virtual ~Svx3DLatheObject() throw() override;
+ virtual ~Svx3DLatheObject() noexcept override;
// XServiceInfo
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
@@ -767,7 +767,7 @@ private:
virtual bool setPropertyValueImpl( const OUString& rName, const SfxItemPropertyMapEntry* pProperty, const css::uno::Any& rValue ) override;
virtual bool getPropertyValueImpl( const OUString& rName, const SfxItemPropertyMapEntry* pProperty, css::uno::Any& rValue ) override;
- virtual ~Svx3DExtrudeObject() throw() override;
+ virtual ~Svx3DExtrudeObject() noexcept override;
// XServiceInfo
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
@@ -784,7 +784,7 @@ class Svx3DPolygonObject final : public SvxShape
public:
Svx3DPolygonObject(SdrObject* pObj);
- virtual ~Svx3DPolygonObject() throw() override;
+ virtual ~Svx3DPolygonObject() noexcept override;
// XServiceInfo
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
@@ -805,14 +805,14 @@ public:
virtual bool getPropertyValueImpl( const OUString& rName, const SfxItemPropertyMapEntry* pProperty, css::uno::Any& rValue ) override;
- virtual ~SvxCustomShape() throw () override;
+ virtual ~SvxCustomShape() noexcept override;
// XInterface
virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) 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 acquire() noexcept override
{ SvxShapeText::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ SvxShapeText::release(); }
// XShape
@@ -836,7 +836,7 @@ class SvxMediaShape final : public SvxShape
{
public:
SvxMediaShape(SdrObject* pObj, OUString const & referer);
- virtual ~SvxMediaShape() throw() override;
+ virtual ~SvxMediaShape() noexcept override;
private:
// override these for special property handling in subcasses. Return true if property is handled
diff --git a/include/toolkit/awt/vclxmenu.hxx b/include/toolkit/awt/vclxmenu.hxx
index 5232ee699efa..73e8e3acb451 100644
--- a/include/toolkit/awt/vclxmenu.hxx
+++ b/include/toolkit/awt/vclxmenu.hxx
@@ -84,8 +84,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XUnoTunnel
UNO3_GETIMPLEMENTATION_DECL(VCLXMenu)
diff --git a/include/toolkit/awt/vclxwindows.hxx b/include/toolkit/awt/vclxwindows.hxx
index c3e71d97900d..38c3a1a4a268 100644
--- a/include/toolkit/awt/vclxwindows.hxx
+++ b/include/toolkit/awt/vclxwindows.hxx
@@ -146,8 +146,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -204,8 +204,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -259,8 +259,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XComponent
void SAL_CALL dispose( ) override;
@@ -306,8 +306,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -344,8 +344,8 @@ public:
VCLXScrollBar();
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -414,8 +414,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
diff --git a/include/toolkit/controls/unocontrolmodel.hxx b/include/toolkit/controls/unocontrolmodel.hxx
index 9f82bb9e4a79..fb22dc3e4383 100644
--- a/include/toolkit/controls/unocontrolmodel.hxx
+++ b/include/toolkit/controls/unocontrolmodel.hxx
@@ -124,14 +124,14 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return OWeakAggObject::queryInterface(rType); }
- void SAL_CALL acquire() throw() override;
- void SAL_CALL release() throw() override;
+ void SAL_CALL acquire() noexcept override;
+ void SAL_CALL release() noexcept override;
// css::uno::XAggregation
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
// css::lang::XUnoTunnel
- static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId() throw();
+ static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId() noexcept;
sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& rIdentifier ) override;
// css::util::XCloneable
diff --git a/include/toolkit/controls/unocontrols.hxx b/include/toolkit/controls/unocontrols.hxx
index eb75d36b6e97..06b127b32f80 100644
--- a/include/toolkit/controls/unocontrols.hxx
+++ b/include/toolkit/controls/unocontrols.hxx
@@ -577,8 +577,8 @@ public:
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return UnoControlBase::queryInterface(rType); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakAggObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakAggObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakAggObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakAggObject::release(); }
void SAL_CALL createPeer( const css::uno::Reference< css::awt::XToolkit >& Toolkit, const css::uno::Reference< css::awt::XWindowPeer >& Parent ) override;
void SAL_CALL dispose( ) override;
@@ -646,8 +646,8 @@ public:
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return UnoControlBase::queryInterface(rType); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakAggObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakAggObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakAggObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakAggObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -944,8 +944,8 @@ public:
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return UnoEditControl::queryInterface(rType); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakAggObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakAggObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakAggObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakAggObject::release(); }
// css::lang::XTypeProvider
@@ -1002,8 +1002,8 @@ public:
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return UnoEditControl::queryInterface(rType); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakAggObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakAggObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakAggObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakAggObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -1065,8 +1065,8 @@ public:
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return UnoSpinFieldControl::queryInterface(rType); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakAggObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakAggObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakAggObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakAggObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -1141,8 +1141,8 @@ public:
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return UnoSpinFieldControl::queryInterface(rType); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakAggObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakAggObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakAggObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakAggObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -1215,8 +1215,8 @@ public:
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return UnoSpinFieldControl::queryInterface(rType); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakAggObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakAggObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakAggObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakAggObject::release(); }
void SAL_CALL createPeer( const css::uno::Reference< css::awt::XToolkit >& Toolkit, const css::uno::Reference< css::awt::XWindowPeer >& Parent ) override;
@@ -1291,8 +1291,8 @@ public:
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return UnoSpinFieldControl::queryInterface(rType); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakAggObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakAggObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakAggObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakAggObject::release(); }
void SAL_CALL createPeer( const css::uno::Reference< css::awt::XToolkit >& Toolkit, const css::uno::Reference< css::awt::XWindowPeer >& Parent ) override;
@@ -1365,8 +1365,8 @@ public:
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return UnoSpinFieldControl::queryInterface(rType); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakAggObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakAggObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakAggObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakAggObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -1422,8 +1422,8 @@ public:
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return UnoControlBase::queryInterface(rType); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakAggObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakAggObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakAggObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakAggObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
diff --git a/include/toolkit/helper/listenermultiplexer.hxx b/include/toolkit/helper/listenermultiplexer.hxx
index a837aeb83de3..d1fb0215f6c9 100644
--- a/include/toolkit/helper/listenermultiplexer.hxx
+++ b/include/toolkit/helper/listenermultiplexer.hxx
@@ -68,8 +68,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { mrContext.acquire(); }
- void SAL_CALL release() throw() override { mrContext.release(); }
+ void SAL_CALL acquire() noexcept override { mrContext.acquire(); }
+ void SAL_CALL release() noexcept override { mrContext.release(); }
};
diff --git a/include/toolkit/helper/macros.hxx b/include/toolkit/helper/macros.hxx
index 1bfd46b1bd7e..cd121bc0998d 100644
--- a/include/toolkit/helper/macros.hxx
+++ b/include/toolkit/helper/macros.hxx
@@ -37,8 +37,8 @@ class ClassName final : public ListenerMultiplexerBase, public InterfaceName \
public: \
ClassName( ::cppu::OWeakObject& rSource ); \
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override; \
- void SAL_CALL acquire() throw() override; \
- void SAL_CALL release() throw() override; \
+ void SAL_CALL acquire() noexcept override; \
+ void SAL_CALL release() noexcept override; \
void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
@@ -48,8 +48,8 @@ class TOOLKIT_DLLPUBLIC ClassName final : public ListenerMultiplexerBase, public
public: \
ClassName( ::cppu::OWeakObject& rSource ); \
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override; \
- void SAL_CALL acquire() throw() override; \
- void SAL_CALL release() throw() override; \
+ void SAL_CALL acquire() noexcept override; \
+ void SAL_CALL release() noexcept override; \
void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
@@ -62,8 +62,8 @@ ClassName::ClassName( ::cppu::OWeakObject& rSource ) \
: ListenerMultiplexerBase( rSource ) \
{ \
} \
-void SAL_CALL ClassName::acquire() throw() { ListenerMultiplexerBase::acquire(); } \
-void SAL_CALL ClassName::release() throw() { ListenerMultiplexerBase::release(); } \
+void SAL_CALL ClassName::acquire() noexcept { ListenerMultiplexerBase::acquire(); } \
+void SAL_CALL ClassName::release() noexcept { ListenerMultiplexerBase::release(); } \
css::uno::Any ClassName::queryInterface( const css::uno::Type & rType ) \
{ \
css::uno::Any aRet = ::cppu::queryInterface( rType, \
diff --git a/include/ucbhelper/contenthelper.hxx b/include/ucbhelper/contenthelper.hxx
index afa1328cc493..3f269e475d4a 100644
--- a/include/ucbhelper/contenthelper.hxx
+++ b/include/ucbhelper/contenthelper.hxx
@@ -308,9 +308,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- virtual void SAL_CALL acquire() throw() override
+ virtual void SAL_CALL acquire() noexcept override
{ cppu::OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
// XTypeProvider
virtual css::uno::Sequence< sal_Int8 > SAL_CALL
diff --git a/include/ucbhelper/interactionrequest.hxx b/include/ucbhelper/interactionrequest.hxx
index fa4185e2ad1b..78fc31f7a23b 100644
--- a/include/ucbhelper/interactionrequest.hxx
+++ b/include/ucbhelper/interactionrequest.hxx
@@ -167,9 +167,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL
queryInterface( const css::uno::Type & rType ) override;
- virtual void SAL_CALL acquire() throw() override
+ virtual void SAL_CALL acquire() noexcept override
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ OWeakObject::release(); }
// XTypeProvider
@@ -200,9 +200,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL
queryInterface( const css::uno::Type & rType ) override;
- virtual void SAL_CALL acquire() throw() override
+ virtual void SAL_CALL acquire() noexcept override
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ OWeakObject::release(); }
// XTypeProvider
@@ -233,9 +233,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL
queryInterface( const css::uno::Type & rType ) override;
- virtual void SAL_CALL acquire() throw() override
+ virtual void SAL_CALL acquire() noexcept override
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ OWeakObject::release(); }
// XTypeProvider
@@ -266,9 +266,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL
queryInterface( const css::uno::Type & rType ) override;
- virtual void SAL_CALL acquire() throw() override
+ virtual void SAL_CALL acquire() noexcept override
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ OWeakObject::release(); }
// XTypeProvider
@@ -358,9 +358,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL
queryInterface( const css::uno::Type & rType ) override;
- virtual void SAL_CALL acquire() throw() override
+ virtual void SAL_CALL acquire() noexcept override
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ OWeakObject::release(); }
// XTypeProvider
@@ -495,9 +495,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL
queryInterface( const css::uno::Type & rType ) override;
- virtual void SAL_CALL acquire() throw() override
+ virtual void SAL_CALL acquire() noexcept override
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ OWeakObject::release(); }
// XTypeProvider
@@ -523,9 +523,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL
queryInterface( const css::uno::Type & rType ) override;
- virtual void SAL_CALL acquire() throw() override
+ virtual void SAL_CALL acquire() noexcept override
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ OWeakObject::release(); }
// XInteractionContinuation
diff --git a/include/unoidl/unoidl.hxx b/include/unoidl/unoidl.hxx
index 9f61b68a4b7e..7196a4b14c70 100644
--- a/include/unoidl/unoidl.hxx
+++ b/include/unoidl/unoidl.hxx
@@ -31,7 +31,7 @@ public:
SAL_DLLPRIVATE NoSuchFileException(NoSuchFileException const & other):
uri_(other.uri_) {}
- SAL_DLLPRIVATE ~NoSuchFileException() throw ();
+ SAL_DLLPRIVATE ~NoSuchFileException() noexcept;
const OUString& getUri() const { return uri_; }
@@ -52,7 +52,7 @@ public:
uri_(other.uri_), detail_(other.detail_)
{}
- SAL_DLLPRIVATE ~FileFormatException() throw ();
+ SAL_DLLPRIVATE ~FileFormatException() noexcept;
const OUString& getUri() const { return uri_; }
@@ -92,7 +92,7 @@ public:
protected:
explicit SAL_DLLPRIVATE Entity(Sort sort): sort_(sort) {}
- virtual SAL_DLLPRIVATE ~Entity() throw () override;
+ virtual SAL_DLLPRIVATE ~Entity() noexcept override;
private:
Sort sort_;
@@ -106,7 +106,7 @@ public:
protected:
SAL_DLLPRIVATE MapCursor() {}
- virtual SAL_DLLPRIVATE ~MapCursor() throw() override;
+ virtual SAL_DLLPRIVATE ~MapCursor() noexcept override;
};
class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL ModuleEntity: public Entity {
@@ -120,7 +120,7 @@ public:
protected:
SAL_DLLPRIVATE ModuleEntity(): Entity(SORT_MODULE) {}
- virtual SAL_DLLPRIVATE ~ModuleEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~ModuleEntity() noexcept override;
};
class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL PublishableEntity: public Entity {
@@ -137,7 +137,7 @@ protected:
Entity(sort), published_(published), annotations_(annotations)
{}
- virtual SAL_DLLPRIVATE ~PublishableEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~PublishableEntity() noexcept override;
private:
bool published_;
@@ -171,7 +171,7 @@ public:
std::vector< Member > const & getMembers() const { return members_; }
private:
- virtual SAL_DLLPRIVATE ~EnumTypeEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~EnumTypeEntity() noexcept override;
std::vector< Member > members_;
};
@@ -205,7 +205,7 @@ public:
{ return directMembers_; }
private:
- virtual SAL_DLLPRIVATE ~PlainStructTypeEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~PlainStructTypeEntity() noexcept override;
OUString directBase_;
std::vector< Member > directMembers_;
@@ -248,7 +248,7 @@ public:
std::vector< Member > const & getMembers() const { return members_; }
private:
- virtual SAL_DLLPRIVATE ~PolymorphicStructTypeTemplateEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~PolymorphicStructTypeTemplateEntity() noexcept override;
std::vector< OUString > typeParameters_;
std::vector< Member > members_;
@@ -284,7 +284,7 @@ public:
{ return directMembers_; }
private:
- virtual SAL_DLLPRIVATE ~ExceptionTypeEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~ExceptionTypeEntity() noexcept override;
OUString directBase_;
std::vector< Member > directMembers_;
@@ -382,7 +382,7 @@ public:
{ return directMethods_; }
private:
- virtual SAL_DLLPRIVATE ~InterfaceTypeEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~InterfaceTypeEntity() noexcept override;
std::vector< AnnotatedReference > directMandatoryBases_;
std::vector< AnnotatedReference > directOptionalBases_;
@@ -401,7 +401,7 @@ public:
const OUString& getType() const { return type_; }
private:
- virtual SAL_DLLPRIVATE ~TypedefEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~TypedefEntity() noexcept override;
OUString type_;
};
@@ -480,7 +480,7 @@ public:
std::vector< Member > const & getMembers() const { return members_; }
private:
- virtual SAL_DLLPRIVATE ~ConstantGroupEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~ConstantGroupEntity() noexcept override;
std::vector< Member > members_;
};
@@ -542,7 +542,7 @@ public:
{ return constructors_; }
private:
- virtual SAL_DLLPRIVATE ~SingleInterfaceBasedServiceEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~SingleInterfaceBasedServiceEntity() noexcept override;
OUString base_;
std::vector< Constructor > constructors_;
@@ -619,7 +619,7 @@ public:
{ return directProperties_; }
private:
- virtual SAL_DLLPRIVATE ~AccumulationBasedServiceEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~AccumulationBasedServiceEntity() noexcept override;
std::vector< AnnotatedReference > directMandatoryBaseServices_;
std::vector< AnnotatedReference > directOptionalBaseServices_;
@@ -643,7 +643,7 @@ public:
const OUString& getBase() const { return base_; }
private:
- virtual SAL_DLLPRIVATE ~InterfaceBasedSingletonEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~InterfaceBasedSingletonEntity() noexcept override;
OUString base_;
};
@@ -661,7 +661,7 @@ public:
const OUString& getBase() const { return base_; }
private:
- virtual SAL_DLLPRIVATE ~ServiceBasedSingletonEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~ServiceBasedSingletonEntity() noexcept override;
OUString base_;
};
@@ -678,7 +678,7 @@ public:
protected:
SAL_DLLPRIVATE Provider() {}
- virtual SAL_DLLPRIVATE ~Provider() throw () override;
+ virtual SAL_DLLPRIVATE ~Provider() noexcept override;
};
class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL Manager final : public salhelper::SimpleReferenceObject {
@@ -695,7 +695,7 @@ public:
rtl::Reference< MapCursor > createCursor(OUString const & name) const;
private:
- virtual SAL_DLLPRIVATE ~Manager() throw () override;
+ virtual SAL_DLLPRIVATE ~Manager() noexcept override;
SAL_DLLPRIVATE rtl::Reference< Provider > loadProvider(
OUString const & uri);
diff --git a/include/unotools/confignode.hxx b/include/unotools/confignode.hxx
index ae967660e4cb..6ed3cd7d7e69 100644
--- a/include/unotools/confignode.hxx
+++ b/include/unotools/confignode.hxx
@@ -50,7 +50,7 @@ namespace utl
m_xContainerAccess; /// modifying set nodes (optional interface of our UNO object)
bool m_bEscapeNames; /// escape names before accessing children ?
- OConfigurationNode insertNode(const OUString& _rName,const css::uno::Reference< css::uno::XInterface >& _xNode) const throw();
+ OConfigurationNode insertNode(const OUString& _rName,const css::uno::Reference< css::uno::XInterface >& _xNode) const noexcept;
protected:
/// constructs a node object with an interface representing a node
@@ -79,7 +79,7 @@ namespace utl
/** open a sub node
@param _rPath access path of the to-be-opened sub node. May be a hierarchical path.
*/
- OConfigurationNode openNode(const OUString& _rPath) const throw();
+ OConfigurationNode openNode(const OUString& _rPath) const noexcept;
OConfigurationNode openNode( const char* _pAsciiPath ) const
{
@@ -94,14 +94,14 @@ namespace utl
becomes a part of its hierarchy, no explicit insertion is necessary.
@param _rName name for the new child. Must be level-1-depth.
*/
- OConfigurationNode createNode(const OUString& _rName) const throw();
+ OConfigurationNode createNode(const OUString& _rName) const noexcept;
/** remove an existent child nod
If the object represents a set node, this method may be used to delete an existent child. For non-set-nodes,
the method will fail.
*/
- bool removeNode(const OUString& _rName) const throw();
+ bool removeNode(const OUString& _rName) const noexcept;
/** retrieves the content of a descendant
@@ -110,7 +110,7 @@ namespace utl
Unfortunately, this implies that if a void value is returned, you won't have a clue if this means
"the path does not exist" (besides the assertion made :), or if the value is really void.
*/
- css::uno::Any getNodeValue(const OUString& _rPath) const throw();
+ css::uno::Any getNodeValue(const OUString& _rPath) const noexcept;
css::uno::Any getNodeValue( const char* _pAsciiPath ) const
{
@@ -123,7 +123,7 @@ namespace utl
node.
@return sal_True if and only if the write was successful.
*/
- bool setNodeValue(const OUString& _rPath, const css::uno::Any& _rValue) const throw();
+ bool setNodeValue(const OUString& _rPath, const css::uno::Any& _rValue) const noexcept;
bool setNodeValue( const char* _pAsciiPath, const css::uno::Any& _rValue ) const
{
@@ -132,10 +132,10 @@ namespace utl
/// return the names of the existing children
css::uno::Sequence< OUString >
- getNodeNames() const throw();
+ getNodeNames() const noexcept;
/// invalidate the object
- virtual void clear() throw();
+ virtual void clear() noexcept;
// meta information about the node
@@ -143,10 +143,10 @@ namespace utl
bool isSetNode() const;
/// checks whether or not a direct child with a given name exists
- bool hasByName(const OUString& _rName) const throw();
+ bool hasByName(const OUString& _rName) const noexcept;
/// checks whether or not a descendent (no matter if direct or indirect) with the given name exists
- bool hasByHierarchicalName( const OUString& _rName ) const throw();
+ bool hasByHierarchicalName( const OUString& _rName ) const noexcept;
/// check if the objects represents a valid configuration node
bool isValid() const { return m_xHierarchyAccess.is(); }
@@ -259,10 +259,10 @@ namespace utl
object are committed when calling this method.
@return sal_True if and only if the commit was successful
*/
- bool commit() const throw();
+ bool commit() const noexcept;
/// invalidate the object
- virtual void clear() throw() override;
+ virtual void clear() noexcept override;
};
} // namespace utl
diff --git a/include/unotools/streamwrap.hxx b/include/unotools/streamwrap.hxx
index 363c0d69dcea..2e83c63bbdbf 100644
--- a/include/unotools/streamwrap.hxx
+++ b/include/unotools/streamwrap.hxx
@@ -134,9 +134,9 @@ private:
// disambiguate XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& _rType ) override;
- virtual void SAL_CALL acquire( ) throw () override
+ virtual void SAL_CALL acquire( ) noexcept override
{ OOutputStreamWrapper::acquire(); }
- virtual void SAL_CALL release( ) throw () override
+ virtual void SAL_CALL release( ) noexcept override
{ OOutputStreamWrapper::release(); }
// XSeekable
diff --git a/include/unotools/ucbhelper.hxx b/include/unotools/ucbhelper.hxx
index b00248011ed9..ed833580f9ba 100644
--- a/include/unotools/ucbhelper.hxx
+++ b/include/unotools/ucbhelper.hxx
@@ -63,7 +63,7 @@ UNOTOOLS_DLLPUBLIC bool MakeFolder(
UNOTOOLS_DLLPUBLIC bool ensureFolder(
const css::uno::Reference< css::uno::XComponentContext >& xCtx,
const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv,
- const OUString& rFolder, ucbhelper::Content & result) throw();
+ const OUString& rFolder, ucbhelper::Content & result) noexcept;
UNOTOOLS_DLLPUBLIC bool IsYounger(
OUString const & younger, OUString const & older);
diff --git a/include/vcl/dndhelp.hxx b/include/vcl/dndhelp.hxx
index 902f67cf1036..bc3d49a3048a 100644
--- a/include/vcl/dndhelp.hxx
+++ b/include/vcl/dndhelp.hxx
@@ -79,8 +79,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XEventListener
void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
diff --git a/include/vcl/textview.hxx b/include/vcl/textview.hxx
index 105fd352089c..116d4d59e1e5 100644
--- a/include/vcl/textview.hxx
+++ b/include/vcl/textview.hxx
@@ -63,8 +63,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::datatransfer::XTransferable
css::uno::Any SAL_CALL getTransferData( const css::datatransfer::DataFlavor& aFlavor ) override;
diff --git a/include/vcl/unohelp2.hxx b/include/vcl/unohelp2.hxx
index 0f54ea186c65..a92859885cbe 100644
--- a/include/vcl/unohelp2.hxx
+++ b/include/vcl/unohelp2.hxx
@@ -46,8 +46,8 @@ namespace vcl::unohelper {
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::datatransfer::XTransferable
css::uno::Any SAL_CALL getTransferData( const css::datatransfer::DataFlavor& aFlavor ) override;
diff --git a/include/xmloff/shapeexport.hxx b/include/xmloff/shapeexport.hxx
index d8641451cf4d..add92acf49c2 100644
--- a/include/xmloff/shapeexport.hxx
+++ b/include/xmloff/shapeexport.hxx
@@ -255,7 +255,7 @@ public:
@see exportShapes
*/
void seekShapes(
- const css::uno::Reference< css::drawing::XShapes >& xShapes ) throw();
+ const css::uno::Reference< css::drawing::XShapes >& xShapes ) noexcept;
void exportAutoStyles();
diff --git a/include/xmloff/unoatrcn.hxx b/include/xmloff/unoatrcn.hxx
index 2773af3f86db..68baa3bd8b2e 100644
--- a/include/xmloff/unoatrcn.hxx
+++ b/include/xmloff/unoatrcn.hxx
@@ -52,7 +52,7 @@ public:
SvUnoAttributeContainer( std::unique_ptr<SvXMLAttrContainerData> pContainer = nullptr );
SvXMLAttrContainerData* GetContainerImpl() const { return mpContainer.get(); }
- static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw();
+ static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId() noexcept;
virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
// css::container::XElementAccess
diff --git a/include/xmloff/xmlictxt.hxx b/include/xmloff/xmlictxt.hxx
index 9fabd7509996..3a83ff4527ff 100644
--- a/include/xmloff/xmlictxt.hxx
+++ b/include/xmloff/xmlictxt.hxx
@@ -100,9 +100,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) final override;
- virtual void SAL_CALL acquire() throw () final override
+ virtual void SAL_CALL acquire() noexcept final override
{ osl_atomic_increment(&m_nRefCount); }
- virtual void SAL_CALL release() throw () final override
+ virtual void SAL_CALL release() noexcept final override
{ if (osl_atomic_decrement(&m_nRefCount) == 0) delete this; }
// XTypeProvider
diff --git a/include/xmloff/xmlimp.hxx b/include/xmloff/xmlimp.hxx
index 6ac9266094eb..dc01b88ed9ef 100644
--- a/include/xmloff/xmlimp.hxx
+++ b/include/xmloff/xmlimp.hxx
@@ -303,9 +303,9 @@ public:
SvXMLImportFlags nImportFlags = SvXMLImportFlags::ALL,
const css::uno::Sequence< OUString > & sSupportedServiceNames = {});
- void cleanup() throw();
+ void cleanup() noexcept;
- virtual ~SvXMLImport() throw() override;
+ virtual ~SvXMLImport() noexcept override;
virtual void SAL_CALL startDocument() override;
virtual void SAL_CALL endDocument() override;
@@ -353,7 +353,7 @@ public:
virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override;
// XUnoTunnel
- static const css::uno::Sequence<sal_Int8>& getUnoTunnelId() throw();
+ static const css::uno::Sequence<sal_Int8>& getUnoTunnelId() noexcept;
virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
// XServiceInfo
diff --git a/include/xmlreader/span.hxx b/include/xmlreader/span.hxx
index 42bb9a6efc21..4d1455cd358d 100644
--- a/include/xmlreader/span.hxx
+++ b/include/xmlreader/span.hxx
@@ -45,7 +45,7 @@ struct SAL_WARN_UNUSED OOO_DLLPUBLIC_XMLREADER Span {
begin(literal), length(N - 1)
{}
- void clear() throw() { begin = nullptr; }
+ void clear() noexcept { begin = nullptr; }
bool is() const { return begin != nullptr; }