[Libreoffice-commits] .: Branch 'libreoffice-3-6-5' - sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Jan 21 09:47:20 PST 2013


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

New commits:
commit 238f6797e47a5029ad8bd5df3dfc36bbeff6532c
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
    Reviewed-on: https://gerrit.libreoffice.org/1754
    Reviewed-by: Kohei Yoshida <kohei.yoshida at gmail.com>
    Tested-by: Kohei Yoshida <kohei.yoshida at gmail.com>
    Reviewed-by: Joren De Cuyper <joren.libreoffice at telenet.be>
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>

diff --git a/sc/source/ui/dbgui/tpsort.cxx b/sc/source/ui/dbgui/tpsort.cxx
index 38724dd..9a2145d 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 )
             {


More information about the Libreoffice-commits mailing list