diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-10-01 09:04:58 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-10-01 09:04:58 +0000 |
commit | 3b2b8f91ff22b93050b9b1aa3da5bd4359182499 (patch) | |
tree | 3e37aa664496da562640735b168da4dcc08bb737 /codemaker/source | |
parent | CWS-TOOLING: integrate CWS cloph11 (diff) | |
download | core-3b2b8f91ff22b93050b9b1aa3da5bd4359182499.tar.gz core-3b2b8f91ff22b93050b9b1aa3da5bd4359182499.zip |
CWS-TOOLING: integrate CWS sb93
Diffstat (limited to 'codemaker/source')
-rw-r--r-- | codemaker/source/cppumaker/cpputype.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/codemaker/source/cppumaker/cpputype.cxx b/codemaker/source/cppumaker/cpputype.cxx index e673c4c575fe..9622c25c4c4e 100644 --- a/codemaker/source/cppumaker/cpputype.cxx +++ b/codemaker/source/cppumaker/cpputype.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: cpputype.cxx,v $ - * $Revision: 1.46 $ + * $Revision: 1.46.4.1 $ * * This file is part of OpenOffice.org. * @@ -2805,8 +2805,10 @@ void StructureType::dumpComprehensiveGetCppuType(FileStream & out) { type, static_cast< sal_uInt32 >(types.size()))). second) { - if (codemaker::UnoType::getSort(type) - == codemaker::UnoType::SORT_COMPLEX) + if ((codemaker::UnoType::getSort(type) == + codemaker::UnoType::SORT_COMPLEX) && + codemaker::UnoType::decompose(type) != m_typeName) + // take care of recursion like struct S { sequence<S> x; }; { out << indent() << "::cppu::UnoType< "; dumpType(out, type, false, false, false, true); |