summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-03 15:56:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-04 13:57:46 +0100
commit3d330f20ef65a8723bcb1b4fde7a673a41b5554c (patch)
treea82d8440ff4e240e69ef08150b8f05719815865d /editeng
parent84770f1fbfd456f70c5c48e158b268a773ca9c45 (diff)
Resolves: coverity#705447 Self assignment
in every other !bAbsorb branch we set the StartPara to the EndPara Change-Id: I4fc877e9d63f823679acf9c4b1550d5e877819be
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/uno/unotext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index 9c46bfbe8df7..1bbd3b2e111d 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -1891,8 +1891,8 @@ void SAL_CALL SvxUnoTextBase::insertControlCharacter( const uno::Reference< text
}
else
{
+ aRange.nStartPara = aRange.nEndPara;
aRange.nStartPos = aRange.nEndPos;
- aRange.nStartPara = aRange.nStartPara;
}
pForwarder->QuickInsertLineBreak( aRange );