sc/source/ui/navipi/content.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c2678fb0b409eb75b15e056ba7c91a4320550e4a
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Sat May 1 15:15:20 2021 +0100
Commit:     Caolán McNamara <caol...@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 <caol...@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);
 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to