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>
diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx
index 93c094f..d477fef 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);
}