https://issues.apache.org/ooo/show_bug.cgi?id=121681

            Bug ID: 121681
        Issue Type: DEFECT
           Summary: Wrong sorting of values in Calc
    Classification: Application
           Product: spreadsheet
           Version: AOO400-dev
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: code
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Created attachment 80178
  --> https://issues.apache.org/ooo/attachment.cgi?id=80178&action=edit
File showing the sort error

A SUSE linux user reported a problem in OOo 3.2:

"In the attachment you can see a XY-diagram sorted by x-values which shows a
wrong stair. The whole diagram should look like stairs but oo.org uses the
y-value of the two x-value = 6 points wrong.
The two points with the x-value = 6 have the y-values 0.6333 and 0.7666. If you
click on these two points you can see that the point with y=0.7666 is UNDER the
point with y=0.6333"

I am attaching the document for reference.

The fix is very easy and non-copyrightable:

In file chart2/source/view/main/VDataSeries.cxx

Change the occurance of std::sort (line 312) for std_stable::sort.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Reply via email to