[Libreoffice-commits] .: sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Jan 18 01:25:02 PST 2013


 sc/source/ui/dbgui/tpsort.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 7af886d7784b321e6cda2a870b514607e355b112
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Fri Jan 18 10:17:57 2013 +0100

    reset one of the sort containers before refilling, fdo#57465
    
    Change-Id: I758af67efec980a56ec83d8e5e6f5f60a0523ac5

diff --git a/sc/source/ui/dbgui/tpsort.cxx b/sc/source/ui/dbgui/tpsort.cxx
index 6688166..78d04ac 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 )
             {


More information about the Libreoffice-commits mailing list