diff options
-rw-r--r-- | include/registry/reader.hxx | 2 | ||||
-rw-r--r-- | include/registry/typereg_reader.hxx (renamed from include/registry/reader.h) | 109 | ||||
-rw-r--r-- | registry/source/reflread.cxx | 50 |
3 files changed, 50 insertions, 111 deletions
diff --git a/include/registry/reader.hxx b/include/registry/reader.hxx index d8980985700c..67888df4f6f9 100644 --- a/include/registry/reader.hxx +++ b/include/registry/reader.hxx @@ -20,7 +20,7 @@ #ifndef INCLUDED_REGISTRY_READER_HXX #define INCLUDED_REGISTRY_READER_HXX -#include <registry/reader.h> +#include <registry/typereg_reader.hxx> #include <registry/refltype.hxx> #include <registry/types.hxx> #include <registry/version.h> diff --git a/include/registry/reader.h b/include/registry/typereg_reader.hxx index a0e8eca502a9..e6e1a4ac0b6e 100644 --- a/include/registry/reader.h +++ b/include/registry/typereg_reader.hxx @@ -27,10 +27,6 @@ #include <rtl/ustring.h> #include <sal/types.h> -#ifdef __cplusplus -extern "C" { -#endif - /** Creates a type reader working on a binary blob that represents a UNOIDL type. @@ -62,8 +58,7 @@ extern "C" { */ REG_DLLPUBLIC sal_Bool SAL_CALL typereg_reader_create( void const * buffer, sal_uInt32 length, sal_Bool copy, - enum typereg_Version maxVersion, void ** result) - SAL_THROW_EXTERN_C(); + typereg_Version maxVersion, void ** result); /** Increments the reference count of a type reader. @@ -72,7 +67,7 @@ REG_DLLPUBLIC sal_Bool SAL_CALL typereg_reader_create( @since UDK 3.2.0 */ -REG_DLLPUBLIC void SAL_CALL typereg_reader_acquire(void * handle) SAL_THROW_EXTERN_C(); +REG_DLLPUBLIC void SAL_CALL typereg_reader_acquire(void * handle); /** Decrements the reference count of a type reader. @@ -83,7 +78,7 @@ REG_DLLPUBLIC void SAL_CALL typereg_reader_acquire(void * handle) SAL_THROW_EXTE @since UDK 3.2.0 */ -REG_DLLPUBLIC void SAL_CALL typereg_reader_release(void * handle) SAL_THROW_EXTERN_C(); +REG_DLLPUBLIC void SAL_CALL typereg_reader_release(void * handle); /** Returns the binary blob version of a type reader. @@ -96,8 +91,7 @@ REG_DLLPUBLIC void SAL_CALL typereg_reader_release(void * handle) SAL_THROW_EXTE @since UDK 3.2.0 */ -REG_DLLPUBLIC enum typereg_Version SAL_CALL typereg_reader_getVersion(void * handle) - SAL_THROW_EXTERN_C(); +REG_DLLPUBLIC typereg_Version SAL_CALL typereg_reader_getVersion(void * handle); /** Returns the documentation of a type reader. @@ -111,7 +105,7 @@ REG_DLLPUBLIC enum typereg_Version SAL_CALL typereg_reader_getVersion(void * han @since UDK 3.2.0 */ REG_DLLPUBLIC void SAL_CALL typereg_reader_getDocumentation( - void * handle, rtl_uString ** result) SAL_THROW_EXTERN_C(); + void * handle, rtl_uString ** result); /** Returns the file name of a type reader. @@ -125,8 +119,7 @@ REG_DLLPUBLIC void SAL_CALL typereg_reader_getDocumentation( @since UDK 3.2.0 @deprecated */ -REG_DLLPUBLIC void SAL_CALL typereg_reader_getFileName(void * handle, rtl_uString ** result) - SAL_THROW_EXTERN_C(); +REG_DLLPUBLIC void SAL_CALL typereg_reader_getFileName(void * handle, rtl_uString ** result); /** Returns the type class of a type reader. @@ -143,8 +136,7 @@ REG_DLLPUBLIC void SAL_CALL typereg_reader_getFileName(void * handle, rtl_uStrin @since UDK 3.2.0 */ -REG_DLLPUBLIC enum RTTypeClass SAL_CALL typereg_reader_getTypeClass(void * handle) - SAL_THROW_EXTERN_C(); +REG_DLLPUBLIC RTTypeClass SAL_CALL typereg_reader_getTypeClass(void * handle); /** Returns whether a type reader is published. @@ -156,8 +148,7 @@ REG_DLLPUBLIC enum RTTypeClass SAL_CALL typereg_reader_getTypeClass(void * handl @since UDK 3.2.0 */ -REG_DLLPUBLIC sal_Bool SAL_CALL typereg_reader_isPublished(void * handle) - SAL_THROW_EXTERN_C(); +REG_DLLPUBLIC sal_Bool SAL_CALL typereg_reader_isPublished(void * handle); /** Returns the type name of a type reader. @@ -170,8 +161,7 @@ REG_DLLPUBLIC sal_Bool SAL_CALL typereg_reader_isPublished(void * handle) @since UDK 3.2.0 */ -REG_DLLPUBLIC void SAL_CALL typereg_reader_getTypeName(void * handle, rtl_uString ** result) - SAL_THROW_EXTERN_C(); +REG_DLLPUBLIC void SAL_CALL typereg_reader_getTypeName(void * handle, rtl_uString ** result); /** Returns the number of super types of a type reader. @@ -183,8 +173,7 @@ REG_DLLPUBLIC void SAL_CALL typereg_reader_getTypeName(void * handle, rtl_uStrin @since UDK 3.2.0 */ -REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getSuperTypeCount(void * handle) - SAL_THROW_EXTERN_C(); +REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getSuperTypeCount(void * handle); /** Returns the type name of a super type of a type reader. @@ -201,8 +190,7 @@ REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getSuperTypeCount(void * handle @since UDK 3.2.0 */ REG_DLLPUBLIC void SAL_CALL typereg_reader_getSuperTypeName( - void * handle, rtl_uString ** result, sal_uInt16 index) - SAL_THROW_EXTERN_C(); + void * handle, rtl_uString ** result, sal_uInt16 index); /** Returns the number of fields of a type reader. @@ -214,8 +202,7 @@ REG_DLLPUBLIC void SAL_CALL typereg_reader_getSuperTypeName( @since UDK 3.2.0 */ -REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getFieldCount(void * handle) - SAL_THROW_EXTERN_C(); +REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getFieldCount(void * handle); /** Returns the documentation of a field of a type reader. @@ -231,8 +218,7 @@ REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getFieldCount(void * handle) @since UDK 3.2.0 */ REG_DLLPUBLIC void SAL_CALL typereg_reader_getFieldDocumentation( - void * handle, rtl_uString ** result, sal_uInt16 index) - SAL_THROW_EXTERN_C(); + void * handle, rtl_uString ** result, sal_uInt16 index); /** Returns the file name of a field of a type reader. @@ -249,8 +235,7 @@ REG_DLLPUBLIC void SAL_CALL typereg_reader_getFieldDocumentation( @deprecated */ REG_DLLPUBLIC void SAL_CALL typereg_reader_getFieldFileName( - void * handle, rtl_uString ** result, sal_uInt16 index) - SAL_THROW_EXTERN_C(); + void * handle, rtl_uString ** result, sal_uInt16 index); /** Returns the flags of a field of a type reader. @@ -264,7 +249,7 @@ REG_DLLPUBLIC void SAL_CALL typereg_reader_getFieldFileName( @since UDK 3.2.0 */ REG_DLLPUBLIC RTFieldAccess SAL_CALL typereg_reader_getFieldFlags( - void * handle, sal_uInt16 index) SAL_THROW_EXTERN_C(); + void * handle, sal_uInt16 index); /** Returns the name of a field of a type reader. @@ -280,8 +265,7 @@ REG_DLLPUBLIC RTFieldAccess SAL_CALL typereg_reader_getFieldFlags( @since UDK 3.2.0 */ REG_DLLPUBLIC void SAL_CALL typereg_reader_getFieldName( - void * handle, rtl_uString ** result, sal_uInt16 index) - SAL_THROW_EXTERN_C(); + void * handle, rtl_uString ** result, sal_uInt16 index); /** Returns the type name of a field of a type reader. @@ -297,8 +281,7 @@ REG_DLLPUBLIC void SAL_CALL typereg_reader_getFieldName( @since UDK 3.2.0 */ REG_DLLPUBLIC void SAL_CALL typereg_reader_getFieldTypeName( - void * handle, rtl_uString ** result, sal_uInt16 index) - SAL_THROW_EXTERN_C(); + void * handle, rtl_uString ** result, sal_uInt16 index); /** Returns the value of a field of a type reader. @@ -319,9 +302,8 @@ REG_DLLPUBLIC void SAL_CALL typereg_reader_getFieldTypeName( @since UDK 3.2.0 */ REG_DLLPUBLIC sal_Bool SAL_CALL typereg_reader_getFieldValue( - void * handle, sal_uInt16 index, enum RTValueType * type, - union RTConstValueUnion * value) - SAL_THROW_EXTERN_C(); + void * handle, sal_uInt16 index, RTValueType * type, + union RTConstValueUnion * value); /** Returns the number of methods of a type reader. @@ -333,8 +315,7 @@ REG_DLLPUBLIC sal_Bool SAL_CALL typereg_reader_getFieldValue( @since UDK 3.2.0 */ -REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getMethodCount(void * handle) - SAL_THROW_EXTERN_C(); +REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getMethodCount(void * handle); /** Returns the documentation of a method of a type reader. @@ -350,8 +331,7 @@ REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getMethodCount(void * handle) @since UDK 3.2.0 */ REG_DLLPUBLIC void SAL_CALL typereg_reader_getMethodDocumentation( - void * handle, rtl_uString ** result, sal_uInt16 index) - SAL_THROW_EXTERN_C(); + void * handle, rtl_uString ** result, sal_uInt16 index); /** Returns the flags of a method of a type reader. @@ -364,8 +344,8 @@ REG_DLLPUBLIC void SAL_CALL typereg_reader_getMethodDocumentation( @since UDK 3.2.0 */ -REG_DLLPUBLIC enum RTMethodMode SAL_CALL typereg_reader_getMethodFlags( - void * handle, sal_uInt16 index) SAL_THROW_EXTERN_C(); +REG_DLLPUBLIC RTMethodMode SAL_CALL typereg_reader_getMethodFlags( + void * handle, sal_uInt16 index); /** Returns the name of a method of a type reader. @@ -381,8 +361,7 @@ REG_DLLPUBLIC enum RTMethodMode SAL_CALL typereg_reader_getMethodFlags( @since UDK 3.2.0 */ REG_DLLPUBLIC void SAL_CALL typereg_reader_getMethodName( - void * handle, rtl_uString ** result, sal_uInt16 index) - SAL_THROW_EXTERN_C(); + void * handle, rtl_uString ** result, sal_uInt16 index); /** Returns the return type name of a method of a type reader. @@ -398,8 +377,7 @@ REG_DLLPUBLIC void SAL_CALL typereg_reader_getMethodName( @since UDK 3.2.0 */ REG_DLLPUBLIC void SAL_CALL typereg_reader_getMethodReturnTypeName( - void * handle, rtl_uString ** result, sal_uInt16 index) - SAL_THROW_EXTERN_C(); + void * handle, rtl_uString ** result, sal_uInt16 index); /** Returns the number of parameters of a method of a type reader. @@ -413,7 +391,7 @@ REG_DLLPUBLIC void SAL_CALL typereg_reader_getMethodReturnTypeName( @since UDK 3.2.0 */ REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getMethodParameterCount( - void * handle, sal_uInt16 index) SAL_THROW_EXTERN_C(); + void * handle, sal_uInt16 index); /** Returns the flags of a parameter of a method of a type reader. @@ -431,9 +409,8 @@ REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getMethodParameterCount( @since UDK 3.2.0 */ -REG_DLLPUBLIC enum RTParamMode SAL_CALL typereg_reader_getMethodParameterFlags( - void * handle, sal_uInt16 methodIndex, sal_uInt16 parameterIndex) - SAL_THROW_EXTERN_C(); +REG_DLLPUBLIC RTParamMode SAL_CALL typereg_reader_getMethodParameterFlags( + void * handle, sal_uInt16 methodIndex, sal_uInt16 parameterIndex); /** Returns the name of a parameter of a method of a type reader. @@ -454,8 +431,7 @@ REG_DLLPUBLIC enum RTParamMode SAL_CALL typereg_reader_getMethodParameterFlags( */ REG_DLLPUBLIC void SAL_CALL typereg_reader_getMethodParameterName( void * handle, rtl_uString ** result, sal_uInt16 methodIndex, - sal_uInt16 parameterIndex) - SAL_THROW_EXTERN_C(); + sal_uInt16 parameterIndex); /** Returns the type name of a parameter of a method of a type reader. @@ -476,8 +452,7 @@ REG_DLLPUBLIC void SAL_CALL typereg_reader_getMethodParameterName( */ REG_DLLPUBLIC void SAL_CALL typereg_reader_getMethodParameterTypeName( void * handle, rtl_uString ** result, sal_uInt16 methodIndex, - sal_uInt16 parameterIndex) - SAL_THROW_EXTERN_C(); + sal_uInt16 parameterIndex); /** Returns the number of exceptions of a method of a type reader. @@ -491,7 +466,7 @@ REG_DLLPUBLIC void SAL_CALL typereg_reader_getMethodParameterTypeName( @since UDK 3.2.0 */ REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getMethodExceptionCount( - void * handle, sal_uInt16 index) SAL_THROW_EXTERN_C(); + void * handle, sal_uInt16 index); /** Returns the type name of an exception of a method of a type reader. @@ -512,8 +487,7 @@ REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getMethodExceptionCount( */ REG_DLLPUBLIC void SAL_CALL typereg_reader_getMethodExceptionTypeName( void * handle, rtl_uString ** result, sal_uInt16 methodIndex, - sal_uInt16 exceptionIndex) - SAL_THROW_EXTERN_C(); + sal_uInt16 exceptionIndex); /** Returns the number of references of a type reader. @@ -525,8 +499,7 @@ REG_DLLPUBLIC void SAL_CALL typereg_reader_getMethodExceptionTypeName( @since UDK 3.2.0 */ -REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getReferenceCount(void * handle) - SAL_THROW_EXTERN_C(); +REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getReferenceCount(void * handle); /** Returns the documentation of a reference of a type reader. @@ -543,8 +516,7 @@ REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getReferenceCount(void * handle @since UDK 3.2.0 */ REG_DLLPUBLIC void SAL_CALL typereg_reader_getReferenceDocumentation( - void * handle, rtl_uString ** result, sal_uInt16 index) - SAL_THROW_EXTERN_C(); + void * handle, rtl_uString ** result, sal_uInt16 index); /** Returns the flags of a reference of a type reader. @@ -559,7 +531,7 @@ REG_DLLPUBLIC void SAL_CALL typereg_reader_getReferenceDocumentation( @since UDK 3.2.0 */ REG_DLLPUBLIC RTFieldAccess SAL_CALL typereg_reader_getReferenceFlags( - void * handle, sal_uInt16 index) SAL_THROW_EXTERN_C(); + void * handle, sal_uInt16 index); /** Returns the sort of a reference of a type reader. @@ -573,8 +545,8 @@ REG_DLLPUBLIC RTFieldAccess SAL_CALL typereg_reader_getReferenceFlags( @since UDK 3.2.0 */ -REG_DLLPUBLIC enum RTReferenceType SAL_CALL typereg_reader_getReferenceSort( - void * handle, sal_uInt16 index) SAL_THROW_EXTERN_C(); +REG_DLLPUBLIC RTReferenceType SAL_CALL typereg_reader_getReferenceSort( + void * handle, sal_uInt16 index); /** Returns the type name of a reference of a type reader. @@ -591,12 +563,7 @@ REG_DLLPUBLIC enum RTReferenceType SAL_CALL typereg_reader_getReferenceSort( @since UDK 3.2.0 */ REG_DLLPUBLIC void SAL_CALL typereg_reader_getReferenceTypeName( - void * handle, rtl_uString ** result, sal_uInt16 index) - SAL_THROW_EXTERN_C(); - -#ifdef __cplusplus -} -#endif + void * handle, rtl_uString ** result, sal_uInt16 index); #endif diff --git a/registry/source/reflread.cxx b/registry/source/reflread.cxx index 49f6e4e2a358..da759648416e 100644 --- a/registry/source/reflread.cxx +++ b/registry/source/reflread.cxx @@ -29,7 +29,7 @@ #include <osl/diagnose.h> #include <registry/reflread.hxx> -#include "registry/reader.h" +#include "registry/typereg_reader.hxx" #include "registry/version.h" #include "reflcnst.hxx" @@ -1252,12 +1252,9 @@ typereg_Version TypeRegistryEntry::getVersion() const { **************************************************************************/ -extern "C" { - sal_Bool TYPEREG_CALLTYPE typereg_reader_create( void const * buffer, sal_uInt32 length, sal_Bool copy, typereg_Version maxVersion, void ** result) - SAL_THROW_EXTERN_C() { if (length < OFFSET_CP || length > SAL_MAX_UINT32) { *result = 0; @@ -1297,7 +1294,7 @@ static TypeReaderImpl TYPEREG_CALLTYPE createEntry(const sal_uInt8* buffer, sal_ return handle; } -void TYPEREG_CALLTYPE typereg_reader_acquire(void * hEntry) SAL_THROW_EXTERN_C() +void TYPEREG_CALLTYPE typereg_reader_acquire(void * hEntry) { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1305,7 +1302,7 @@ void TYPEREG_CALLTYPE typereg_reader_acquire(void * hEntry) SAL_THROW_EXTERN_C() pEntry->m_refCount++; } -void TYPEREG_CALLTYPE typereg_reader_release(void * hEntry) SAL_THROW_EXTERN_C() +void TYPEREG_CALLTYPE typereg_reader_release(void * hEntry) { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1316,7 +1313,7 @@ void TYPEREG_CALLTYPE typereg_reader_release(void * hEntry) SAL_THROW_EXTERN_C() } } -typereg_Version TYPEREG_CALLTYPE typereg_reader_getVersion(void * handle) SAL_THROW_EXTERN_C() { +typereg_Version TYPEREG_CALLTYPE typereg_reader_getVersion(void * handle) { if (handle != nullptr) { try { return static_cast< TypeRegistryEntry * >(handle)->getVersion(); @@ -1353,7 +1350,7 @@ static sal_uInt16 TYPEREG_CALLTYPE getMajorVersion(TypeReaderImpl hEntry) return 0; } -RTTypeClass TYPEREG_CALLTYPE typereg_reader_getTypeClass(void * hEntry) SAL_THROW_EXTERN_C() +RTTypeClass TYPEREG_CALLTYPE typereg_reader_getTypeClass(void * hEntry) { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); if (pEntry != nullptr) { @@ -1367,7 +1364,7 @@ RTTypeClass TYPEREG_CALLTYPE typereg_reader_getTypeClass(void * hEntry) SAL_THRO return RT_TYPE_INVALID; } -sal_Bool TYPEREG_CALLTYPE typereg_reader_isPublished(void * hEntry) SAL_THROW_EXTERN_C() +sal_Bool TYPEREG_CALLTYPE typereg_reader_isPublished(void * hEntry) { TypeRegistryEntry * entry = static_cast< TypeRegistryEntry * >(hEntry); if (entry != nullptr) { @@ -1381,7 +1378,6 @@ sal_Bool TYPEREG_CALLTYPE typereg_reader_isPublished(void * hEntry) SAL_THROW_EX } void TYPEREG_CALLTYPE typereg_reader_getTypeName(void * hEntry, rtl_uString** pTypeName) - SAL_THROW_EXTERN_C() { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); if (pEntry != nullptr) { @@ -1431,7 +1427,6 @@ static void TYPEREG_CALLTYPE getUik(TypeReaderImpl hEntry, RTUik* uik) } void TYPEREG_CALLTYPE typereg_reader_getDocumentation(void * hEntry, rtl_uString** pDoku) - SAL_THROW_EXTERN_C() { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); if (pEntry != nullptr) { @@ -1449,7 +1444,6 @@ void TYPEREG_CALLTYPE typereg_reader_getDocumentation(void * hEntry, rtl_uString } void TYPEREG_CALLTYPE typereg_reader_getFileName(void * hEntry, rtl_uString** pFileName) - SAL_THROW_EXTERN_C() { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); if (pEntry != nullptr) { @@ -1467,7 +1461,7 @@ void TYPEREG_CALLTYPE typereg_reader_getFileName(void * hEntry, rtl_uString** pF } -sal_uInt16 TYPEREG_CALLTYPE typereg_reader_getFieldCount(void * hEntry) SAL_THROW_EXTERN_C() +sal_uInt16 TYPEREG_CALLTYPE typereg_reader_getFieldCount(void * hEntry) { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1482,7 +1476,6 @@ static sal_uInt32 TYPEREG_CALLTYPE getFieldCount(TypeReaderImpl hEntry) } void TYPEREG_CALLTYPE typereg_reader_getFieldName(void * hEntry, rtl_uString** pFieldName, sal_uInt16 index) - SAL_THROW_EXTERN_C() { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1498,7 +1491,6 @@ void TYPEREG_CALLTYPE typereg_reader_getFieldName(void * hEntry, rtl_uString** p } void TYPEREG_CALLTYPE typereg_reader_getFieldTypeName(void * hEntry, rtl_uString** pFieldType, sal_uInt16 index) - SAL_THROW_EXTERN_C() { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1515,7 +1507,6 @@ void TYPEREG_CALLTYPE typereg_reader_getFieldTypeName(void * hEntry, rtl_uString } RTFieldAccess TYPEREG_CALLTYPE typereg_reader_getFieldFlags(void * hEntry, sal_uInt16 index) - SAL_THROW_EXTERN_C() { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1527,7 +1518,6 @@ RTFieldAccess TYPEREG_CALLTYPE typereg_reader_getFieldFlags(void * hEntry, sal_u sal_Bool TYPEREG_CALLTYPE typereg_reader_getFieldValue( void * hEntry, sal_uInt16 index, RTValueType * type, RTConstValueUnion * value) - SAL_THROW_EXTERN_C() { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1552,7 +1542,6 @@ static RTValueType TYPEREG_CALLTYPE getFieldConstValue(TypeReaderImpl hEntry, sa } void TYPEREG_CALLTYPE typereg_reader_getFieldDocumentation(void * hEntry, rtl_uString** pDoku, sal_uInt16 index) - SAL_THROW_EXTERN_C() { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1569,7 +1558,6 @@ void TYPEREG_CALLTYPE typereg_reader_getFieldDocumentation(void * hEntry, rtl_uS } void TYPEREG_CALLTYPE typereg_reader_getFieldFileName(void * hEntry, rtl_uString** pFieldFileName, sal_uInt16 index) - SAL_THROW_EXTERN_C() { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1586,7 +1574,7 @@ void TYPEREG_CALLTYPE typereg_reader_getFieldFileName(void * hEntry, rtl_uString } -sal_uInt16 TYPEREG_CALLTYPE typereg_reader_getMethodCount(void * hEntry) SAL_THROW_EXTERN_C() +sal_uInt16 TYPEREG_CALLTYPE typereg_reader_getMethodCount(void * hEntry) { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1601,7 +1589,6 @@ static sal_uInt32 TYPEREG_CALLTYPE getMethodCount(TypeReaderImpl hEntry) } void TYPEREG_CALLTYPE typereg_reader_getMethodName(void * hEntry, rtl_uString** pMethodName, sal_uInt16 index) - SAL_THROW_EXTERN_C() { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1618,7 +1605,7 @@ void TYPEREG_CALLTYPE typereg_reader_getMethodName(void * hEntry, rtl_uString** } sal_uInt16 TYPEREG_CALLTYPE typereg_reader_getMethodParameterCount( - void * hEntry, sal_uInt16 index) SAL_THROW_EXTERN_C() + void * hEntry, sal_uInt16 index) { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1633,7 +1620,6 @@ static sal_uInt32 TYPEREG_CALLTYPE getMethodParamCount(TypeReaderImpl hEntry, sa } void TYPEREG_CALLTYPE typereg_reader_getMethodParameterTypeName(void * hEntry, rtl_uString** pMethodParamType, sal_uInt16 index, sal_uInt16 paramIndex) - SAL_THROW_EXTERN_C() { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1650,7 +1636,6 @@ void TYPEREG_CALLTYPE typereg_reader_getMethodParameterTypeName(void * hEntry, r } void TYPEREG_CALLTYPE typereg_reader_getMethodParameterName(void * hEntry, rtl_uString** pMethodParamName, sal_uInt16 index, sal_uInt16 paramIndex) - SAL_THROW_EXTERN_C() { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1667,7 +1652,6 @@ void TYPEREG_CALLTYPE typereg_reader_getMethodParameterName(void * hEntry, rtl_u } RTParamMode TYPEREG_CALLTYPE typereg_reader_getMethodParameterFlags(void * hEntry, sal_uInt16 index, sal_uInt16 paramIndex) - SAL_THROW_EXTERN_C() { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1677,7 +1661,7 @@ RTParamMode TYPEREG_CALLTYPE typereg_reader_getMethodParameterFlags(void * hEntr } sal_uInt16 TYPEREG_CALLTYPE typereg_reader_getMethodExceptionCount( - void * hEntry, sal_uInt16 index) SAL_THROW_EXTERN_C() + void * hEntry, sal_uInt16 index) { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1692,7 +1676,6 @@ static sal_uInt32 TYPEREG_CALLTYPE getMethodExcCount(TypeReaderImpl hEntry, sal_ } void TYPEREG_CALLTYPE typereg_reader_getMethodExceptionTypeName(void * hEntry, rtl_uString** pMethodExcpType, sal_uInt16 index, sal_uInt16 excIndex) - SAL_THROW_EXTERN_C() { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1709,7 +1692,6 @@ void TYPEREG_CALLTYPE typereg_reader_getMethodExceptionTypeName(void * hEntry, r } void TYPEREG_CALLTYPE typereg_reader_getMethodReturnTypeName(void * hEntry, rtl_uString** pMethodReturnType, sal_uInt16 index) - SAL_THROW_EXTERN_C() { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1726,7 +1708,6 @@ void TYPEREG_CALLTYPE typereg_reader_getMethodReturnTypeName(void * hEntry, rtl_ } RTMethodMode TYPEREG_CALLTYPE typereg_reader_getMethodFlags(void * hEntry, sal_uInt16 index) - SAL_THROW_EXTERN_C() { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1736,7 +1717,6 @@ RTMethodMode TYPEREG_CALLTYPE typereg_reader_getMethodFlags(void * hEntry, sal_u } void TYPEREG_CALLTYPE typereg_reader_getMethodDocumentation(void * hEntry, rtl_uString** pMethodDoku, sal_uInt16 index) - SAL_THROW_EXTERN_C() { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1752,7 +1732,7 @@ void TYPEREG_CALLTYPE typereg_reader_getMethodDocumentation(void * hEntry, rtl_u RTL_TEXTENCODING_UTF8, OSTRING_TO_OUSTRING_CVTFLAGS); } -sal_uInt16 TYPEREG_CALLTYPE typereg_reader_getReferenceCount(void * hEntry) SAL_THROW_EXTERN_C() +sal_uInt16 TYPEREG_CALLTYPE typereg_reader_getReferenceCount(void * hEntry) { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1767,7 +1747,6 @@ static sal_uInt32 TYPEREG_CALLTYPE getReferenceCount(TypeReaderImpl hEntry) } void TYPEREG_CALLTYPE typereg_reader_getReferenceTypeName(void * hEntry, rtl_uString** pReferenceName, sal_uInt16 index) - SAL_THROW_EXTERN_C() { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1784,7 +1763,6 @@ void TYPEREG_CALLTYPE typereg_reader_getReferenceTypeName(void * hEntry, rtl_uSt } RTReferenceType TYPEREG_CALLTYPE typereg_reader_getReferenceSort(void * hEntry, sal_uInt16 index) - SAL_THROW_EXTERN_C() { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1794,7 +1772,6 @@ RTReferenceType TYPEREG_CALLTYPE typereg_reader_getReferenceSort(void * hEntry, } void TYPEREG_CALLTYPE typereg_reader_getReferenceDocumentation(void * hEntry, rtl_uString** pReferenceDoku, sal_uInt16 index) - SAL_THROW_EXTERN_C() { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1811,7 +1788,6 @@ void TYPEREG_CALLTYPE typereg_reader_getReferenceDocumentation(void * hEntry, rt } RTFieldAccess TYPEREG_CALLTYPE typereg_reader_getReferenceFlags(void * hEntry, sal_uInt16 index) - SAL_THROW_EXTERN_C() { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1821,7 +1797,6 @@ RTFieldAccess TYPEREG_CALLTYPE typereg_reader_getReferenceFlags(void * hEntry, s } sal_uInt16 TYPEREG_CALLTYPE typereg_reader_getSuperTypeCount(void * hEntry) - SAL_THROW_EXTERN_C() { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); @@ -1832,7 +1807,6 @@ sal_uInt16 TYPEREG_CALLTYPE typereg_reader_getSuperTypeCount(void * hEntry) void TYPEREG_CALLTYPE typereg_reader_getSuperTypeName( void * hEntry, rtl_uString ** pSuperTypeName, sal_uInt16 index) - SAL_THROW_EXTERN_C() { TypeRegistryEntry* pEntry = static_cast<TypeRegistryEntry*>(hEntry); if (pEntry != nullptr) { @@ -1898,6 +1872,4 @@ RegistryTypeReader_Api* TYPEREG_CALLTYPE initRegistryTypeReader_Api(void) } } -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |