diff options
Diffstat (limited to 'cui/source/dialogs/thesdlg.cxx')
-rw-r--r-- | cui/source/dialogs/thesdlg.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx index 8480b2398aae..6e04e19076ea 100644 --- a/cui/source/dialogs/thesdlg.cxx +++ b/cui/source/dialogs/thesdlg.cxx @@ -214,11 +214,10 @@ AlternativesExtraData * ThesaurusAlternativesCtrl::GetExtraData( SvTreeListEntry * ThesaurusAlternativesCtrl::AddEntry( sal_Int32 nVal, const String &rText, bool bIsHeader ) { SvTreeListEntry* pEntry = new SvTreeListEntry; - String aText; + OUString aText; if (bIsHeader && nVal >= 0) { - aText = String::CreateFromInt32( nVal ); - aText += rtl::OUString(". "); + aText = OUString::number( nVal ) + ". "; } pEntry->AddItem( new SvLBoxString( pEntry, 0, String() ) ); // add empty column aText += rText; |