[PATCH] Change in core[libreoffice-3-6-5]: reset one of the sort containers before refilling, fdo#57465
Markus Mohrhard (via Code Review)
gerrit at gerrit.libreoffice.org
Fri Jan 18 01:37:38 PST 2013
Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/1754
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/54/1754/1
reset one of the sort containers before refilling, fdo#57465
Change-Id: I758af67efec980a56ec83d8e5e6f5f60a0523ac5
---
M sc/source/ui/dbgui/tpsort.cxx
1 file changed, 2 insertions(+), 0 deletions(-)
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 @@
SCROW nFirstSortRow = aSortData.nRow1;
SCTAB nTab = pViewData->GetTabNo();
sal_uInt16 i = 1;
+ nFieldArr.clear();
+ nFieldArr.push_back(0);
if ( bSortByRows )
{
--
To view, visit https://gerrit.libreoffice.org/1754
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I758af67efec980a56ec83d8e5e6f5f60a0523ac5
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-3-6-5
Gerrit-Owner: Markus Mohrhard <markus.mohrhard at googlemail.com>
More information about the LibreOffice
mailing list