diff options
Diffstat (limited to 'sw/source/core/edit/edattr.cxx')
-rw-r--r-- | sw/source/core/edit/edattr.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/edit/edattr.cxx b/sw/source/core/edit/edattr.cxx index 74b58a50c44e..1133863f2364 100644 --- a/sw/source/core/edit/edattr.cxx +++ b/sw/source/core/edit/edattr.cxx @@ -346,15 +346,15 @@ sal_uInt16 SwEditShell::GetSeqFtnList( SwSeqFldList& rList, bool bEndNotes ) if( pTxtNd ) { - String sTxt( rFtn.GetViewNumStr( *mpDoc )); - if( sTxt.Len() ) - sTxt += ' '; + OUString sTxt( rFtn.GetViewNumStr( *mpDoc )); + if( !sTxt.isEmpty() ) + sTxt += " "; sTxt += pTxtNd->GetExpandTxt( 0, USHRT_MAX ); _SeqFldLstElem* pNew = new _SeqFldLstElem( sTxt, pTxtFtn->GetSeqRefNo() ); while( rList.InsertSort( pNew ) ) - pNew->sDlgEntry += ' '; + pNew->sDlgEntry += " "; } } } |