diff options
author | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-06-05 17:21:10 +0200 |
---|---|---|
committer | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-06-05 22:56:33 +0200 |
commit | 9e873da55c925b0a960950e9edd1e615e54b8edd (patch) | |
tree | 06518e274cc6921549ab7e70dfee4fdf19d415d7 /static | |
parent | 886cbcd7627985692d4d2ad3197b1af08378d430 (diff) |
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>
Diffstat (limited to 'static')
-rw-r--r-- | static/source/embindmaker/embindmaker.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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, |