summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2022-02-08 18:53:56 +0100
committerMiklos Vajna <vmiklos@collabora.com>2022-02-10 13:18:08 +0100
commitb87597babf1b628aa9a80042956d05f44f542fae (patch)
treef974ad2b0bcc53b373adaf66fb826ba9b9b87596
parent550a82c782e29dac405ead56dff5a9515c88cf1d (diff)
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.stahl@allotropia.de> (cherry picked from commit a10a031199b36914ba14705e417efd76dbb0383a) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129625 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
-rw-r--r--solenv/gdb/libreoffice/sw.py15
1 files changed, 2 insertions, 13 deletions
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):