diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2024-11-07 01:07:51 +0500 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2024-11-08 05:34:20 +0100 |
commit | 56f3dbffdf5b3264c1c71201733e3ff6bb5e48cb (patch) | |
tree | e00509b726c470c3e97de33feb8545c5bca12041 /static | |
parent | 27f7770e3e9be60b0caef8469666474151a753fb (diff) |
Simplify a bit
Change-Id: I618b0f8bcb2e8032ee12367c73e1136685f66b3e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176183
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'static')
-rw-r--r-- | static/source/unoembindhelpers/PrimaryBindings.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/source/unoembindhelpers/PrimaryBindings.cxx b/static/source/unoembindhelpers/PrimaryBindings.cxx index ab2adecad091..7cf197694cae 100644 --- a/static/source/unoembindhelpers/PrimaryBindings.cxx +++ b/static/source/unoembindhelpers/PrimaryBindings.cxx @@ -329,7 +329,7 @@ EMSCRIPTEN_BINDINGS(PrimaryBindings) .constructor(&constructAny) .function("getType", &css::uno::Any::getValueType) .function("get", +[](css::uno::Any const& self) { - switch (self.getValueType().getTypeClass()) + switch (self.getValueTypeClass()) { case css::uno::TypeClass_VOID: return emscripten::val::undefined(); |