diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-04-22 22:47:48 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-04-23 21:08:25 -0400 |
commit | 68fccdc9872c1bf36b2851d58929d6cdcc2e2b2e (patch) | |
tree | 6d3b26f0bfb1e093ca9b7dbb23eae83ed88efc7d /sc/inc/table.hxx | |
parent | Apply sorted patterns as ranges instead of row-by-row. (diff) | |
download | core-68fccdc9872c1bf36b2851d58929d6cdcc2e2b2e.tar.gz core-68fccdc9872c1bf36b2851d58929d6cdcc2e2b2e.zip |
New method SortReorderByRow() for the new row-based reordering.
Easier to follow this way.
Change-Id: Idf7e93106f1e1927967f4917062ee619ed71d694
Diffstat (limited to 'sc/inc/table.hxx')
-rw-r--r-- | sc/inc/table.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx index f6e258380a3f..7610eb799961 100644 --- a/sc/inc/table.hxx +++ b/sc/inc/table.hxx @@ -1016,7 +1016,8 @@ private: short Compare( ScSortInfoArray*, SCCOLROW nIndex1, SCCOLROW nIndex2) const; ScSortInfoArray* CreateSortInfoArray( SCCOLROW nInd1, SCCOLROW nInd2, bool bKeepQuery ); void QuickSort( ScSortInfoArray*, SCsCOLROW nLo, SCsCOLROW nHi); - void SortReorder( ScSortInfoArray*, ScProgress* ); + void SortReorder( ScSortInfoArray* pArray, ScProgress* pProgress ); + void SortReorderByRow( ScSortInfoArray* pArray, ScProgress* pProgress ); bool CreateExcelQuery(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScQueryParam& rQueryParam); bool CreateStarQuery(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScQueryParam& rQueryParam); |