To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68524


User tl changed the following:

                What    |Old value                 |New value
================================================================================
                      CC|''                        |'cl'
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Mon Aug 14 02:03:54 -0700 
2006 -------
The original working code in SvxUnoTextBase::insertTextContent m172 looked like
this:
                aSelection.nEndPos += 1;
                aSelection.nStartPos = aSelection.nEndPos;
                pRange->SetSelection( aSelection );
Because aSelection is local object shadowing the the object aSelection class
member for warning-free code it was changed to this:
                maSelection.nEndPos += 1;
                maSelection.nStartPos = aSelection.nEndPos;
                pRange->SetSelection( aSelection );
I changed it to
        aSelection.nEndPos += 1;
        aSelection.nStartPos = aSelection.nEndPos;
        //maSelection = aSelection; //???
        pRange->SetSelection( aSelection );
which is basically what was done before.
But since I think the class object should also internally keep track of the
selection I would think the line
        //maSelection = aSelection; //???
should be uncommented in order to have the internal and returned selection 
match.
BTW: This would have been also a problem in the original code. But it seems no
one ever ran into this...

Need to ask CL about this.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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

Reply via email to