vcl/source/app/salvtables.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit b1de953071947e343820dc62c2a0d3b8cf68dc34 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Mar 23 16:42:07 2020 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Mar 23 20:28:38 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/+/90928 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index e64e80131ba5..cf83fa8a0cd9 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -3534,9 +3534,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