summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 9e5fa4c88d00..b2e4db94536c 100644
--- a/solenv/gdb/libreoffice/basegfx.py
+++ b/solenv/gdb/libreoffice/basegfx.py
@@ -60,7 +60,7 @@ class B2DPolygonPrinter(object):
def _count(self):
# It's a call into the inferior (being debugged) process.
# Will not work with core dumps and can cause a deadlock.
- if self.exists()
+ if self.exists():
return int(gdb.parse_and_eval(
"(('basegfx::B2DPolygon' *) {})->count()".format(self.value.address)))
@@ -70,7 +70,7 @@ class B2DPolygonPrinter(object):
def _hasCurves(self):
# It's a call into the inferior (being debugged) process.
# Will not work with core dumps and can cause a deadlock.
- if self.exists()
+ if self.exists():
return int(gdb.parse_and_eval(
"(('basegfx::B2DPolygon' *) {})->areControlPointsUsed()".format(self.value.address))) != 0
@@ -153,14 +153,14 @@ class B2DPolyPolygonPrinter(object):
def _count(self):
# It's a call into the inferior (being debugged) process.
# Will not work with core dumps and can cause a deadlock.
- if self.exists()
+ if self.exists():
return int(gdb.parse_and_eval(
"(('basegfx::B2DPolyPolygon' *) {})->count()".format(self.value.address)))
def _isClosed(self):
# It's a call into the inferior (being debugged) process.
# Will not work with core dumps and can cause a deadlock.
- if self.exists()
+ if self.exists():
return int(gdb.parse_and_eval(
"(('basegfx::B2DPolyPolygon' *) {})->isClosed()".format(self.value.address))) != 0