extensions/source/update/check/updatecheckconfig.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 8a828ee75d4f5d0fd2abcd7d74130e57e5c3bd71 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Jun 29 17:24:38 2017 +0200 loplugin:oncevar Change-Id: I4efa87035436e5f2f5c2b636a2b93954d61704f3 diff --git a/extensions/source/update/check/updatecheckconfig.cxx b/extensions/source/update/check/updatecheckconfig.cxx index e61f7edc3e63..1eaab8162485 100644 --- a/extensions/source/update/check/updatecheckconfig.cxx +++ b/extensions/source/update/check/updatecheckconfig.cxx @@ -150,11 +150,10 @@ UpdateCheckROModel::getUpdateEntry(UpdateInfo& rInfo) const rInfo.Sources.push_back( DownloadSource( isDirectDownload, getStringValue(DOWNLOAD_URL) ) ); - OString aStr(RELEASE_NOTE); for(sal_Int32 n=1; n < 6; ++n ) { OUString aUStr = getStringValue( - OString(aStr + OString::number(n)).getStr()); + OString(OStringLiteral(RELEASE_NOTE) + OString::number(n)).getStr()); if( !aUStr.isEmpty() ) rInfo.ReleaseNotes.push_back(ReleaseNote((sal_Int8) n, aUStr)); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits