summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-12-17 16:06:07 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-12-17 16:06:07 +0000
commite49d48c7ae7065a502f65cb3d046743d92806c41 (patch)
tree4789420626f5eed3f3d44f94818cf747b37d558d /codemaker
parent1b94291f3fc0d5190c1abef01f630fa834f1f153 (diff)
INTEGRATION: CWS geordi2q11 (1.6.38); FILE MERGED
2003/12/15 17:38:43 hr 1.6.38.1: #111934#: join CWS ooo111fix1
Diffstat (limited to 'codemaker')
-rw-r--r--codemaker/source/cunomaker/cunotype.cxx32
1 files changed, 16 insertions, 16 deletions
diff --git a/codemaker/source/cunomaker/cunotype.cxx b/codemaker/source/cunomaker/cunotype.cxx
index b0220c3a9036..7245cfea372a 100644
--- a/codemaker/source/cunomaker/cunotype.cxx
+++ b/codemaker/source/cunomaker/cunotype.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: cunotype.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: hr $ $Date: 2003-03-19 15:53:42 $
+ * last change: $Author: vg $ $Date: 2003-12-17 17:06:07 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -551,7 +551,7 @@ void CunoType::dumpLGetCunoType(FileStream& o)
{
OString typeName(m_typeName.replace('/', '_'));
- o << "#if ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || (defined(__GNUC__) && defined(__APPLE__)))\n"
+ o << "#if ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || ((__GNUC__<3) && defined(__APPLE__)))\n"
<< "static typelib_TypeDescriptionReference * s_pType_" << typeName << " = 0;\n"
<< "#endif\n\n";
@@ -566,7 +566,7 @@ void CunoType::dumpLGetCunoType(FileStream& o)
}
inc();
- o << indent() << "#if ! ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || (defined(__GNUC__) && defined(__APPLE__)))\n"
+ o << indent() << "#if ! ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || ((__GNUC__<3) && defined(__APPLE__)))\n"
<< indent() << "static typelib_TypeDescriptionReference * s_pType_" << typeName << " = 0;\n"
<< indent() << "#endif\n\n";
@@ -603,7 +603,7 @@ void CunoType::dumpGetCunoType(FileStream& o)
if ( !m_typeName.equals("com/sun/star/uno/Exception") )
{
- o << "#if ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || (defined(__GNUC__) && defined(__APPLE__)))\n"
+ o << "#if ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || ((__GNUC__<3) && defined(__APPLE__)))\n"
<< "static typelib_TypeDescriptionReference * s_pType_" << typeName << " = 0;\n"
<< "#endif\n\n";
}
@@ -616,7 +616,7 @@ void CunoType::dumpGetCunoType(FileStream& o)
o << indent() << "return typelib_static_type_getByTypeClass( typelib_TypeClass_EXCEPTION );\n";
} else
{
- o << indent() << "#if ! ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || (defined(__GNUC__) && defined(__APPLE__)))\n"
+ o << indent() << "#if ! ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || ((__GNUC__<3) && defined(__APPLE__)))\n"
<< indent() << "static typelib_TypeDescriptionReference * s_pType_" << typeName << " = 0;\n"
<< indent() << "#endif\n\n";
@@ -724,14 +724,14 @@ void CunoType::dumpCGetCunoType(FileStream& o)
dumpOpenExternC(o);
- o << "#if ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || (defined(__GNUC__) && defined(__APPLE__)))\n"
+ o << "#if ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || ((__GNUC__<3) && defined(__APPLE__)))\n"
<< "static typelib_TypeDescriptionReference * s_pType_" << typeName << " = 0;\n"
<< "#endif\n\n";
o << "typelib_TypeDescriptionReference ** SAL_CALL getCUnoType_" << m_name << "() SAL_THROW_EXTERN_C( () )\n{\n";
inc();
- o << "#if ! ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || (defined(__GNUC__) && defined(__APPLE__)))\n"
+ o << "#if ! ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || ((__GNUC__<3) && defined(__APPLE__)))\n"
<< indent() << "static typelib_TypeDescriptionReference * s_pType_" << typeName << " = 0;\n"
<< "#endif\n\n";
@@ -1937,7 +1937,7 @@ void InterfaceType::dumpGetCunoType(FileStream& o)
if ( !m_typeName.equals("com/sun/star/uno/XInterface") )
{
- o << "#if ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || (defined(__GNUC__) && defined(__APPLE__)))\n"
+ o << "#if ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || ((__GNUC__<3) && defined(__APPLE__)))\n"
<< "static typelib_TypeDescriptionReference * s_pType_" << typeName << " = 0;\n"
<< "#endif\n\n";
}
@@ -1950,7 +1950,7 @@ void InterfaceType::dumpGetCunoType(FileStream& o)
o << indent() << "return typelib_static_type_getByTypeClass( typelib_TypeClass_INTERFACE );\n";
} else
{
- o << indent() << "#if ! ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || (defined(__GNUC__) && defined(__APPLE__)))\n"
+ o << indent() << "#if ! ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || ((__GNUC__<3) && defined(__APPLE__)))\n"
<< indent() << "static typelib_TypeDescriptionReference * s_pType_" << typeName << " = 0;\n"
<< indent() << "#endif\n\n";
@@ -1994,14 +1994,14 @@ void InterfaceType::dumpCGetCunoType(FileStream& o)
dumpOpenExternC(o);
- o << "#if ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || (defined(__GNUC__) && defined(__APPLE__)))\n"
+ o << "#if ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || ((__GNUC__<3) && defined(__APPLE__)))\n"
<< "static typelib_TypeDescriptionReference * s_pType_" << typeName << " = 0;\n"
<< "#endif\n\n";
o << "typelib_TypeDescriptionReference ** SAL_CALL getCUnoType_" << m_name << "() SAL_THROW_EXTERN_C( () )\n{\n";
inc();
- o << "#if ! ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || (defined(__GNUC__) && defined(__APPLE__)))\n"
+ o << "#if ! ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || ((__GNUC__<3) && defined(__APPLE__)))\n"
<< indent() << "static typelib_TypeDescriptionReference * s_pType_" << typeName << " = 0;\n"
<< "#endif\n\n";
@@ -3190,14 +3190,14 @@ void EnumType::dumpGetCunoType(FileStream& o)
dumpOpenExternC(o);
- o << "#if ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || (defined(__GNUC__) && defined(__APPLE__)))\n"
+ o << "#if ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || ((__GNUC__<3) && defined(__APPLE__)))\n"
<< "static typelib_TypeDescriptionReference * s_pType_" << typeName << " = 0;\n"
<< "#endif\n\n";
o << "typelib_TypeDescriptionReference ** SAL_CALL getCUnoType_" << m_name << "() SAL_THROW_EXTERN_C( () )\n{\n";
inc();
- o << indent() << "#if ! ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || (defined(__GNUC__) && defined(__APPLE__)))\n"
+ o << indent() << "#if ! ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || ((__GNUC__<3) && defined(__APPLE__)))\n"
<< indent() << "static typelib_TypeDescriptionReference * s_pType_" << typeName << " = 0;\n"
<< indent() << "#endif\n\n";
@@ -3225,14 +3225,14 @@ void EnumType::dumpCGetCunoType(FileStream& o)
dumpOpenExternC(o);
- o << "#if ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || (defined(__GNUC__) && defined(__APPLE__)))\n"
+ o << "#if ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || ((__GNUC__<3) && defined(__APPLE__)))\n"
<< "static typelib_TypeDescriptionReference * s_pType_" << typeName << " = 0;\n"
<< "#endif\n\n";
o << "typelib_TypeDescriptionReference ** SAL_CALL getCUnoType_" << m_name << "() SAL_THROW_EXTERN_C( () )\n{\n";
inc();
- o << "#if ! ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || (defined(__GNUC__) && defined(__APPLE__)))\n"
+ o << "#if ! ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || ((__GNUC__<3) && defined(__APPLE__)))\n"
<< indent() << "static typelib_TypeDescriptionReference * s_pType_" << typeName << " = 0;\n"
<< "#endif\n\n";