[Libreoffice-commits] core.git: solenv/gdb
Noel Grandin
noel.grandin at collabora.co.uk
Thu Jul 13 10:41:49 UTC 2017
solenv/gdb/libreoffice/sw.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 51bb68928933bf5d72efb9193f1be6af6e72c80f
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date: Thu Jul 13 12:39:02 2017 +0200
fix BigPtrArray pretty printer
after commit 64079184cc06444e9dfdb55a5c66829e929d4a59
"improve useuniqueptr loplugin to find arrays"
Change-Id: I29841af65fcb0c1f92e52d9aeee164328bbb4663
diff --git a/solenv/gdb/libreoffice/sw.py b/solenv/gdb/libreoffice/sw.py
index 6c0165e3fc6b..7fd401b63049 100644
--- a/solenv/gdb/libreoffice/sw.py
+++ b/solenv/gdb/libreoffice/sw.py
@@ -194,7 +194,7 @@ class BigPtrArrayPrinter(object):
class _iterator(six.Iterator):
def __init__(self, array):
- self.blocks = array['m_ppInf']
+ self.blocks = array['m_ppInf']['_M_t']['_M_head_impl']
self.count = array['m_nSize']
self.pos = 0
self.block_count = array['m_nBlock']
More information about the Libreoffice-commits
mailing list