INTEGRATION: CWS sb10 (1.17.22); FILE MERGED

2003/12/17 10:20:56 sb 1.17.22.6: RESYNC: (1.18-1.19); FILE MERGED
2003/12/01 11:09:33 sb 1.17.22.5: #114000# Drop support for service description types, add support for multiple-inheritance interface types instead.
2003/11/04 13:58:54 sb 1.17.22.4: #112870# Generate UNOTYPEINFO for service descriptions.
2003/10/30 12:47:48 sb 1.17.22.3: #112870# Fixed preliminary code generation for services.
2003/10/30 09:51:33 sb 1.17.22.2: RESYNC: (1.17-1.18); FILE MERGED
2003/10/30 09:09:26 sb 1.17.22.1: #112870# Added preliminary code generation for services.
This commit is contained in:
Jens-Heiner Rechtien
2004-02-03 10:54:05 +00:00
parent 8abe53a2ea
commit 9e19e55657

View File

@@ -2,9 +2,9 @@
* *
* $RCSfile: javatype.cxx,v $ * $RCSfile: javatype.cxx,v $
* *
* $Revision: 1.19 $ * $Revision: 1.20 $
* *
* last change: $Author: rt $ $Date: 2003-12-01 18:08:27 $ * last change: $Author: hr $ $Date: 2004-02-03 11:54:05 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@@ -875,9 +875,11 @@ sal_Bool InterfaceType::dumpFile(FileStream& o)
o << "public interface " << m_name; o << "public interface " << m_name;
OString superType(m_reader.getSuperTypeName()); sal_uInt16 superTypeCount = m_reader.getMISuperTypeCount();
if (superType.getLength() > 0) for (sal_uInt16 i = 0; i < superTypeCount; ++i) {
o << " extends " << scopedName(m_typeName, superType); OString superType(m_reader.getMISuperTypeName(i));
o << (i == 0 ? " extends " : ", ") << scopedName(m_typeName, superType);
}
o << "\n{\n"; o << "\n{\n";
inc(); inc();