summaryrefslogtreecommitdiff
path: root/solenv/gdb/libreoffice
diff options
context:
space:
mode:
Diffstat (limited to 'solenv/gdb/libreoffice')
-rw-r--r--solenv/gdb/libreoffice/sw.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gdb/libreoffice/sw.py b/solenv/gdb/libreoffice/sw.py
index fa7375914563..19c1a75cda45 100644
--- a/solenv/gdb/libreoffice/sw.py
+++ b/solenv/gdb/libreoffice/sw.py
@@ -213,7 +213,7 @@ class BigPtrArrayPrinter(object):
# accessing this is completely non-obvious...
# also, node.dynamic_cast(node.dynamic_type) is null?
value = " TextNode " + \
- unicode(node.cast(node.dynamic_type).dereference()['m_Text'])
+ six.text_type(node.cast(node.dynamic_type).dereference()['m_Text'])
elif str(node.dynamic_type.target()) == "SwOLENode":
value = " OLENode "
elif str(node.dynamic_type.target()) == "SwGrfNode":