diff options
Diffstat (limited to 'chalk/core/kis_painter.cc')
-rw-r--r-- | chalk/core/kis_painter.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chalk/core/kis_painter.cc b/chalk/core/kis_painter.cc index c64935fc..fc3e1d88 100644 --- a/chalk/core/kis_painter.cc +++ b/chalk/core/kis_painter.cc @@ -126,7 +126,7 @@ void KisPainter::beginTransaction(const TQString& customName) if (m_transaction) delete m_transaction; m_transaction = new KisTransaction(customName, m_device); - Q_CHECK_PTR(m_transaction); + TQ_CHECK_PTR(m_transaction); } void KisPainter::beginTransaction( KisTransaction* command) @@ -782,9 +782,9 @@ void KisPainter::fillPolygon(const vKisPoint& points, FillStyle fillStyle) } ind = new int[n]; - Q_CHECK_PTR(ind); + TQ_CHECK_PTR(ind); active = new Edge[n]; - Q_CHECK_PTR(active); + TQ_CHECK_PTR(active); /* create y-sorted array of indices ind[k] into vertex list */ for (k=0; k<n; k++) @@ -815,7 +815,7 @@ void KisPainter::fillPolygon(const vKisPoint& points, FillStyle fillStyle) // create a mask for the actual polygon coverage. KisPaintDeviceSP polygon = new KisPaintDevice(m_device->colorSpace(), "polygon"); - Q_CHECK_PTR(polygon); + TQ_CHECK_PTR(polygon); KisFillPainter fillPainter(polygon); TQRect boundingRectangle(x0, y0, x1 - x0 + 1, y1 - y0 + 1); |