embindmaker: Fix names for "uno_Sequence_unsigned hyper" etc.

...to rather be "uno_Sequence_unsigned_hyper" etc. (without an embedded space)

Change-Id: I1a02a12077a1e0a5468dc3c0d04f86bb0e951670
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168478
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
This commit is contained in:
Stephan Bergmann
2024-06-05 22:56:33 +02:00
parent 886cbcd762
commit 9e873da55c
+1 -1
View File
@@ -128,7 +128,7 @@ getServiceConstructorName(unoidl::SingleInterfaceBasedServiceEntity::Constructor
return constructor.defaultConstructor ? u"create"_ustr : constructor.name;
}
OUString jsName(OUString const& name) { return name.replace('.', '$'); }
OUString jsName(OUString const& name) { return name.replace(' ', '_').replace('.', '$'); }
OUString
jsServiceConstructor(OUString const& service,