Kaydet (Commit) ec7fc735 authored tarafından Oliver-Rainer Wittmann's avatar Oliver-Rainer Wittmann

125050: correct text range for comment/annotation at a table cell selection

üst d74e7cd2
......@@ -100,7 +100,10 @@ void SwWrtShell::Insert( SwField& rFld )
GetTblCrs()->Normalize( sal_False );
const SwPosition rStartPos( *(GetTblCrs()->GetMark()->nNode.GetNode().GetCntntNode()), 0 );
KillPams();
EndPara();
if ( !IsEndOfPara() )
{
EndPara();
}
const SwPosition rEndPos( *GetCurrentShellCursor().GetPoint() );
pAnnotationTextRange = new SwPaM( rStartPos, rEndPos );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment