solenv/gdb/libreoffice/sw.py |   15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)

New commits:
commit b87597babf1b628aa9a80042956d05f44f542fae
Author:     Michael Stahl <michael.st...@allotropia.de>
AuthorDate: Tue Feb 8 18:53:56 2022 +0100
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Thu Feb 10 13:18:08 2022 +0100

    gdb: fix SwXTextCursorPrinter
    
    m_pImpl was removed in commit cb0991e32987108d900ec7e8fcd4ce477ebc9fb4
    
    Change-Id: I9ca0cdbca97242ace5243f140ac2e17055b3f718
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129685
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>
    (cherry picked from commit a10a031199b36914ba14705e417efd76dbb0383a)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129625
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>

diff --git a/solenv/gdb/libreoffice/sw.py b/solenv/gdb/libreoffice/sw.py
index 7a5ce193684b..707d0a425518 100644
--- a/solenv/gdb/libreoffice/sw.py
+++ b/solenv/gdb/libreoffice/sw.py
@@ -122,8 +122,8 @@ class SwXTextRangeImplPrinter(object):
         children = [('mark', mark)]
         return children.__iter__()
 
-class SwXTextCursorImplPrinter(object):
-    '''Prints SwXTextCursor::Impl.'''
+class SwXTextCursorPrinter(object):
+    '''Prints SwXTextCursor.'''
 
     def __init__(self, typename, value):
         self.typename = typename
@@ -161,16 +161,6 @@ class SwXTextRangePrinter(object):
     def to_string(self):
         return "%s %s" % (self.typename, self.value['m_pImpl'])
 
-class SwXTextCursorPrinter(object):
-    '''Prints SwXTextCursor.'''
-
-    def __init__(self, typename, value):
-        self.typename = typename
-        self.value = value
-
-    def to_string(self):
-        return "%s %s" % (self.typename, self.value['m_pImpl'])
-
 class BigPtrArrayPrinter(object):
     '''Prints BigPtrArray.'''
 
@@ -305,7 +295,6 @@ def build_pretty_printers():
     printer.add('SwXTextRange::Impl', SwXTextRangeImplPrinter)
     printer.add('sw::UnoImplPtr', SwUnoImplPtrPrinter)
     printer.add('SwXTextRange', SwXTextRangePrinter)
-    printer.add('SwXTextCursor::Impl', SwXTextCursorImplPrinter)
     printer.add('SwXTextCursor', SwXTextCursorPrinter)
 
 def register_pretty_printers(obj):

Reply via email to