static/source/embindmaker/embindmaker.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 9e873da55c925b0a960950e9edd1e615e54b8edd Author: Stephan Bergmann <stephan.bergm...@allotropia.de> AuthorDate: Wed Jun 5 17:21:10 2024 +0200 Commit: Stephan Bergmann <stephan.bergm...@allotropia.de> CommitDate: Wed Jun 5 22:56:33 2024 +0200 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.bergm...@allotropia.de> diff --git a/static/source/embindmaker/embindmaker.cxx b/static/source/embindmaker/embindmaker.cxx index b696a09c6127..b8184a03e0a9 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,