summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-18 10:17:57 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-18 10:26:37 +0100
commit7af886d7784b321e6cda2a870b514607e355b112 (patch)
treeee2999a27d7237333cbb4e6ccc29cd84b0e1a841 /sc
parent23c099a0236062724430efb986251637095c8d4f (diff)
reset one of the sort containers before refilling, fdo#57465
Change-Id: I758af67efec980a56ec83d8e5e6f5f60a0523ac5
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/dbgui/tpsort.cxx2
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 )
{