diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-08-21 15:07:31 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-08-21 15:10:35 +0200 |
commit | 64b993e046f23baaacaff1572b7d2a816588b5ef (patch) | |
tree | 237dce36a1d4787d168a0520839f6aab22500487 /forms/source/xforms/datatypes.cxx | |
parent | 75f41baab6ce75786a91fe461835ee16a23ec18e (diff) |
finish deprecation of O(U)String::valueOf()
Compiler plugin to replace with matching number(), boolean() or OUString ctor,
ran it, few manual tweaks, mark as really deprecated.
Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
Diffstat (limited to 'forms/source/xforms/datatypes.cxx')
-rw-r--r-- | forms/source/xforms/datatypes.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/xforms/datatypes.cxx b/forms/source/xforms/datatypes.cxx index 66dbd907856a..a4f522ef50b8 100644 --- a/forms/source/xforms/datatypes.cxx +++ b/forms/source/xforms/datatypes.cxx @@ -741,7 +741,7 @@ namespace xforms { double fValue( 0 ); normalizeValue( _rValue, fValue ); - return OUString::valueOf( fValue ); + return OUString::number( fValue ); } //-------------------------------------------------------------------- @@ -959,7 +959,7 @@ namespace xforms { sal_Int16 nValue( 0 ); OSL_VERIFY( _rValue >>= nValue ); - return OUString::valueOf( (sal_Int32)nValue ); + return OUString::number( nValue ); } //-------------------------------------------------------------------- |