summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2008-01-04 11:56:42 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2008-01-04 11:56:42 +0000
commit30e66ea6c827d7eb7b93c4edef77ea674da646f2 (patch)
tree36879eaabff27b514ec22e025a6df90a269db5c9
parent13953c2497f460c02cd2e1ab5e8f0b2218553791 (diff)
INTEGRATION: CWS adc21 (1.3.6); FILE MERGED
2007/11/26 16:45:09 np 1.3.6.1: #i83969#
-rw-r--r--autodoc/source/ary/cpp/c_reposypart.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/autodoc/source/ary/cpp/c_reposypart.cxx b/autodoc/source/ary/cpp/c_reposypart.cxx
index 2ec47e18608e..4d57407c3c76 100644
--- a/autodoc/source/ary/cpp/c_reposypart.cxx
+++ b/autodoc/source/ary/cpp/c_reposypart.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: c_reposypart.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: kz $ $Date: 2007-12-14 15:39:30 $
+ * last change: $Author: hr $ $Date: 2008-01-04 12:56:42 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -363,9 +363,12 @@ RepositoryPartition::Connect_AllTypes_2_TheirRelated_CodeEntites()
aHierarchyLinker(*this);
filter_class_iter itEnd( pCes->Storage().End() );
for ( filter_class_iter it( pCes->Storage().BeginUnreserved() );
- it != itEnd AND it.IsValid();
+ it != itEnd;
++it )
{
+ if (NOT it.IsValid())
+ continue;
+
if (is_type<Class>(*it))
aHierarchyLinker(ary_cast<Class>(*it));
}