diff options
Diffstat (limited to 'sw/source/filter/ww8')
-rw-r--r-- | sw/source/filter/ww8/fields.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/fields.hxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/styles.cxx | 8 | ||||
-rw-r--r-- | sw/source/filter/ww8/ww8par.hxx | 8 | ||||
-rw-r--r-- | sw/source/filter/ww8/ww8par5.cxx | 8 |
5 files changed, 14 insertions, 14 deletions
diff --git a/sw/source/filter/ww8/fields.cxx b/sw/source/filter/ww8/fields.cxx index 68a58d856f33..36f8e8690b82 100644 --- a/sw/source/filter/ww8/fields.cxx +++ b/sw/source/filter/ww8/fields.cxx @@ -23,7 +23,7 @@ namespace ww { - const char *GetEnglishFieldName(eField eIndex) throw() + const char *GetEnglishFieldName(eField eIndex) noexcept { //0 Signifies the field names I can't find. // #i43956# - field <eFOOTREF> = 5 should be mapped to "REF" diff --git a/sw/source/filter/ww8/fields.hxx b/sw/source/filter/ww8/fields.hxx index a539c645cf85..d11b92e2ad5b 100644 --- a/sw/source/filter/ww8/fields.hxx +++ b/sw/source/filter/ww8/fields.hxx @@ -40,7 +40,7 @@ namespace ww @return 0 if not found, otherwise the fieldname as a C style ASCII string */ -const char* GetEnglishFieldName(eField eIndex) throw(); +const char* GetEnglishFieldName(eField eIndex) noexcept; } #endif diff --git a/sw/source/filter/ww8/styles.cxx b/sw/source/filter/ww8/styles.cxx index 5da6157f732b..4c8c9bc49555 100644 --- a/sw/source/filter/ww8/styles.cxx +++ b/sw/source/filter/ww8/styles.cxx @@ -23,7 +23,7 @@ namespace { - const char **GetStiNames() throw() + const char **GetStiNames() noexcept { static const char *stiName[] = { @@ -128,7 +128,7 @@ namespace namespace ww { - const char* GetEnglishNameFromSti(sti eSti) throw() + const char* GetEnglishNameFromSti(sti eSti) noexcept { if (eSti >= stiMax) return nullptr; @@ -136,7 +136,7 @@ namespace ww return GetStiNames()[eSti]; } - bool StandardStiIsCharStyle(sti eSti) throw() + bool StandardStiIsCharStyle(sti eSti) noexcept { switch (eSti) { @@ -152,7 +152,7 @@ namespace ww } } - sti GetCanonicalStiFromStc(sal_uInt8 stc) throw() + sti GetCanonicalStiFromStc(sal_uInt8 stc) noexcept { if (stc == 0) return stiNormal; diff --git a/sw/source/filter/ww8/ww8par.hxx b/sw/source/filter/ww8/ww8par.hxx index d43182d2e93a..e23d9986b7f5 100644 --- a/sw/source/filter/ww8/ww8par.hxx +++ b/sw/source/filter/ww8/ww8par.hxx @@ -573,10 +573,10 @@ class WW8FieldEntry sw::hack::Position maStartPos; sal_uInt16 mnFieldId; sal_uLong mnObjLocFc; - WW8FieldEntry(SwPosition const &rPos, sal_uInt16 nFieldId) throw(); - WW8FieldEntry(const WW8FieldEntry &rOther) throw(); - WW8FieldEntry &operator=(const WW8FieldEntry &rOther) throw(); - void Swap(WW8FieldEntry &rOther) throw(); + WW8FieldEntry(SwPosition const &rPos, sal_uInt16 nFieldId) noexcept; + WW8FieldEntry(const WW8FieldEntry &rOther) noexcept; + WW8FieldEntry &operator=(const WW8FieldEntry &rOther) noexcept; + void Swap(WW8FieldEntry &rOther) noexcept; SwNodeIndex GetPtNode() const { return maStartPos.GetPtNode(); }; sal_Int32 GetPtContent() const { return maStartPos.GetPtContent(); }; diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx index 1bd48126ed35..3aa79d63e707 100644 --- a/sw/source/filter/ww8/ww8par5.cxx +++ b/sw/source/filter/ww8/ww8par5.cxx @@ -711,23 +711,23 @@ static bool AcceptableNestedField(sal_uInt16 nFieldCode) } } -WW8FieldEntry::WW8FieldEntry(SwPosition const &rPos, sal_uInt16 nFieldId) throw() +WW8FieldEntry::WW8FieldEntry(SwPosition const &rPos, sal_uInt16 nFieldId) noexcept : maStartPos(rPos), mnFieldId(nFieldId), mnObjLocFc(0) { } -WW8FieldEntry::WW8FieldEntry(const WW8FieldEntry &rOther) throw() +WW8FieldEntry::WW8FieldEntry(const WW8FieldEntry &rOther) noexcept : maStartPos(rOther.maStartPos), mnFieldId(rOther.mnFieldId), mnObjLocFc(rOther.mnObjLocFc) { } -void WW8FieldEntry::Swap(WW8FieldEntry &rOther) throw() +void WW8FieldEntry::Swap(WW8FieldEntry &rOther) noexcept { std::swap(maStartPos, rOther.maStartPos); std::swap(mnFieldId, rOther.mnFieldId); } -WW8FieldEntry &WW8FieldEntry::operator=(const WW8FieldEntry &rOther) throw() +WW8FieldEntry &WW8FieldEntry::operator=(const WW8FieldEntry &rOther) noexcept { WW8FieldEntry aTemp(rOther); Swap(aTemp); |