INTEGRATION: CWS sb41 (1.13.18); FILE MERGED

2005/11/24 08:18:09 sb 1.13.18.1: #i57855# Replaced getCppuType (which is still there for backwards compatibility) with new cppu::UnoType and helper cppu::getTypeFavourUnsigned, as GCC 4.1 started to complain about non-conforming uses of getCppuType in template code.
This commit is contained in:
Rüdiger Timm
2006-01-10 14:53:46 +00:00
parent 89cc85d495
commit 02271e5dc9

View File

@@ -4,9 +4,9 @@
*
* $RCSfile: Type.h,v $
*
* $Revision: 1.13 $
* $Revision: 1.14 $
*
* last change: $Author: rt $ $Date: 2005-09-08 08:35:01 $
* last change: $Author: rt $ $Date: 2006-01-10 15:53:46 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -235,6 +235,9 @@ public:
/** Gets the meta type of IDL type "type".
There are cases (involving templates) where uses of getCppuType are known to
not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
@param dummy typed pointer for function signature
@return type of IDL type "type"
*/
@@ -262,12 +265,18 @@ inline const ::com::sun::star::uno::Type & SAL_CALL getCppuBooleanType() SAL_THR
inline const ::com::sun::star::uno::Type & SAL_CALL getBooleanCppuType() SAL_THROW( () );
/** Gets the meta type of IDL type boolean.
There are cases (involving templates) where uses of getCppuType are known to
not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
@param dummy typed pointer for function signature
@return type of IDL type boolean
*/
inline const ::com::sun::star::uno::Type & SAL_CALL getCppuType( const sal_Bool * ) SAL_THROW( () );
/** Gets the meta type of IDL type boolean.
There are cases (involving templates) where uses of getCppuType are known to
not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
@param dummy typed pointer for function signature
@return type of IDL type boolean
*/
@@ -287,6 +296,9 @@ inline const ::com::sun::star::uno::Type & SAL_CALL getCppuCharType() SAL_THROW(
/** Gets the meta type of IDL type byte.
There are cases (involving templates) where uses of getCppuType are known to
not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
@param dummy typed pointer for function signature
@return type of IDL type byte
*/
@@ -294,6 +306,9 @@ inline const ::com::sun::star::uno::Type & SAL_CALL getCppuType( const sal_Int8
/** Gets the meta type of IDL type string.
There are cases (involving templates) where uses of getCppuType are known to
not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
@param dummy typed pointer for function signature
@return type of IDL type string
*/
@@ -301,6 +316,9 @@ inline const ::com::sun::star::uno::Type & SAL_CALL getCppuType( const ::rtl::OU
/** Gets the meta type of IDL type short.
There are cases (involving templates) where uses of getCppuType are known to
not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
@param dummy typed pointer for function signature
@return type of IDL type short
*/
@@ -308,6 +326,9 @@ inline const ::com::sun::star::uno::Type & SAL_CALL getCppuType( const sal_Int16
/** Gets the meta type of IDL type unsigned short.
There are cases (involving templates) where uses of getCppuType are known to
not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
@param dummy typed pointer for function signature
@return type of IDL type unsigned short
*/
@@ -315,6 +336,9 @@ inline const ::com::sun::star::uno::Type & SAL_CALL getCppuType( const sal_uInt1
/** Gets the meta type of IDL type long.
There are cases (involving templates) where uses of getCppuType are known to
not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
@param dummy typed pointer for function signature
@return type of IDL type long
*/
@@ -322,6 +346,9 @@ inline const ::com::sun::star::uno::Type & SAL_CALL getCppuType( const sal_Int32
/** Gets the meta type of IDL type unsigned long.
There are cases (involving templates) where uses of getCppuType are known to
not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
@param dummy typed pointer for function signature
@return type of IDL type unsigned long
*/
@@ -329,6 +356,9 @@ inline const ::com::sun::star::uno::Type & SAL_CALL getCppuType( const sal_uInt3
/** Gets the meta type of IDL type hyper.
There are cases (involving templates) where uses of getCppuType are known to
not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
@param dummy typed pointer for function signature
@return type of IDL type hyper
*/
@@ -336,6 +366,9 @@ inline const ::com::sun::star::uno::Type & SAL_CALL getCppuType( const sal_Int64
/** Gets the meta type of IDL type unsigned hyper.
There are cases (involving templates) where uses of getCppuType are known to
not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
@param dummy typed pointer for function signature
@return type of IDL type unsigned hyper
*/
@@ -343,6 +376,9 @@ inline const ::com::sun::star::uno::Type & SAL_CALL getCppuType( const sal_uInt6
/** Gets the meta type of IDL type float.
There are cases (involving templates) where uses of getCppuType are known to
not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
@param dummy typed pointer for function signature
@return type of IDL type float
*/
@@ -350,6 +386,9 @@ inline const ::com::sun::star::uno::Type & SAL_CALL getCppuType( const float * )
/** Gets the meta type of IDL type double.
There are cases (involving templates) where uses of getCppuType are known to
not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
@param dummy typed pointer for function signature
@return type of IDL type double
*/