sw/source/core/doc/DocumentContentOperationsManager.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e9a688ed40d3b4ed391dc5bcc90d3c691b607c9f
Author:     Caolán McNamara <[email protected]>
AuthorDate: Wed Dec 2 13:10:40 2020 +0000
Commit:     Caolán McNamara <[email protected]>
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 <[email protected]>

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);
         }
     }
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to