diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-12-13 22:17:30 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-12-14 23:12:47 +0100 |
commit | 151b80ab7d75179f5c66aef0cf87832bf18d758c (patch) | |
tree | b860867578948747e7d9a641cc2feb542ae31d5a | |
parent | 09324777714e0b02b79bdad485d9c8a19533d590 (diff) |
solenv: adapt SwPositionPrinter to BigPtrEntry renaming
Change-Id: I096211333c563b501627fef0dbdec8c3c98d501a
-rw-r--r-- | solenv/gdb/libreoffice/sw.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/solenv/gdb/libreoffice/sw.py b/solenv/gdb/libreoffice/sw.py index 8ccdbf483d21..88b8a9bf5ed9 100644 --- a/solenv/gdb/libreoffice/sw.py +++ b/solenv/gdb/libreoffice/sw.py @@ -19,8 +19,8 @@ class SwPositionPrinter(object): def to_string(self): node = self.value['nNode']['m_pNode'].dereference(); - block = node['pBlock'].dereference(); - nodeindex = block['nStart'] + node['nOffset'] + block = node['m_pBlock'].dereference(); + nodeindex = block['nStart'] + node['m_nOffset'] offset = self.value['nContent']['m_nIndex'] return "%s (node %d, offset %d)" % (self.typename, nodeindex, offset) @@ -33,8 +33,8 @@ class SwNodeIndexPrinter(object): def to_string(self): node = self.value['m_pNode'].dereference(); - block = node['pBlock'].dereference(); - nodeindex = block['nStart'] + node['nOffset'] + block = node['m_pBlock'].dereference(); + nodeindex = block['nStart'] + node['m_nOffset'] return "%s (node %d)" % (self.typename, nodeindex) class SwIndexPrinter(object): |