Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/2093
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/93/2093/1
resorted SvTreeLists munged horribly
e.g. tools->options->paths, click the sort icon, reclick it few
times and the list doesn't reverse but instead shows the
same two entries over and over again.
Regression since fb01d8e132ab9097ed30b3bc4c7585622df591ad
Change-Id: Ifc151ad72a27f1cdc3141e356ad6d100e6219cc2
(cherry picked from commit dde8e266084c89860a9a91f2a29ac31b730a9c4a)
---
M svtools/source/contnr/treelist.cxx
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/svtools/source/contnr/treelist.cxx b/svtools/source/contnr/treelist.cxx
index d0125f4..43968c5 100644
--- a/svtools/source/contnr/treelist.cxx
+++ b/svtools/source/contnr/treelist.cxx
@@ -1583,6 +1583,7 @@
// Recursively sort child entries.
ResortChildren(p);
}
+ SetListPositions(pParent->maChildren); // correct list position in target list
}
void SvTreeList::GetInsertionPos( SvTreeListEntry* pEntry, SvTreeListEntry* pParent,
--
To view, visit https://gerrit.libreoffice.org/2093
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifc151ad72a27f1cdc3141e356ad6d100e6219cc2
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Caolán McNamara <caolanm@redhat.com>
Context
- [PATCH libreoffice-4-0] resorted SvTreeLists munged horribly · via Code Review
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.