diff options
Diffstat (limited to 'cui/source/options/optgdlg.cxx')
-rw-r--r-- | cui/source/options/optgdlg.cxx | 6 |
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; } |