summaryrefslogtreecommitdiffstats
path: root/bridges/inc
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/inc')
-rw-r--r--bridges/inc/msvc/amd64.hxx4
-rw-r--r--bridges/inc/msvc/except.hxx18
2 files changed, 11 insertions, 11 deletions
diff --git a/bridges/inc/msvc/amd64.hxx b/bridges/inc/msvc/amd64.hxx
index fb095446b097..eea88ea96f2f 100644
--- a/bridges/inc/msvc/amd64.hxx
+++ b/bridges/inc/msvc/amd64.hxx
@@ -33,7 +33,7 @@ struct ExceptionType final
ExceptionTypeInfo exc_type_info;
explicit ExceptionType(unsigned char* pCode, sal_uInt64 pCodeBase,
- typelib_TypeDescription* pTD) throw();
+ typelib_TypeDescription* pTD) noexcept;
ExceptionType(const ExceptionType&) = delete;
ExceptionType& operator=(const ExceptionType&) = delete;
@@ -51,7 +51,7 @@ struct RaiseInfo final
unsigned char* _code;
sal_uInt64 _codeBase;
- explicit RaiseInfo(typelib_TypeDescription* pTD) throw();
+ explicit RaiseInfo(typelib_TypeDescription* pTD) noexcept;
};
#pragma pack(pop)
diff --git a/bridges/inc/msvc/except.hxx b/bridges/inc/msvc/except.hxx
index aba0ce46248e..798fc44f147c 100644
--- a/bridges/inc/msvc/except.hxx
+++ b/bridges/inc/msvc/except.hxx
@@ -61,12 +61,12 @@ class ExceptionTypeInfo final
char m_d_name[1];
public:
- explicit ExceptionTypeInfo(void* data, const char* d_name) throw()
+ explicit ExceptionTypeInfo(void* data, const char* d_name) noexcept
: m_data(data)
{
::strcpy(m_d_name, d_name); // #100211# - checked
}
- virtual ~ExceptionTypeInfo() throw();
+ virtual ~ExceptionTypeInfo() noexcept;
};
class ExceptionTypeInfoWrapper final
@@ -75,7 +75,7 @@ class ExceptionTypeInfoWrapper final
ExceptionTypeInfo info;
public:
- explicit ExceptionTypeInfoWrapper(void* m_data, const char* m_d_name) throw()
+ explicit ExceptionTypeInfoWrapper(void* m_data, const char* m_d_name) noexcept
: info(m_data, m_d_name)
{
type_info_size = sizeof(ExceptionTypeInfo) + strlen(m_d_name);
@@ -90,13 +90,13 @@ class RTTInfos final
osl::Mutex m_aMutex;
t_string2PtrMap m_allRTTI;
- RTTInfos() throw();
- ExceptionTypeInfoWrapper* getInfo(OUString const& rUNOname) throw();
+ RTTInfos() noexcept;
+ ExceptionTypeInfoWrapper* getInfo(OUString const& rUNOname) noexcept;
public:
~RTTInfos();
- static type_info* get(OUString const& rUNOname, int* len = nullptr) throw();
+ static type_info* get(OUString const& rUNOname, int* len = nullptr) noexcept;
};
class ExceptionInfos final
@@ -105,12 +105,12 @@ class ExceptionInfos final
t_string2PtrMap m_allRaiseInfos;
public:
- static RaiseInfo* getRaiseInfo(typelib_TypeDescription* pTD) throw();
+ static RaiseInfo* getRaiseInfo(typelib_TypeDescription* pTD) noexcept;
static DWORD allocationGranularity;
- ExceptionInfos() throw();
- ~ExceptionInfos() throw();
+ ExceptionInfos() noexcept;
+ ~ExceptionInfos() noexcept;
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */