Kaydet (Commit) 136cd0f3 authored tarafından Oliver-Rainer Wittmann's avatar Oliver-Rainer Wittmann Kaydeden (comit) Caolán McNamara

Resolves: #i125050# correct text range for comment/annotation...

at a table cell selection

(cherry picked from commit ec7fc735)

Change-Id: I51fa9ab0a77ab06e295452216865d0fae44bc263
üst 2d86d82a
......@@ -91,7 +91,10 @@ void SwWrtShell::Insert(SwField &rFld)
GetTblCrs()->Normalize( 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