summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-31 10:15:47 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-31 10:15:47 +0100
commit9e77c2fb7cadfd477fb1b971b011d43f30781660 (patch)
tree7a7d70822e2628a1e6383a15eeedb8fea5309123 /solenv
parent11235e86497df47ff3acc61c1cab9fff0b91949e (diff)
Remove UNOIDL "array" and "union" vaporware remnants
...and deprecate what cannot be removed for compatibility. Change-Id: I1ea335af775b867b468b8285113631167729a92a
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gdb/libreoffice/util/uno.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/solenv/gdb/libreoffice/util/uno.py b/solenv/gdb/libreoffice/util/uno.py
index b92a817a5357..a80fdd856d0d 100644
--- a/solenv/gdb/libreoffice/util/uno.py
+++ b/solenv/gdb/libreoffice/util/uno.py
@@ -63,14 +63,12 @@ class TypeClass(object):
TYPEDEF = 16
# type class of struct
STRUCT = 17
- # type class of union (not implemented)
- UNION = 18
+
# type class of exception
EXCEPTION = 19
# type class of sequence
SEQUENCE = 20
- # type class of array (not implemented)
- ARRAY = 21
+
# type class of interface
INTERFACE = 22
# type class of service (not implemented)
@@ -236,14 +234,10 @@ def make_uno_type(val):
pass
elif type_class == TypeClass.STRUCT:
uno_type = StructType(val, full_val)
- elif type_class == TypeClass.UNION:
- raise UnsupportedType('union')
elif type_class == TypeClass.EXCEPTION:
uno_type = CompoundType(val, full_val)
elif type_class == TypeClass.SEQUENCE:
uno_type = IndirectType(val, full_val)
- elif type_class == TypeClass.ARRAY:
- raise UnsupportedType('array')
elif type_class == TypeClass.INTERFACE:
uno_type = InterfaceType(val, full_val)
elif type_class == TypeClass.SERVICE: