diff options
author | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-01-30 20:40:11 +0100 |
---|---|---|
committer | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-01-30 22:46:36 +0100 |
commit | 9a982f8cb62da5a82ae1426aa40900dd360c93b5 (patch) | |
tree | 03399b63a82998c8c4dde8d12a2c65c5aa9b6865 | |
parent | 1b371a4e1fac86fb483a7e62225e130d3684bb59 (diff) |
Embinding OUString shouldn't need allow_raw_pointers
Change-Id: I92608ebe4edf65c7de96587aa39e990fb09c3e19
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162779
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
-rw-r--r-- | static/source/unoembindhelpers/PrimaryBindings.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/static/source/unoembindhelpers/PrimaryBindings.cxx b/static/source/unoembindhelpers/PrimaryBindings.cxx index b57749170470..4277af563936 100644 --- a/static/source/unoembindhelpers/PrimaryBindings.cxx +++ b/static/source/unoembindhelpers/PrimaryBindings.cxx @@ -40,8 +40,7 @@ EMSCRIPTEN_BINDINGS(PrimaryBindings) .value("FromAny", unoembindhelpers::uno_Reference::FromAny); class_<OUString>("OUString") - .constructor(+[](const std::u16string& rString) -> OUString { return OUString(rString); }, - allow_raw_pointers()) + .constructor(+[](const std::u16string& rString) -> OUString { return OUString(rString); }) .function("toString", +[](const OUString& rSelf) -> std::u16string { return std::u16string(rSelf.getStr(), rSelf.getLength()); }); |