diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-01-18 10:17:57 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2013-03-04 17:08:55 +0100 |
commit | 19c31098c4da2a84a0fa960cbf5dcea50292c456 (patch) | |
tree | 3b49fea2c279c839c829dd7635fe433b92df9e70 /sc/source/ui | |
parent | 38b9dc7038082b757b673f66c0f02902beffcfe6 (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/source/ui')
-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 ) { |