summaryrefslogtreecommitdiff
path: root/oox/Module_oox.mk
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2024-01-30 22:30:13 +0100
committerStephan Bergmann <stephan.bergmann@allotropia.de>2024-01-31 09:33:11 +0100
commite4cf6c324cd7491444576ee57d60475d0c4f239c (patch)
treedec1dd49579002f97380284ff6e4febd0efd520e /oox/Module_oox.mk
parentf7039822c7ad3987326e1c20ea4a745c158f9682 (diff)
Embind in-out/out params of primitive type apparently need a wrapper
> let translit = css.i18n.Transliteration.create(Module.getUnoComponentContext()); > let match1; > let match2; > let eq = translit.equals(new Module.OUString("test1"), 0, 5, match1, new Module.OUString("test2"), 0, 5, match2); > console.log('match ' + eq + ', ' + match1 + ', ' + match2); caused an uncaught UnboundTypeError with message "Cannot call uno_Type_com$sun$star$i18n$XTransliteration.equals due to unbound types: Pl", so use > let translit = css.i18n.Transliteration.create(Module.getUnoComponentContext()); > let match1 = new Module.UnoInOutParamLong; > let match2 = new Module.UnoInOutParamLong; > let eq = translit.equals(new Module.OUString("test1"), 0, 5, match1, new Module.OUString("test2"), 0, 5, match2); > console.log('match ' + eq + ', ' + match1.val + ', ' + match2.val); > delete match1; > delete match2; instead Change-Id: Ic5a0a9e37e884817158069702510eab0d29adefa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162784 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'oox/Module_oox.mk')
0 files changed, 0 insertions, 0 deletions