From 035a88c73597a01439d86c2610763126ae6fd927 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 24 Aug 2011 00:51:49 +0100 Subject: String::CreateFromInt64->rtl::OUString::valueOf --- cui/source/options/optgdlg.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cui') 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; } -- cgit v1.2.3