summaryrefslogtreecommitdiff
path: root/solenv/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'solenv/gdb')
-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'''