diff options
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/export.cxx | 2 | ||||
-rw-r--r-- | l10ntools/source/xmlparse.cxx | 4 |
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( "): "); |