summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-05-01 15:15:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-05-01 17:16:40 +0200
commitc2678fb0b409eb75b15e056ba7c91a4320550e4a (patch)
treefb742d3bc95d86ed68f4b130e641c928e2f951f9 /sc/source/ui
parent3d65c10f39e191b7e1ceb6fc94fed9e6196de0aa (diff)
tdf#141973 create the text column to insert into
Change-Id: Ie5a09e7cd45ecbd1a9fd552c251538b2eeaccfb0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114972 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/navipi/content.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx
index 93c094f5f18e..d477fef62439 100644
--- a/sc/source/ui/navipi/content.cxx
+++ b/sc/source/ui/navipi/content.cxx
@@ -870,7 +870,7 @@ void ScContentTree::GetDrawNames( ScContentId nType )
assert(pParent && "InsertContent without parent");
// insert all of these in one go under pParent
m_xTreeView->bulk_insert_for_each(aNames.size(), [this, &aNames](weld::TreeIter& rIter, int nIndex) {
- m_xTreeView->set_text(rIter, aNames[nIndex]);
+ m_xTreeView->set_text(rIter, aNames[nIndex], 0);
m_xTreeView->set_sensitive(rIter, true);
}, pParent);
}