summaryrefslogtreecommitdiffstats
path: root/postprocess/qa/services.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'postprocess/qa/services.cxx')
-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 \""