summaryrefslogtreecommitdiffstats
path: root/postprocess
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 12:34:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 20:21:55 +0200
commitaea932b58bbb2346fb5c1bc02bcfed3e43dedabc (patch)
tree9ea2c3ea1327740b441753fdfe6438b7a66dd2a0 /postprocess
parentUpdate git submodules (diff)
downloadcore-aea932b58bbb2346fb5c1bc02bcfed3e43dedabc.tar.gz
core-aea932b58bbb2346fb5c1bc02bcfed3e43dedabc.zip
loplugin:sequenceloop in postprocess..reportdesign
Change-Id: I86b9174c37e4a347a3a8ac6c2707052167e6fdc0 Reviewed-on: https://gerrit.libreoffice.org/77522 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'postprocess')
-rw-r--r--postprocess/qa/services.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/postprocess/qa/services.cxx b/postprocess/qa/services.cxx
index 321432871ddf..a807a037e80e 100644
--- a/postprocess/qa/services.cxx
+++ b/postprocess/qa/services.cxx
@@ -106,7 +106,8 @@ void addService(
if (!allServices->insert(service).second) {
return;
}
- for (auto const & serv: service->getMandatoryServices()) {
+ const auto aMandatoryServices = service->getMandatoryServices();
+ for (auto const & serv : aMandatoryServices) {
addService(serv, allServices);
}
}
@@ -400,7 +401,7 @@ void Test::createInstance(
+ msg(name) + "\" reports wrong implementation name")
.getStr()),
expImpl, info->getImplementationName());
- css::uno::Sequence<OUString> servs(info->getSupportedServiceNames());
+ const css::uno::Sequence<OUString> servs(info->getSupportedServiceNames());
CPPUNIT_ASSERT_MESSAGE(
(OString(
"instantiating \"" + msg(implementationName) + "\" via \""