summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-08-21 15:07:31 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-08-21 15:10:35 +0200
commit64b993e046f23baaacaff1572b7d2a816588b5ef (patch)
tree237dce36a1d4787d168a0520839f6aab22500487 /l10ntools
parent75f41baab6ce75786a91fe461835ee16a23ec18e (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 'l10ntools')
-rw-r--r--l10ntools/source/export.cxx2
-rw-r--r--l10ntools/source/xmlparse.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx
index a481a5576605..b43938966045 100644
--- a/l10ntools/source/export.cxx
+++ b/l10ntools/source/export.cxx
@@ -951,7 +951,7 @@ sal_Bool Export::WriteExportList(ResData *pResData, ExportList *pExportList,
}
else
{
- sLID = OString::valueOf(static_cast<sal_Int64>(i + 1));
+ sLID = OString::number(i + 1);
sText = StripList( sText );
if( sText == "\\\"" )
sText = "\"";
diff --git a/l10ntools/source/xmlparse.cxx b/l10ntools/source/xmlparse.cxx
index 55bf4bc7688f..40550bcd6e85 100644
--- a/l10ntools/source/xmlparse.cxx
+++ b/l10ntools/source/xmlparse.cxx
@@ -1083,10 +1083,10 @@ XMLFile *SimpleXMLParser::Execute( const OUString &rFileName, XMLFile* pXMLFileI
aErrorInformation.sMessage += pXMLFile->GetName();
else
aErrorInformation.sMessage += OUString( "XML-File (");
- aErrorInformation.sMessage += OUString::valueOf(
+ aErrorInformation.sMessage += OUString::number(
sal::static_int_cast< sal_Int64 >(aErrorInformation.nLine));
aErrorInformation.sMessage += OUString( ",");
- aErrorInformation.sMessage += OUString::valueOf(
+ aErrorInformation.sMessage += OUString::number(
sal::static_int_cast< sal_Int64 >(aErrorInformation.nColumn));
aErrorInformation.sMessage += OUString( "): ");