solenv/gdb/libreoffice/basegfx.py |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit f513741bdc91f1871bdb8b01b21058e208a96eb0
Author:     Noel Grandin <[email protected]>
AuthorDate: Wed Sep 25 17:09:58 2024 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Wed Sep 25 22:10:17 2024 +0200

    fix basegfx.py
    
    after
        commit 3c82f49fcee3f1e4ddae8919993dde57e8bbab2d
    Author: Armin Le Grand (allotropia)
    <[email protected]>
        Date:   Mon Sep 23 17:57:00 2024 +0200
        Adapting basegfx.py due to blocking in some situations
    
    Change-Id: Ie266c7b5aeb5dccaae03c26b7cd73cd65841748c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173949
    Reviewed-by: Noel Grandin <[email protected]>
    Tested-by: Jenkins

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
 
  • core.git: solenv/gdb Armin Le Grand (allotropia) (via logerrit)
    • core.git: solenv/gdb Noel Grandin (via logerrit)

Reply via email to