Bug 498843. Cleanup whitespace. r+sr=pavlov

--HG--
extra : rebase_source : ee45a9fc21a466c832f70ae43e7f77a126e4c762
This commit is contained in:
Tobias Hunger 2009-06-17 09:56:36 +02:00
Родитель edef87e501
Коммит a99dd97396
1 изменённых файлов: 440 добавлений и 464 удалений

Просмотреть файл

@ -758,29 +758,6 @@ _cairo_qpainter_surface_intersect_clip_path (void *abstract_surface,
_cairo_traps_fini (&traps); _cairo_traps_fini (&traps);
if (status == CAIRO_INT_STATUS_SUCCESS) { if (status == CAIRO_INT_STATUS_SUCCESS) {
#if 0
cairo_box_int_t *boxes;
int n_boxes;
QRegion qr;
_cairo_region_get_boxes (&region, &n_boxes, &boxes);
for (int i = 0; i < n_boxes; i++) {
QRect r(boxes[i].p1.x,
boxes[i].p1.y,
boxes[i].p2.x - boxes[i].p1.x,
boxes[i].p2.y - boxes[i].p1.y);
if (i == 0)
clip_bounds = r;
else
clip_bounds = clip_bounds.united(r);
qr = qr.unite(r);
}
_cairo_region_boxes_fini (&region, boxes);
#else
int n_boxes; int n_boxes;
QRegion qr; QRegion qr;
@ -799,7 +776,6 @@ _cairo_qpainter_surface_intersect_clip_path (void *abstract_surface,
qr = qr.unite(r); qr = qr.unite(r);
} }
#endif
_cairo_region_fini (region); _cairo_region_fini (region);
qs->p->setClipRegion (qr, Qt::IntersectClip); qs->p->setClipRegion (qr, Qt::IntersectClip);