summaryrefslogtreecommitdiff
path: root/solenv/gdb/libreoffice
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2013-04-09 09:24:30 +0200
committerMiklos Vajna <vmiklos@suse.cz>2013-04-09 09:25:52 +0200
commit6879db2101f8db185b6eee6bfad755347b28c363 (patch)
tree5aa9b501481c3cebb350ae8aed579de9c3e6766a /solenv/gdb/libreoffice
parent7cd1c10886257f3a6af5e077de9bdc23f1b1c8b6 (diff)
gdb: get UnoReferencePrinter work again
Change-Id: I07d6a24f5c94a115d38ccffde26725b668dab430
Diffstat (limited to 'solenv/gdb/libreoffice')
-rw-r--r--solenv/gdb/libreoffice/cppu.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/solenv/gdb/libreoffice/cppu.py b/solenv/gdb/libreoffice/cppu.py
index dd5ff2df13a1..83c4bffb3a4c 100644
--- a/solenv/gdb/libreoffice/cppu.py
+++ b/solenv/gdb/libreoffice/cppu.py
@@ -64,7 +64,7 @@ class UnoReferencePrinter(object):
iface = self.value['_pInterface']
if iface:
try:
- impl = iface.cast(_itype).dereference()
+ impl = iface.cast(iface.dynamic_type).dereference()
return '%s to %s' % (self.typename, str(impl))
except:
# fallback for potential problem:
@@ -74,9 +74,6 @@ class UnoReferencePrinter(object):
else:
return "empty %s" % self.typename
- def _itype(self):
- return self.value.type.template_argument(0).pointer()
-
class UnoSequencePrinter(object):
'''Prints UNO Sequence'''