diff options
author | Daniel Boelzle <dbo@openoffice.org> | 2001-10-11 13:11:24 +0000 |
---|---|---|
committer | Daniel Boelzle <dbo@openoffice.org> | 2001-10-11 13:11:24 +0000 |
commit | fa79b3c7d4ac1d6360ec5fd44f894844cfe08d95 (patch) | |
tree | a86072f3f92460415950d6a0f1103836bab72767 /cppu | |
parent | 589e50581a4cbc4d308009627ba4813503aba521 (diff) |
#93054# fixed assertion: enums may also be incomplete
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/typelib/typelib.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx index 8ee58913602a..342f714a4de4 100644 --- a/cppu/source/typelib/typelib.cxx +++ b/cppu/source/typelib/typelib.cxx @@ -2,9 +2,9 @@ * * $RCSfile: typelib.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: hr $ $Date: 2001-06-11 07:50:13 $ + * last change: $Author: dbo $ $Date: 2001-10-11 14:11:24 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -2105,9 +2105,10 @@ extern "C" sal_Bool SAL_CALL typelib_typedescription_complete( if (! (*ppTypeDescr)->bComplete) { OSL_ASSERT( (typelib_TypeClass_STRUCT == (*ppTypeDescr)->eTypeClass || - typelib_TypeClass_EXCEPTION == (*ppTypeDescr)->eTypeClass || - typelib_TypeClass_UNION == (*ppTypeDescr)->eTypeClass || - typelib_TypeClass_INTERFACE == (*ppTypeDescr)->eTypeClass) && + typelib_TypeClass_EXCEPTION == (*ppTypeDescr)->eTypeClass || + typelib_TypeClass_UNION == (*ppTypeDescr)->eTypeClass || + typelib_TypeClass_ENUM == (*ppTypeDescr)->eTypeClass || + typelib_TypeClass_INTERFACE == (*ppTypeDescr)->eTypeClass) && !reallyWeak( (*ppTypeDescr)->eTypeClass ) ); if (typelib_TypeClass_INTERFACE == (*ppTypeDescr)->eTypeClass && |