summaryrefslogtreecommitdiff
path: root/static/source
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2024-03-08 18:01:21 +0100
committerStephan Bergmann <stephan.bergmann@allotropia.de>2024-03-08 22:45:26 +0100
commit20f1f529a29fdbc6a531a8c82f4aeff8ff3908bd (patch)
tree80447ebf4775c67e87b65ab9efa2bee7752a3601 /static/source
parent80bb8c666f09264b0df7181d03ebad3b883de797 (diff)
Embind construction of UNO Any Type
Change-Id: Iac5ac8de7bfb19b90d54edc6f4b791d8c0e98977 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164594 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'static/source')
-rw-r--r--static/source/unoembindhelpers/PrimaryBindings.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/source/unoembindhelpers/PrimaryBindings.cxx b/static/source/unoembindhelpers/PrimaryBindings.cxx
index a250e31aa144..8fb5ad39a6da 100644
--- a/static/source/unoembindhelpers/PrimaryBindings.cxx
+++ b/static/source/unoembindhelpers/PrimaryBindings.cxx
@@ -279,7 +279,7 @@ EMSCRIPTEN_BINDINGS(PrimaryBindings)
case TypeClass_STRING:
return Any{ OUString(rObject.as<std::u16string>()) };
case TypeClass_TYPE:
- return {}; //TODO
+ return css::uno::Any(rObject.as<css::uno::Type>());
case TypeClass_SEQUENCE:
return {}; //TODO
case TypeClass_ENUM: