diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-01-18 10:17:57 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-01-21 17:47:01 +0000 |
commit | 238f6797e47a5029ad8bd5df3dfc36bbeff6532c (patch) | |
tree | 62ee0d0b12b51fc6dc44047b37fd02c77f02cdd8 | |
parent | bump product version to 3.6.5.2+, release number to 2 (diff) | |
download | core-libreoffice-3-6-5.tar.gz core-libreoffice-3-6-5.zip |
reset one of the sort containers before refilling, fdo#57465
libreoffice-3-6-5
Change-Id: I758af67efec980a56ec83d8e5e6f5f60a0523ac5
Reviewed-on: https://gerrit.libreoffice.org/1754
Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Reviewed-by: Joren De Cuyper <joren.libreoffice@telenet.be>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.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 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 ) { |