summaryrefslogtreecommitdiff
path: root/unotest
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2024-03-11 09:56:11 +0100
committerStephan Bergmann <stephan.bergmann@allotropia.de>2024-03-11 13:36:11 +0100
commitc35985a4b42d6a7d654b4fd1f99a966b75ee28a6 (patch)
tree8b72ce44b2f71a0ed91559a2d8f7fed2919db116 /unotest
parent36a169c10f0457c30a0d327fda585c4decb33532 (diff)
Embind construction of UNO Any enum
Change-Id: I1b2167e261f1020b228f8ca2618c7f0009ca1d3d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164646 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'unotest')
-rw-r--r--unotest/source/embindtest/embindtest.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/unotest/source/embindtest/embindtest.js b/unotest/source/embindtest/embindtest.js
index 1c6cd5f2718e..21c0e5cf098e 100644
--- a/unotest/source/embindtest/embindtest.js
+++ b/unotest/source/embindtest/embindtest.js
@@ -269,11 +269,11 @@ Module.addOnPostRun(function() {
console.assert(v.get() === uno.org.libreoffice.embindtest.Enum.E_2);
console.assert(test.isAnyEnum(v));
v.delete();
- //TODO: let a = new Module.uno_Any(
- //TODO: Module.uno_Type.Enum('org.libreoffice.embindtest.Enum'),
- //TODO: uno.org.libreoffice.embindtest.Enum.E_2);
- //TODO: console.assert(test.isAnyEnum(a));
- //TODO: a.delete();
+ let a = new Module.uno_Any(
+ Module.uno_Type.Enum('org.libreoffice.embindtest.Enum'),
+ uno.org.libreoffice.embindtest.Enum.E_2);
+ console.assert(test.isAnyEnum(a));
+ a.delete();
}
{
let v = test.getAnyStruct();