static/source/unoembindhelpers/PrimaryBindings.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 9a982f8cb62da5a82ae1426aa40900dd360c93b5
Author:     Stephan Bergmann <stephan.bergm...@allotropia.de>
AuthorDate: Tue Jan 30 20:40:11 2024 +0100
Commit:     Stephan Bergmann <stephan.bergm...@allotropia.de>
CommitDate: Tue Jan 30 22:46:36 2024 +0100

    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.bergm...@allotropia.de>

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());
         });

Reply via email to