summaryrefslogtreecommitdiff
path: root/sw/source/ui/fldui/inpdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/fldui/inpdlg.cxx')
-rw-r--r--sw/source/ui/fldui/inpdlg.cxx6
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()));
}
buildNorbert Thiebaud