diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-02-25 12:19:40 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-02-25 14:59:07 +0000 |
commit | 2a0ad98ba798a280de649e17fb7212f6b4077917 (patch) | |
tree | fe1e0780afb8868d54ff2949d07c26201e5e687d | |
parent | 4aedd51afe0804dc1cbf6cff245aab2a34e04035 (diff) |
coverity#1371301 Missing move assignment operator
and
coverity#1371215 Missing move assignment operator
Change-Id: Ib595dbab2525ac63d1e4174835876c08adba7a64
-rw-r--r-- | sw/source/core/unocore/unotext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unotext.cxx b/sw/source/core/unocore/unotext.cxx index 78cce4887deb..b3e7704ef12e 100644 --- a/sw/source/core/unocore/unotext.cxx +++ b/sw/source/core/unocore/unotext.cxx @@ -1357,7 +1357,7 @@ SwXText::insertTextPortion( SwUnoCursorHelper::DocInsertStringSplitCR( *m_pImpl->m_pDoc, rCursor, rText, false); SwUnoCursorHelper::SelectPam(rCursor, true); - rCursor.GetPoint()->nNode = SwNodeIndex(nodeIndex, +1); + rCursor.GetPoint()->nNode.Assign(nodeIndex.GetNode(), +1); rCursor.GetPoint()->nContent = nContentPos; } |