[Libreoffice-commits] core.git: sw/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed Dec 2 17:18:58 UTC 2020
sw/source/core/doc/DocumentContentOperationsManager.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e9a688ed40d3b4ed391dc5bcc90d3c691b607c9f
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Dec 2 13:10:40 2020 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Dec 2 18:18:08 2020 +0100
cid#1371301 silence Missing move assignment operator
and
cid#1371215 Missing move assignment operator
Change-Id: Id19cccd50b2cf378cc3b645d5a16d233f8985550
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107074
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sw/source/core/doc/DocumentContentOperationsManager.cxx b/sw/source/core/doc/DocumentContentOperationsManager.cxx
index 40850e25fd40..4d140fcd5b00 100644
--- a/sw/source/core/doc/DocumentContentOperationsManager.cxx
+++ b/sw/source/core/doc/DocumentContentOperationsManager.cxx
@@ -3478,7 +3478,7 @@ void DocumentContentOperationsManager::CopyWithFlyInFly(
if (bEndIsEqualEndPos)
{
- const_cast<SwNodeIndex&>(rRg.aEnd) = SwNodeIndex(aSavePos, +1);
+ const_cast<SwNodeIndex&>(rRg.aEnd).Assign(aSavePos.GetNode(), +1);
}
}
More information about the Libreoffice-commits
mailing list