summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2022-02-08 18:53:56 +0100
committerAndras Timar <andras.timar@collabora.com>2022-02-14 11:00:09 +0100
commite611c5cf52161335c6805fe2e9e4d242c3bd5551 (patch)
tree2f70bfc071c5b65c8d33e78a4090bb65e8053067 /solenv
parent0d47590e8b3fa8694a0c02f59ad9117c91e36f75 (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>
Diffstat (limited to 'solenv')
-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):