summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optgdlg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 503e4bb7778e..eebe5f4ceda6 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -539,9 +539,9 @@ IMPL_LINK( OfaMiscTabPage, TwoFigureHdl, NumericField*, pEd )
IMPL_LINK( OfaMiscTabPage, TwoFigureConfigHdl, NumericField*, pEd )
{
sal_Int64 nNum = aYearValueField.GetValue();
- String aOutput( String::CreateFromInt64( nNum ) );
- aYearValueField.SetText( aOutput );
- aYearValueField.SetSelection( Selection( 0, aOutput.Len() ) );
+ rtl::OUString aOutput(rtl::OUString::valueOf(nNum));
+ aYearValueField.SetText(aOutput);
+ aYearValueField.SetSelection( Selection( 0, aOutput.getLength() ) );
TwoFigureHdl( pEd );
return 0;
}