summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-03-23 16:42:07 +0000
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2020-03-24 02:37:15 +0100
commita3b00e6192f8185eed574aa6782fec0ee42f091f (patch)
tree03c098e3de18fe19c1a924f988acbb122c0962a2 /vcl
parente73871e273c815461626782b2b055c946c6042d2 (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/+/90825 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'vcl')
-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 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);