From e49fd672b17ba382d78a130648e714fa130d39c5 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 8 May 2024 13:23:30 +0200 Subject: Fix typelib_TypeDescriptionReference -> typelib_TypeDescription conversion Change-Id: Idfe74f1523ec866ed9926d3385a1605ad8a5547e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167352 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- bridges/source/cpp_uno/gcc3_wasm/uno2cpp.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'bridges') diff --git a/bridges/source/cpp_uno/gcc3_wasm/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_wasm/uno2cpp.cxx index a0fdd15e05e6..788d8b2ba99a 100644 --- a/bridges/source/cpp_uno/gcc3_wasm/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_wasm/uno2cpp.cxx @@ -12,11 +12,11 @@ #include #include -#include #include #include #include #include +#include #include #include @@ -123,9 +123,8 @@ void call(bridges::cpp_uno::shared::UnoInterfaceProxy* proxy, break; case typelib_TypeClass_STRUCT: { - typelib_TypeDescription* td = nullptr; - css::uno::Type(returnType).getDescription(&td); - switch (getKind(reinterpret_cast(td))) + css::uno::TypeDescription td(returnType); + switch (getKind(reinterpret_cast(td.get()))) { case StructKind::Empty: break; -- cgit