diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-03-18 16:54:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-03-18 20:11:40 +0100 |
commit | 16f84d79ad209a4a6e033880d3059810c37e73c0 (patch) | |
tree | 90f40eaa40e6448709d0ad83e699f4a3cd6350ee /sfx2/source/doc/new.cxx | |
parent | 86b160886f6d5580a84f5008682cc93fa8c63e39 (diff) |
add id column support to tree view
Change-Id: I11702f58e488bcf3fcd49c45c11b5059298f81fd
Reviewed-on: https://gerrit.libreoffice.org/51512
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/source/doc/new.cxx')
-rw-r--r-- | sfx2/source/doc/new.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/doc/new.cxx b/sfx2/source/doc/new.cxx index ef6fbf939a93..1ec298ac3e52 100644 --- a/sfx2/source/doc/new.cxx +++ b/sfx2/source/doc/new.cxx @@ -188,9 +188,9 @@ IMPL_LINK( SfxNewFileDialog, RegionSelect, weld::TreeView&, rBox, void ) if (nc != -1 && nc != 0) aSel = aSel.replaceAt(nc-1, 1, ""); if ( aSel.compareToIgnoreAsciiCase( SfxResId(STR_STANDARD) ) == 0 ) - m_xTemplateLb->append(SfxResId(STR_NONE)); + m_xTemplateLb->append_text(SfxResId(STR_NONE)); for (sal_uInt16 i = 0; i < nCount; ++i) - m_xTemplateLb->append(m_aTemplates.GetName(nRegion, i)); + m_xTemplateLb->append_text(m_aTemplates.GetName(nRegion, i)); m_xTemplateLb->thaw(); m_xTemplateLb->select(0); TemplateSelect(*m_xTemplateLb); @@ -303,7 +303,7 @@ SfxNewFileDialog::SfxNewFileDialog(weld::Window *pParent, SfxNewFileDialogMode n if (nCount) { for(sal_uInt16 i = 0; i < nCount; ++i) - m_xRegionLb->append(m_aTemplates.GetFullRegionName(i)); + m_xRegionLb->append_text(m_aTemplates.GetFullRegionName(i)); m_xRegionLb->connect_changed(LINK(this, SfxNewFileDialog, RegionSelect)); } |