diff options
author | Daniel Boelzle <dbo@openoffice.org> | 2001-02-05 10:47:59 +0000 |
---|---|---|
committer | Daniel Boelzle <dbo@openoffice.org> | 2001-02-05 10:47:59 +0000 |
commit | 72795d9981f16941e948e2e8d5da7f5cc5ac016b (patch) | |
tree | 1096c5e2db385ab054326970f4d4211634ef8485 /cppu/inc | |
parent | 306dc80d0b5c5e618dbfa043690a085f16ccc6a8 (diff) |
namespace
Diffstat (limited to 'cppu/inc')
-rw-r--r-- | cppu/inc/com/sun/star/uno/genfunc.h | 15 | ||||
-rw-r--r-- | cppu/inc/com/sun/star/uno/genfunc.hxx | 15 |
2 files changed, 16 insertions, 14 deletions
diff --git a/cppu/inc/com/sun/star/uno/genfunc.h b/cppu/inc/com/sun/star/uno/genfunc.h index d540a1f0d7a4..f2cb5efe3004 100644 --- a/cppu/inc/com/sun/star/uno/genfunc.h +++ b/cppu/inc/com/sun/star/uno/genfunc.h @@ -2,9 +2,9 @@ * * $RCSfile: genfunc.h,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: dbo $ $Date: 2000-12-22 09:53:39 $ + * last change: $Author: dbo $ $Date: 2001-02-05 11:47:59 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -83,21 +83,22 @@ extern "C" <br> @param pCppI C++ interface pointer */ -inline void SAL_CALL cpp_acquire( void * pCppI ) throw (); +inline void SAL_CALL cpp_acquire( void * pCppI ) + throw (); /** C function to release a C++ interface. <br> @param pCppI C++ interface pointer */ -inline void SAL_CALL cpp_release( void * pCppI ) throw (); +inline void SAL_CALL cpp_release( void * pCppI ) + throw (); /** C function to query for a C++ interface. <br> @param pCppI C++ interface pointer @param pType demanded interface type @return acquired C++ interface pointer or null */ -inline void * SAL_CALL cpp_queryInterface( - void * pCppI, typelib_TypeDescriptionReference * pType ) - throw (::com::sun::star::uno::RuntimeException); +inline void * SAL_CALL cpp_queryInterface( void * pCppI, typelib_TypeDescriptionReference * pType ) + throw (RuntimeException); } } diff --git a/cppu/inc/com/sun/star/uno/genfunc.hxx b/cppu/inc/com/sun/star/uno/genfunc.hxx index 57a162494626..c5bb50254d10 100644 --- a/cppu/inc/com/sun/star/uno/genfunc.hxx +++ b/cppu/inc/com/sun/star/uno/genfunc.hxx @@ -2,9 +2,9 @@ * * $RCSfile: genfunc.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: dbo $ $Date: 2000-12-22 09:53:39 $ + * last change: $Author: dbo $ $Date: 2001-02-05 11:47:59 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -85,19 +85,20 @@ namespace uno extern "C" { //================================================================================================== -inline void SAL_CALL cpp_acquire( void * pCppI ) throw () +inline void SAL_CALL cpp_acquire( void * pCppI ) + throw () { reinterpret_cast< XInterface * >( pCppI )->acquire(); } //================================================================================================== -inline void SAL_CALL cpp_release( void * pCppI ) throw () +inline void SAL_CALL cpp_release( void * pCppI ) + throw () { reinterpret_cast< XInterface * >( pCppI )->release(); } //================================================================================================== -inline void * SAL_CALL cpp_queryInterface( - void * pCppI, typelib_TypeDescriptionReference * pType ) - throw (::com::sun::star::uno::RuntimeException) +inline void * SAL_CALL cpp_queryInterface( void * pCppI, typelib_TypeDescriptionReference * pType ) + throw (RuntimeException) { if (pCppI) { |