diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-24 00:51:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-24 11:21:41 +0100 |
commit | 035a88c73597a01439d86c2610763126ae6fd927 (patch) | |
tree | a5d5709d019e778cf09388d79fcc84c0e995d240 /cui | |
parent | uno.py is in bin on Windows, and in lib elsewhere, what fun. (diff) | |
download | core-035a88c73597a01439d86c2610763126ae6fd927.tar.gz core-035a88c73597a01439d86c2610763126ae6fd927.zip |
String::CreateFromInt64->rtl::OUString::valueOf
Diffstat (limited to 'cui')
-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; } |