[Libreoffice-commits] core.git: sc/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sat May 1 15:17:22 UTC 2021
sc/source/ui/navipi/content.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c2678fb0b409eb75b15e056ba7c91a4320550e4a
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat May 1 15:15:20 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat May 1 17:16:40 2021 +0200
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 at redhat.com>
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);
}
More information about the Libreoffice-commits
mailing list