diff options
Diffstat (limited to 'bridges/inc')
-rw-r--r-- | bridges/inc/bridges/cpp_uno/bridge.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bridges/inc/bridges/cpp_uno/bridge.hxx b/bridges/inc/bridges/cpp_uno/bridge.hxx index 6cd81783c9ea..0fe942db925e 100644 --- a/bridges/inc/bridges/cpp_uno/bridge.hxx +++ b/bridges/inc/bridges/cpp_uno/bridge.hxx @@ -2,9 +2,9 @@ * * $RCSfile: bridge.hxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: dbo $ $Date: 2001-10-26 07:22:56 $ + * last change: $Author: dbo $ $Date: 2002-10-29 10:37:37 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -188,9 +188,9 @@ inline cppu_cppInterfaceProxy::cppu_cppInterfaceProxy( if (! ((typelib_TypeDescription *)pTypeDescr)->bComplete) ::typelib_typedescription_complete( (typelib_TypeDescription **)&pTypeDescr ); OSL_ENSURE( ((typelib_TypeDescription *)pTypeDescr)->bComplete, "### type is incomplete!" ); + (*pUnoI->acquire)( pUnoI ); (*pBridge->pUnoEnv->registerInterface)( pBridge->pUnoEnv, reinterpret_cast< void ** >( &pUnoI ), oid.pData, pTypeDescr ); - (*pUnoI->acquire)( pUnoI ); } @@ -305,9 +305,9 @@ inline cppu_unoInterfaceProxy::cppu_unoInterfaceProxy( if (! ((typelib_TypeDescription *)pTypeDescr)->bComplete) ::typelib_typedescription_complete( (typelib_TypeDescription **)&pTypeDescr ); OSL_ENSURE( ((typelib_TypeDescription *)pTypeDescr)->bComplete, "### type is incomplete!" ); + pCppI->acquire(); (*pBridge->pCppEnv->registerInterface)( pBridge->pCppEnv, reinterpret_cast< void ** >( &pCppI ), oid.pData, pTypeDescr ); - pCppI->acquire(); // uno_Interface uno_Interface::acquire = cppu_unoInterfaceProxy_acquire; |