vcl/source/app/salvtables.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit a3b00e6192f8185eed574aa6782fec0ee42f091f Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Mar 23 16:42:07 2020 +0000 Commit: Adolfo Jayme Barrientos <fit...@ubuntu.com> CommitDate: Tue Mar 24 02:37:15 2020 +0100
tdf#131434 ensure expander icon column is created which the normal ::insert case does, but the bulk insert omitted Change-Id: I9b236e5f0e91292539164d39f0f90e109a1b503e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90825 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com> diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index 6b092f4d89cd..72db47b4e4f7 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -3591,9 +3591,11 @@ public: if (pFixedWidths) set_column_fixed_widths(*pFixedWidths); + Image aDummy; for (int i = 0; i < nSourceCount; ++i) { aVclIter.iter = new SvTreeListEntry; + aVclIter.iter->AddItem(std::make_unique<SvLBoxContextBmp>(aDummy, aDummy, false)); m_xTreeView->Insert(aVclIter.iter, nullptr, TREELIST_APPEND); func(aVclIter, i); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits