solenv/gdb/libreoffice/sw.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 6e2b926f82dd0da2edd0ca6edaf6fc0a0a8ceef9 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Fri Sep 16 11:13:04 2022 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Fri Sep 16 12:11:48 2022 +0200 fix SwContentIndexPrinter pretty printer after commit 739f3bb7228fa8c33029af46093b4646f848814b Author: Noel Grandin <noel.gran...@collabora.co.uk> Date: Wed Aug 31 15:29:20 2022 +0200 improve the SwContentIndex debug pretty printer Change-Id: Ib7b30f2f7d9a33f70243d8b72357b6f9823bc397 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140062 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/solenv/gdb/libreoffice/sw.py b/solenv/gdb/libreoffice/sw.py index fc5ff62dad0e..3ca9a7f64413 100644 --- a/solenv/gdb/libreoffice/sw.py +++ b/solenv/gdb/libreoffice/sw.py @@ -51,9 +51,9 @@ class SwContentIndexPrinter(object): if pNode: node = pNode.dereference() block = node['m_pBlock'].dereference(); - nodeindex = block['nStart'] + node['m_nOffset'] + nodeindex = str(block['nStart'] + node['m_nOffset']) offset = self.value['m_nIndex'] - return "%s (node %d offset %d)" % (self.typename, nodeindex, offset) + return "%s (node %s offset %s)" % (self.typename, nodeindex, offset) class SwPaMPrinter(object): '''Prints SwPaM.'''