tdf#166139 uno-skeletonmaker need to register all service names in passive registration

Change-Id: I5bb176035d09de91459e86e83ec41c772d3ec019
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184126
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
This commit is contained in:
prrvchr
2025-04-13 23:44:58 +02:00
committed by Stephan Bergmann
parent 925e626991
commit b1528cf4d1

View File

@@ -737,11 +737,6 @@ static void generateClassDefinition(std::ostream& o,
<< classname << ".class.getName();\n";
if (!services.empty()) {
// additional member needed for passive registration in LOEclipse
if (options.passiveregistration) {
o << " private static final String m_serviceName = \""
<< services.begin()->replace('/','.') << "\";\n";
}
o << " private static final String[] m_serviceNames = {\n";
std::set< OUString >::const_iterator iter = services.begin();
while (iter != services.end()) {