diff options
author | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-04-19 13:26:49 +0200 |
---|---|---|
committer | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-04-20 11:57:03 +0200 |
commit | 1c8893876015b667fba5dabbc9d4422896021898 (patch) | |
tree | a059ac763e1845a8c9ee2576ba093f39486937ff /unotest | |
parent | faac1cda391865c304d853a553aad3dabd05e263 (diff) |
Embind: Don't use new when getting UNO singletons
Change-Id: I23265f46b25cb88796267abe28aac1100523e71b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166298
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'unotest')
-rw-r--r-- | unotest/source/embindtest/embindtest.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unotest/source/embindtest/embindtest.js b/unotest/source/embindtest/embindtest.js index f3bd0df2740e..784530597392 100644 --- a/unotest/source/embindtest/embindtest.js +++ b/unotest/source/embindtest/embindtest.js @@ -11,7 +11,7 @@ Module.addOnPostRun(function() { console.log('Running embindtest'); let uno = init_unoembind_uno(Module); let css = uno.com.sun.star; - let test = new uno.org.libreoffice.embindtest.Test(Module.getUnoComponentContext()); + let test = uno.org.libreoffice.embindtest.Test(Module.getUnoComponentContext()); console.assert(typeof test === 'object'); { let v = test.getBoolean(); |