[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - basctl/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Nov 21 14:50:40 UTC 2018
basctl/source/basicide/bastype3.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 1bc87d298c3fa70716ce7382c3959ce385e2c25e
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:50:12 2018 +0100
processing treeview entries in the wrong order
Change-Id: Ica2240750273996a84ebcf0b8c089aedbbc6c913
Reviewed-on: https://gerrit.libreoffice.org/63712
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 f2d23347afc0..cc055771969d 100644
--- a/basctl/source/basicide/bastype3.cxx
+++ b/basctl/source/basicide/bastype3.cxx
@@ -559,9 +559,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
{
@@ -593,6 +591,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