solenv/gdb/libreoffice/basegfx.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit 65e3e9b448bb547167ef7ec6d2dfe537ecf8a565 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Sat Mar 16 21:04:11 2024 +0000 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Sat Mar 16 22:29:38 2024 +0100 fix gdb pretty-printer for basegfx::B2DPolygon probably broken since around: commit 347112fbd89ebd2a244052f14e085c9d3c90838d Date: Sun Oct 8 13:14:39 2023 +0300 Drop temporary aliases from Tuple2D and Tuple3D Change-Id: I117e719dd654fb063811750fdf20d353a82b6996 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164934 Tested-by: Caolán McNamara <caolan.mcnam...@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/solenv/gdb/libreoffice/basegfx.py b/solenv/gdb/libreoffice/basegfx.py index c14968c91eb2..b6291605c5f2 100644 --- a/solenv/gdb/libreoffice/basegfx.py +++ b/solenv/gdb/libreoffice/basegfx.py @@ -98,7 +98,7 @@ class B2DPolygonPrinter(object): # self.value.address, self.index)) self.index += 1 return ('point %d' % (self.index-1), - '(%15f, %15f)' % (currPoint['mfX'], currPoint['mfY'])) + '(%15f, %15f)' % (currPoint['mnX'], currPoint['mnY'])) class _bezierIterator(six.Iterator): def __init__(self, count, value): @@ -129,9 +129,9 @@ class B2DPolygonPrinter(object): self.index += 1 return ('point %d' % (self.index-1), 'p: (%15f, %15f) c-1: (%15f, %15f) c1: (%15f, %15f)' % - (currPoint['mfX'], currPoint['mfY'], - prevControl['mfX'], prevControl['mfY'], - nextControl['mfX'], nextControl['mfY'])) + (currPoint['mnX'], currPoint['mnY'], + prevControl['mnX'], prevControl['mnY'], + nextControl['mnX'], nextControl['mnY'])) class B2DPolyPolygonPrinter(object): '''Prints a B2DPolyPolygon object.'''