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>
diff --git a/static/source/embindmaker/embindmaker.cxx b/static/source/embindmaker/embindmaker.cxx
index b696a09..b8184a0 100644
--- a/static/source/embindmaker/embindmaker.cxx
+++ b/static/source/embindmaker/embindmaker.cxx
@@ -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,