[Libreoffice-commits] .: solenv/gdb

Caolán McNamara caolan at kemper.freedesktop.org
Thu Nov 24 13:18:10 PST 2011


 solenv/gdb/libreoffice/sw.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b0ba08657f23d273721592c30f10d37e43a49ec2
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Nov 24 21:03:45 2011 +0000

    SwIndex::nIndex renamed to SwIndex::m_nIndex

diff --git a/solenv/gdb/libreoffice/sw.py b/solenv/gdb/libreoffice/sw.py
index 0b2ff7f..f41533a 100644
--- a/solenv/gdb/libreoffice/sw.py
+++ b/solenv/gdb/libreoffice/sw.py
@@ -36,7 +36,7 @@ class SwPositionPrinter(object):
 
     def to_string(self):
         node = self.value['nNode']['pNd'].dereference();
-        offset = self.value['nContent']['nIndex']
+        offset = self.value['nContent']['m_nIndex']
         return "%s (node %d, offset %d)" % (self.typename, node['nOffset'], offset)
 
 class SwPaMPrinter(object):


More information about the Libreoffice-commits mailing list