Hi,

when I entered a comment in combination with change tracking into the modal dialog, I have the new string and the corresponding SwRedline, so I would have expected sth. like this(happening in SwTextShell::ExecField)

...
const SwRedline *pRedline = rSh.GetCurrRedline();
...
//now we get the string
...
pRedline->SetComment(sMsg);


But instead, this line is called:

......
rSh.SetRedlineComment(sMsg);
......


Can anyone explain to me why this is neccessary and how it works? All I understand that it is trying to find a redline with lcl_FindCurrRedline (which we actually already have it seems)and then attaching the comment.

Could this be completely removed or which part do I not understand here?

Thanks and Regards
Max

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to