diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2022-02-08 18:53:56 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2022-02-09 14:11:01 +0100 |
commit | a10a031199b36914ba14705e417efd76dbb0383a (patch) | |
tree | ccb389039156c26630b2b8cb8f471e765cbf047a /solenv | |
parent | e4c3fa614d9be6e32dde49970ace55d9a2b57368 (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>
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gdb/libreoffice/sw.py | 15 |
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): |