diff options
author | Noel Grandin <noel@peralex.com> | 2013-10-14 10:22:30 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-10-15 12:25:46 +0200 |
commit | 05608879c9278d9fdc203c3c743c43f0938f1b0d (patch) | |
tree | ed1db1287679d99ee55a6af9c59d4a22c14e53f6 /sw/source/ui/fldui/inpdlg.cxx | |
parent | a8d9fef50ecea69a5b8cbf19d638be7a78eda0d3 (diff) |
convert sw/source/ui/fldui/*.cxx from String to OUString
Change-Id: Ibe97d7968eb8375fd3b9bd3c0c9148084b37a9f8
Diffstat (limited to 'sw/source/ui/fldui/inpdlg.cxx')
-rw-r--r-- | sw/source/ui/fldui/inpdlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/fldui/inpdlg.cxx b/sw/source/ui/fldui/inpdlg.cxx index c6e63403f704..66c8982ced13 100644 --- a/sw/source/ui/fldui/inpdlg.cxx +++ b/sw/source/ui/fldui/inpdlg.cxx @@ -60,7 +60,7 @@ SwFldInputDlg::SwFldInputDlg( Window *pParent, SwWrtShell &rS, } // evaluation here - String aStr; + OUString aStr; if( RES_INPUTFLD == pField->GetTyp()->Which() ) { // it is an input field // @@ -86,7 +86,7 @@ SwFldInputDlg::SwFldInputDlg( Window *pParent, SwWrtShell &rS, { // it is a SetExpression pSetFld = (SwSetExpField*)pField; - String sFormula(pSetFld->GetFormula()); + OUString sFormula(pSetFld->GetFormula()); //values are formatted - formulas are not CharClass aCC( LanguageTag( pSetFld->GetLanguage() )); if( aCC.isNumeric( sFormula )) @@ -105,7 +105,7 @@ SwFldInputDlg::SwFldInputDlg( Window *pParent, SwWrtShell &rS, m_pOKBT->Enable( bEnable ); m_pEditED->SetReadOnly( !bEnable ); - if( aStr.Len() ) + if( !aStr.isEmpty() ) m_pEditED->SetText(convertLineEnd(aStr, GetSystemLineEnd())); } |