loplugin:reftotemp in codemaker..connectivity

Change-Id: I9da2976410f7c4da8ab0d85150fc87f2b3df9e0d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176275
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2024-11-08 17:33:29 +01:00
parent 3f691b4a16
commit 5fe9b3df62
9 changed files with 59 additions and 59 deletions
+2 -2
View File
@@ -948,7 +948,7 @@ void NetProducer::produceService(
if (ctor.defaultConstructor)
{
const auto& returnType(getNetName(entity->getBase()));
const auto returnType(getNetName(entity->getBase()));
file.beginLine()
.append("public static ")
@@ -1009,7 +1009,7 @@ void NetProducer::produceService(
}
else
{
const auto& returnType(getNetName(entity->getBase()));
const auto returnType(getNetName(entity->getBase()));
const auto* restParam = !ctor.parameters.empty() && ctor.parameters.front().rest
? &ctor.parameters.front()
: nullptr;