diff options
-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): |