diff options
-rw-r--r-- | extensions/source/update/check/download.cxx | 2 | ||||
-rw-r--r-- | extensions/source/update/check/updatecheck.cxx | 2 | ||||
-rw-r--r-- | extensions/source/update/check/updatecheckconfig.cxx | 2 | ||||
-rw-r--r-- | extensions/source/update/check/updatehdl.cxx | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/extensions/source/update/check/download.cxx b/extensions/source/update/check/download.cxx index 4660da3c97f6..093ef0246bfb 100644 --- a/extensions/source/update/check/download.cxx +++ b/extensions/source/update/check/download.cxx @@ -323,7 +323,7 @@ bool curl_run(const OUString& rURL, OutData& out, const OString& aProxyHost, sal else { aMessage += OString( RTL_CONSTASCII_STRINGPARAM( ":error code = " ) ); - aMessage += aMessage.valueOf( nError ); + aMessage += OString::number( nError ); aMessage += OString( RTL_CONSTASCII_STRINGPARAM( " !" ) ); } } diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx index 782374fec1c9..5eac7a0ffa87 100644 --- a/extensions/source/update/check/updatecheck.cxx +++ b/extensions/source/update/check/updatecheck.cxx @@ -1481,7 +1481,7 @@ UpdateCheck::storeReleaseNote(sal_Int8 nNum, const OUString &rURL) rc = osl::Directory::createPath( aTargetDir ); OUString aFileName = "releasenote" + - OUString::valueOf( (sal_Int32) nNum ) + + OUString::number( nNum ) + ".url"; OUString aFilePath; diff --git a/extensions/source/update/check/updatecheckconfig.cxx b/extensions/source/update/check/updatecheckconfig.cxx index dd88856f38ec..799d6e6e63d9 100644 --- a/extensions/source/update/check/updatecheckconfig.cxx +++ b/extensions/source/update/check/updatecheckconfig.cxx @@ -173,7 +173,7 @@ UpdateCheckROModel::getUpdateEntry(UpdateInfo& rInfo) const for(sal_Int32 n=1; n < 6; ++n ) { OUString aUStr = getStringValue( - OString(aStr + OString::valueOf(n)).getStr()); + OString(aStr + OString::number(n)).getStr()); if( !aUStr.isEmpty() ) rInfo.ReleaseNotes.push_back(ReleaseNote((sal_Int8) n, aUStr)); } diff --git a/extensions/source/update/check/updatehdl.cxx b/extensions/source/update/check/updatehdl.cxx index 5abe4c8432f4..86fc8ff10662 100644 --- a/extensions/source/update/check/updatehdl.cxx +++ b/extensions/source/update/check/updatehdl.cxx @@ -629,7 +629,7 @@ OUString UpdateHandler::loadString( const uno::Reference< resource::XResourceBun sal_Int32 nResourceId ) const { OUString sString; - OUString sKey = "string:" + OUString::valueOf( nResourceId ); + OUString sKey = "string:" + OUString::number( nResourceId ); try { @@ -651,7 +651,7 @@ OUString UpdateHandler::substVariables( const OUString &rSource ) const searchAndReplaceAll( sString, "%NEXTVERSION", msNextVersion ); searchAndReplaceAll( sString, "%DOWNLOAD_PATH", msDownloadPath ); searchAndReplaceAll( sString, "%FILE_NAME", msDownloadFile ); - searchAndReplaceAll( sString, "%PERCENT", OUString::valueOf( mnPercent ) ); + searchAndReplaceAll( sString, "%PERCENT", OUString::number( mnPercent ) ); return sString; } @@ -738,7 +738,7 @@ void UpdateHandler::loadStrings() for ( int i=0; i < BUTTON_COUNT; i++ ) { - msButtonIDs[ i ] = "BUTTON_" + OUString::valueOf( (sal_Int32) i ); + msButtonIDs[ i ] = "BUTTON_" + OUString::number( i ); } } |