diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-29 17:24:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-29 17:24:38 +0200 |
commit | 8a828ee75d4f5d0fd2abcd7d74130e57e5c3bd71 (patch) | |
tree | 652d4c86378ce383df5118b5cf467c9ad3e6c530 /extensions | |
parent | ad17c13cf1ad8c58bc1db9c28eaba5056c40f385 (diff) |
loplugin:oncevar
Change-Id: I4efa87035436e5f2f5c2b636a2b93954d61704f3
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/update/check/updatecheckconfig.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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)); } |