diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-01-18 10:17:57 +0100 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-01-19 00:09:50 +0000 |
commit | c3f7589fb540072f3a2434f6de99fe2472dad3b1 (patch) | |
tree | 30d7a6ae707a4f3beb007a9234f68918918f1c43 /sc | |
parent | 4ca4d659de8ff32572634d9e3ef7ea7b21ef87f9 (diff) |
reset one of the sort containers before refilling, fdo#57465
Change-Id: I758af67efec980a56ec83d8e5e6f5f60a0523ac5
Reviewed-on: https://gerrit.libreoffice.org/1753
Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/dbgui/tpsort.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/dbgui/tpsort.cxx b/sc/source/ui/dbgui/tpsort.cxx index 38724dd4b3ed..9a2145d85fc9 100644 --- a/sc/source/ui/dbgui/tpsort.cxx +++ b/sc/source/ui/dbgui/tpsort.cxx @@ -341,6 +341,8 @@ void ScTabPageSortFields::FillFieldLists( sal_uInt16 nStartField ) SCROW nFirstSortRow = aSortData.nRow1; SCTAB nTab = pViewData->GetTabNo(); sal_uInt16 i = 1; + nFieldArr.clear(); + nFieldArr.push_back(0); if ( bSortByRows ) { |