editeng/source/items/numitem.cxx | 4 ++-- include/editeng/numitem.hxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
New commits: commit fca96bf4b21ca47a98a2bd0114f7c22935acc54b Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Tue Jun 1 13:58:17 2021 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Tue Jun 1 16:26:08 2021 +0200 loplugin:noexceptmove (not sure exactly why this started to only hit me now on macOS against LLVM 13 trunk libc++) Change-Id: Ib2ea5b52061a870a5eaa4e5c680d19b87831b87c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116536 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx index ba935384eb31..2dd03a1877cf 100644 --- a/editeng/source/items/numitem.cxx +++ b/editeng/source/items/numitem.cxx @@ -638,7 +638,7 @@ SvxNumRule::SvxNumRule(const SvxNumRule& rCopy) } } -SvxNumRule::SvxNumRule(SvxNumRule&& rCopy) +SvxNumRule::SvxNumRule(SvxNumRule&& rCopy) noexcept { ++nRefCount; nLevelCount = rCopy.nLevelCount ; @@ -774,7 +774,7 @@ SvxNumRule& SvxNumRule::operator=( const SvxNumRule& rCopy ) return *this; } -SvxNumRule& SvxNumRule::operator=( SvxNumRule&& rCopy ) +SvxNumRule& SvxNumRule::operator=( SvxNumRule&& rCopy ) noexcept { if (this != &rCopy) { diff --git a/include/editeng/numitem.hxx b/include/editeng/numitem.hxx index 8b27c76c7dd1..b4b9e030fb2d 100644 --- a/include/editeng/numitem.hxx +++ b/include/editeng/numitem.hxx @@ -266,7 +266,7 @@ public: eDefaultNumberFormatPositionAndSpaceMode = SvxNumberFormat::LABEL_WIDTH_AND_POSITION ); SvxNumRule(const SvxNumRule& rCopy); - SvxNumRule(SvxNumRule&&); + SvxNumRule(SvxNumRule&&) noexcept; SvxNumRule(SvStream &rStream); ~SvxNumRule(); @@ -274,7 +274,7 @@ public: bool operator!=( const SvxNumRule& rRule ) const {return !(*this == rRule);} SvxNumRule& operator=( const SvxNumRule& ); - SvxNumRule& operator=( SvxNumRule&& ); + SvxNumRule& operator=( SvxNumRule&& ) noexcept; void Store(SvStream &rStream); void dumpAsXml(xmlTextWriterPtr pWriter) const; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits