diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-08-15 18:19:08 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-08-16 11:06:39 +0200 |
commit | b607f62fde45a907f17545f4073e53d308b4cd1f (patch) | |
tree | 27127f22225ebb99d9acbe9eb17254881ddf6ec2 /sc/source/ui/dataprovider | |
parent | 03b55edc3e7ca0fc3ff842e6ca1f4e7477a4d6a2 (diff) |
external data: add HTML data provider test
Change-Id: I594581ce388221760554f6272ee3af761f172c05
Reviewed-on: https://gerrit.libreoffice.org/41197
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc/source/ui/dataprovider')
-rw-r--r-- | sc/source/ui/dataprovider/datatransformation.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sc/source/ui/dataprovider/datatransformation.cxx b/sc/source/ui/dataprovider/datatransformation.cxx index 2c2fe72bbcf4..b4251dc7201a 100644 --- a/sc/source/ui/dataprovider/datatransformation.cxx +++ b/sc/source/ui/dataprovider/datatransformation.cxx @@ -91,6 +91,16 @@ void MergeColumnTransformation::Transform(ScDocument& rDoc) rDoc.DeleteCol(0, 0, MAXROW, 0, mnCol2, 1); } +SortTransformation::SortTransformation(const ScSortParam& rSortParam): + maSortParam(rSortParam) +{ +} + +void SortTransformation::Transform(ScDocument& rDoc) +{ + rDoc.Sort(0, maSortParam, false, false, nullptr, nullptr); +} + } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |