diff options
Diffstat (limited to 'pyuno/source/module')
-rw-r--r-- | pyuno/source/module/pyuno.cxx | 2 | ||||
-rw-r--r-- | pyuno/source/module/pyuno_adapter.cxx | 2 | ||||
-rw-r--r-- | pyuno/source/module/pyuno_runtime.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/pyuno/source/module/pyuno.cxx b/pyuno/source/module/pyuno.cxx index 60bb6b3f5f92..a177be410c79 100644 --- a/pyuno/source/module/pyuno.cxx +++ b/pyuno/source/module/pyuno.cxx @@ -1692,7 +1692,7 @@ PyRef PyUNO_new ( xInvocation.set( ssf->createInstanceWithArguments( Sequence<Any>( &targetInterface, 1 ) ), css::uno::UNO_QUERY_THROW ); - auto that = comphelper::getUnoTunnelImplementation<Adapter>( + auto that = comphelper::getFromUnoTunnel<Adapter>( xInvocation->getIntrospection()->queryAdapter(cppu::UnoType<XUnoTunnel>::get())); if( that ) return that->getWrappedObject(); diff --git a/pyuno/source/module/pyuno_adapter.cxx b/pyuno/source/module/pyuno_adapter.cxx index 53e012a8e78f..a6d10da1d779 100644 --- a/pyuno/source/module/pyuno_adapter.cxx +++ b/pyuno/source/module/pyuno_adapter.cxx @@ -75,7 +75,7 @@ Sequence<sal_Int8> Adapter::getUnoTunnelId() sal_Int64 Adapter::getSomething( const Sequence< sal_Int8 > &id) { - if (isUnoTunnelId<Adapter>(id)) + if (comphelper::isUnoTunnelId<Adapter>(id)) return reinterpret_cast<sal_Int64>(this); return 0; } diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx index 10257a8ef69e..8c14bc0d2953 100644 --- a/pyuno/source/module/pyuno_runtime.cxx +++ b/pyuno/source/module/pyuno_runtime.cxx @@ -809,7 +809,7 @@ Any Runtime::pyObject2Any(const PyRef & source, enum ConversionMode mode) const if( adapterObject.is() ) { // object got already bridged ! - auto pAdapter = comphelper::getUnoTunnelImplementation<Adapter>(adapterObject); + auto pAdapter = comphelper::getFromUnoTunnel<Adapter>(adapterObject); mappedObject = impl->cargo->xAdapterFactory->createAdapter( adapterObject, pAdapter->getWrappedTypes() ); |