You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by pf...@apache.org on 2013/01/31 22:23:01 UTC

svn commit: r1441196 - /openoffice/trunk/main/chart2/source/view/main/VDataSeries.cxx

Author: pfg
Date: Thu Jan 31 21:23:01 2013
New Revision: 1441196

URL: http://svn.apache.org/viewvc?rev=1441196&view=rev
Log:
i121681 - Wrong sorting of values in Calc

Modified:
    openoffice/trunk/main/chart2/source/view/main/VDataSeries.cxx

Modified: openoffice/trunk/main/chart2/source/view/main/VDataSeries.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/chart2/source/view/main/VDataSeries.cxx?rev=1441196&r1=1441195&r2=1441196&view=diff
==============================================================================
--- openoffice/trunk/main/chart2/source/view/main/VDataSeries.cxx (original)
+++ openoffice/trunk/main/chart2/source/view/main/VDataSeries.cxx Thu Jan 31 21:23:01 2013
@@ -309,7 +309,7 @@ void VDataSeries::doSortByXValues()
         }
 
         //do sort
-        std::sort( aTmp.begin(), aTmp.end(), lcl_LessXOfPoint() );
+        std::stable_sort( aTmp.begin(), aTmp.end(), lcl_LessXOfPoint() );
 
         //fill the sorted points back to the mambers
         m_aValues_X.Doubles.realloc( m_nPointCount );