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-18 23:28:58 +0000 |
commit | baa9a119dabfc5e5dbb5c174cebf8c24298bad67 (patch) | |
tree | e2856aebf1705d0226c2770b90050a08a6c9f479 | |
parent | 98502dcc3534f5526eed1ebf801a718ff3f37ecb (diff) |
reset one of the sort containers before refilling, fdo#57465
Change-Id: I758af67efec980a56ec83d8e5e6f5f60a0523ac5
Reviewed-on: https://gerrit.libreoffice.org/1752
Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
-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 668816600a81..78d04ac16a0d 100644 --- a/sc/source/ui/dbgui/tpsort.cxx +++ b/sc/source/ui/dbgui/tpsort.cxx @@ -358,6 +358,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 ) { |