diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-06-01 13:58:17 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-06-01 16:26:08 +0200 |
commit | fca96bf4b21ca47a98a2bd0114f7c22935acc54b (patch) | |
tree | c9953f1681f21cdfb50e0099837d68ab270fdc50 /editeng | |
parent | c275617a9d547e13def33e3d06068c08bf492f78 (diff) |
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 <sbergman@redhat.com>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/items/numitem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |