summaryrefslogtreecommitdiff
path: root/unodevtools
diff options
context:
space:
mode:
authorJuergen Schmidt <jsc@openoffice.org>2005-10-25 11:59:40 +0000
committerJuergen Schmidt <jsc@openoffice.org>2005-10-25 11:59:40 +0000
commit9e2a3ff7c01bace1785cffb31fe9511221372a27 (patch)
tree8788e0ca5c6fbbdc0d9bf32bf71438f40a17136c /unodevtools
parent5876043501ea104705a5b8170f5a56ef58f34795 (diff)
#i52208# correct typeblob for exceptions/strcuts
Diffstat (limited to 'unodevtools')
-rw-r--r--unodevtools/source/unodevtools/typeblob.cxx14
1 files changed, 12 insertions, 2 deletions
diff --git a/unodevtools/source/unodevtools/typeblob.cxx b/unodevtools/source/unodevtools/typeblob.cxx
index 2096a838a825..e13eb06ab93e 100644
--- a/unodevtools/source/unodevtools/typeblob.cxx
+++ b/unodevtools/source/unodevtools/typeblob.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: typeblob.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: jsc $ $Date: 2005-09-09 13:50:40 $
+ * last change: $Author: jsc $ $Date: 2005-10-25 12:59:40 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -532,6 +532,11 @@ void* getTypeBlob(Reference< XHierarchicalNameAccess > xTDmgr,
superCount, memberCount, 0,
(sal_uInt16)typeParams.getLength());
+ // set super type
+ if (superCount > 0) {
+ writer.setSuperTypeName(0, uSuperType);
+ }
+
sal_uInt16 i=0;
for (i=0; i < memberCount; i++)
{
@@ -583,6 +588,11 @@ void* getTypeBlob(Reference< XHierarchicalNameAccess > xTDmgr,
uTypeName.replace('.', '/'),
superCount, memberCount, 0, 0);
+ // set super type
+ if (superCount > 0) {
+ writer.setSuperTypeName(0, uSuperType);
+ }
+
for (sal_Int16 i=0; i < memberCount; i++)
{
writer.setFieldData(i, OUString(), OUString(), RT_ACCESS_READWRITE,