summaryrefslogtreecommitdiff
path: root/solenv/gdb
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-03-16 21:04:11 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-03-16 22:29:38 +0100
commit65e3e9b448bb547167ef7ec6d2dfe537ecf8a565 (patch)
tree7cdd1b15b74f4e076439f55c1f9e8a0a9ba985ca /solenv/gdb
parent0aaf804de48076bd8bed6459b7c40d87eea4535e (diff)
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.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'solenv/gdb')
-rw-r--r--solenv/gdb/libreoffice/basegfx.py8
1 files changed, 4 insertions, 4 deletions
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.'''