Resolves: coverity#705447 Self assignment

in every other !bAbsorb branch we set the StartPara to the EndPara

Change-Id: I4fc877e9d63f823679acf9c4b1550d5e877819be
This commit is contained in:
Caolán McNamara 2014-04-03 15:56:55 +01:00
parent 84770f1fbf
commit 3d330f20ef

View file

@ -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 );