summaryrefslogtreecommitdiff
path: root/rdbmaker
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-06-03 14:02:56 +0000
committerOliver Bolte <obo@openoffice.org>2004-06-03 14:02:56 +0000
commitbf969aab9977a46cf9c9ce2738873c735b3e7d1d (patch)
treec70404ef083a365a5d640f34be025350c32fb271 /rdbmaker
parent3c342fc6171de9ae3a5090c53513db5b110a7409 (diff)
INTEGRATION: CWS sb18 (1.3.60); FILE MERGED
2004/05/24 09:31:14 sb 1.3.60.1: #i21150# Adapted to new registry type reader.
Diffstat (limited to 'rdbmaker')
-rw-r--r--rdbmaker/source/codemaker/dependency.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/rdbmaker/source/codemaker/dependency.cxx b/rdbmaker/source/codemaker/dependency.cxx
index c14ddb9a0..0d906dfe6 100644
--- a/rdbmaker/source/codemaker/dependency.cxx
+++ b/rdbmaker/source/codemaker/dependency.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dependency.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: hr $ $Date: 2003-03-26 14:28:43 $
+ * last change: $Author: obo $ $Date: 2004-06-03 15:02:56 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -330,9 +330,8 @@ sal_Bool checkTypeDependencies(TypeManager& typeMgr, TypeDependency& dependencie
return sal_True;
}
- OString superType(reader.getSuperTypeName());
- if (superType.getLength() > 0)
- {
+ for (sal_uInt16 i = 0; i < reader.getSuperTypeCount(); ++i) {
+ OString superType(reader.getSuperTypeName(i));
dependencies.insert(type, superType, TYPEUSE_SUPER);
checkTypeDependencies(typeMgr, dependencies, superType);
}