summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-03-23 16:42:07 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-03-23 20:28:38 +0100
commitb1de953071947e343820dc62c2a0d3b8cf68dc34 (patch)
tree1c5a6134d38a1df3cc5e779cb580121c004110b2
parentbf4f7732fa8b452efb5b1bfa4583357c06bbff2f (diff)
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 <caolanm@redhat.com>
-rw-r--r--vcl/source/app/salvtables.cxx2
1 files changed, 2 insertions, 0 deletions
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);