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 /sax | |
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 'sax')
-rw-r--r-- | sax/source/expatwrap/sax_expat.cxx | 2 | ||||
-rw-r--r-- | sax/source/tools/converter.cxx | 2 | ||||
-rw-r--r-- | sax/source/tools/fshelper.cxx | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/sax/source/expatwrap/sax_expat.cxx b/sax/source/expatwrap/sax_expat.cxx index 58b2e4410c3d..47812e80f06f 100644 --- a/sax/source/expatwrap/sax_expat.cxx +++ b/sax/source/expatwrap/sax_expat.cxx @@ -731,7 +731,7 @@ OUString getErrorMessage( XML_Error xmlE, OUString sSystemId , sal_Int32 nLine ) OUString str("["); str += sSystemId; str += " line "; - str += OUString::valueOf( nLine ); + str += OUString::number( nLine ); str += "]: "; str += Message; str += "error"; diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx index ac1d488ba76d..ee041fd87480 100644 --- a/sax/source/tools/converter.cxx +++ b/sax/source/tools/converter.cxx @@ -756,7 +756,7 @@ bool Converter::convertDuration(double& rfTime, } else { - sDoubleStr += OUString::valueOf(c); + sDoubleStr += OUString(c); } } } diff --git a/sax/source/tools/fshelper.cxx b/sax/source/tools/fshelper.cxx index 2f96cca7f6f3..f4b8ddd50610 100644 --- a/sax/source/tools/fshelper.cxx +++ b/sax/source/tools/fshelper.cxx @@ -118,17 +118,17 @@ FastSerializerHelper* FastSerializerHelper::write(const OUString& value) FastSerializerHelper* FastSerializerHelper::write(sal_Int32 value) { - return write(OUString::valueOf(value)); + return write(OUString::number(value)); } FastSerializerHelper* FastSerializerHelper::write(sal_Int64 value) { - return write(OUString::valueOf(value)); + return write(OUString::number(value)); } FastSerializerHelper* FastSerializerHelper::write(double value) { - return write(OUString::valueOf(value)); + return write(OUString::number(value)); } FastSerializerHelper* FastSerializerHelper::writeEscaped(const char* value) |