bridges/source/cpp_uno/gcc3_wasm/cpp2uno.cxx | 2 -- bridges/source/cpp_uno/gcc3_wasm/uno2cpp.cxx | 7 +++---- 2 files changed, 3 insertions(+), 6 deletions(-)
New commits: commit faa421fbbef7761b29f639e1ebfaef940e99f604 Author: Stephan Bergmann <stephan.bergm...@allotropia.de> AuthorDate: Thu May 30 14:24:36 2024 +0200 Commit: Stephan Bergmann <stephan.bergm...@allotropia.de> CommitDate: Fri May 31 08:00:24 2024 +0200 Clean up using directives Change-Id: Iaf343b3dabec951e1fd2d998a11fca8f593afdb7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168260 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de> diff --git a/bridges/source/cpp_uno/gcc3_wasm/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_wasm/cpp2uno.cxx index fd7fa817588a..dc02fda3946e 100644 --- a/bridges/source/cpp_uno/gcc3_wasm/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_wasm/cpp2uno.cxx @@ -10,8 +10,6 @@ #include <typelib/typedescription.hxx> #include <vtablefactory.hxx> -using namespace ::com::sun::star::uno; - using bridges::cpp_uno::shared::VtableFactory; struct VtableFactory::Slot diff --git a/bridges/source/cpp_uno/gcc3_wasm/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_wasm/uno2cpp.cxx index fcc978ab672e..7f83e2312c35 100644 --- a/bridges/source/cpp_uno/gcc3_wasm/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_wasm/uno2cpp.cxx @@ -37,8 +37,6 @@ #include "abi.hxx" -using namespace ::com::sun::star::uno; - namespace { enum class StructKind @@ -361,7 +359,8 @@ void unoInterfaceProxyDispatch(uno_Interface* pUnoI, const typelib_TypeDescripti case 0: // queryInterface() opt { typelib_TypeDescription* pTD = 0; - TYPELIB_DANGER_GET(&pTD, reinterpret_cast<Type*>(pArgs[0])->getTypeLibType()); + TYPELIB_DANGER_GET( + &pTD, reinterpret_cast<css::uno::Type*>(pArgs[0])->getTypeLibType()); if (pTD) { uno_Interface* pInterface = 0; @@ -399,7 +398,7 @@ void unoInterfaceProxyDispatch(uno_Interface* pUnoI, const typelib_TypeDescripti "illegal member type description!", ::com::sun::star::uno::Reference<::com::sun::star::uno::XInterface>()); - Type const& rExcType = cppu::UnoType<decltype(aExc)>::get(); + css::uno::Type const& rExcType = cppu::UnoType<decltype(aExc)>::get(); // binary identical null reference ::uno_type_any_construct(*ppException, &aExc, rExcType.getTypeLibType(), 0); }