summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-06-01 13:58:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-06-01 16:26:08 +0200
commitfca96bf4b21ca47a98a2bd0114f7c22935acc54b (patch)
treec9953f1681f21cdfb50e0099837d68ab270fdc50 /editeng
parentc275617a9d547e13def33e3d06068c08bf492f78 (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.cxx4
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)
{