[Libreoffice-commits] core.git: extensions/source
Stephan Bergmann
sbergman at redhat.com
Thu Jun 29 15:25:10 UTC 2017
extensions/source/update/check/updatecheckconfig.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 8a828ee75d4f5d0fd2abcd7d74130e57e5c3bd71
Author: Stephan Bergmann <sbergman at 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));
}
More information about the Libreoffice-commits
mailing list