diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-06-03 14:02:56 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-06-03 14:02:56 +0000 |
commit | d4fa15c6313719e7b6351b7cd6f179d06cc7597d (patch) | |
tree | 2564c4af52de530d3cc428dad940cb7f4b63f91f /rdbmaker | |
parent | 0ff126bb96274e9d9719df5d3974c41fbde4345b (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.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/rdbmaker/source/codemaker/dependency.cxx b/rdbmaker/source/codemaker/dependency.cxx index 76d723d683c8..0dcb5c2391f4 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); } |