To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=107672
                 Issue #|107672
                 Summary|[sw] SwXReferenceMark: may attach to wrong format
               Component|Word processor
                 Version|DEV300m66
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|programming
             Assigned to|mst
             Reported by|mst





------- Additional comments from [email protected] Mon Dec 14 17:06:59 +0000 
2009 -------
if SwXReferenceMark::attach is called with a non-empty text range and there is
already a reference mark at the given text range (same start and end position),
then the new SwXReferenceMark may attach to the wrong format.

this is caused by SwTxtNode::GetTxtAttr, which is not well-defined if several
hints of the same type have the same start and end position: which hint is
returned depends on the ordering of pointers, i.e. it is non-deterministic.

in the complex test TextPortionEnumerationTest, the "testRefMark3" test may fail
due to this problem.

it seems that the SwXDocumentIndexMark suffers from same problem.

---------------------------------------------------------------------
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