[Libreoffice-commits] core.git: basctl/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Nov 21 14:50:22 UTC 2018
basctl/source/basicide/bastype3.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit e37b7e8a4730fad470b0b5daa0ab2bf905edc3a5
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Nov 21 12:32:25 2018 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Nov 21 15:49:54 2018 +0100
processing treeview entries in the wrong order
Change-Id: Ica2240750273996a84ebcf0b8c089aedbbc6c913
Reviewed-on: https://gerrit.libreoffice.org/63711
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/basctl/source/basicide/bastype3.cxx b/basctl/source/basicide/bastype3.cxx
index d891994bf6e7..eeaf863d05cc 100644
--- a/basctl/source/basicide/bastype3.cxx
+++ b/basctl/source/basicide/bastype3.cxx
@@ -560,9 +560,7 @@ EntryDescriptor SbTreeListBox::GetEntryDescriptor(weld::TreeIter* pEntry)
std::vector<std::pair<Entry*, OUString>> aEntries;
- m_xControl->get_text(*pEntry);
std::unique_ptr<weld::TreeIter> xIter(m_xControl->make_iterator(pEntry));
- m_xControl->get_text(*xIter);
bool bValidIter = true;
do
{
@@ -594,6 +592,7 @@ EntryDescriptor SbTreeListBox::GetEntryDescriptor(weld::TreeIter* pEntry)
if ( !aEntries.empty() )
{
+ std::reverse(aEntries.begin(), aEntries.end());
for (auto& pair : aEntries)
{
Entry* pBE = pair.first;
More information about the Libreoffice-commits
mailing list