summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-20 20:33:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-21 08:59:05 +0100
commit0454c5717fe2fd0c96ff5b09b4c3a5b71ef8d862 (patch)
tree2c03c79e023f8c41ef60421901cb6e6c2e6d4dbf
parent18f1965834757b4928bd81447457240610652241 (diff)
coverity#1371301 Missing move assignment operator
Change-Id: Ic6f11b8e39bafd401f4b261fa8aad66d8782ebeb
-rw-r--r--sw/source/filter/ww8/ww8par2.cxx2
-rw-r--r--sw/source/filter/ww8/ww8par6.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx
index 5f5c4f82b412..817139d77652 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -2337,7 +2337,7 @@ void wwSectionManager::PrependedInlineNode(const SwPosition &rPos,
OSL_ENSURE(!maSegments.empty(),
"should not be possible, must be at least one segment");
if ((!maSegments.empty()) && (maSegments.back().maStart == rPos.nNode))
- maSegments.back().maStart = SwNodeIndex(rNode);
+ maSegments.back().maStart.Assign(rNode);
}
void WW8TabDesc::CreateSwTable(SvxULSpaceItem* pULSpaceItem)
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index 5f3afa8a64f9..11850a08f24f 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -2408,7 +2408,7 @@ bool SwWW8ImplReader::StartApo(const ApoTestResults &rApo,
void wwSectionManager::JoinNode(const SwPosition &rPos, const SwNode &rNode)
{
if ((!maSegments.empty()) && (maSegments.back().maStart == rPos.nNode))
- maSegments.back().maStart = SwNodeIndex(rNode);
+ maSegments.back().maStart.Assign(rNode);
}
bool SwWW8ImplReader::JoinNode(SwPaM &rPam, bool bStealAttr)