From b2086ea8373c8d41b2ffa430777ed887742836a1 Mon Sep 17 00:00:00 2001 From: Michael Pfeiffer Date: Mon, 21 Feb 2005 17:39:33 +0000 Subject: [PATCH] Removed debugging code. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11439 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/print/drivers/pcl6/Rasterizer.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/add-ons/print/drivers/pcl6/Rasterizer.cpp b/src/add-ons/print/drivers/pcl6/Rasterizer.cpp index 8c1ce932b2..c5ac5f6c5f 100644 --- a/src/add-ons/print/drivers/pcl6/Rasterizer.cpp +++ b/src/add-ons/print/drivers/pcl6/Rasterizer.cpp @@ -37,18 +37,8 @@ Rasterizer::SetBitmap(int x, int y, BBitmap *bitmap, int pageHeight) return false; } - fprintf(stderr, "valid rect (%d, %d, %d, %d)\n", - fBounds.left, fBounds.top, fBounds.right, fBounds.bottom); - fWidth = fBounds.right - fBounds.left + 1; fHeight = fBounds.bottom - fBounds.top + 1; - - if (fWidth < 0 || fHeight < 0) { - fprintf(stderr, "Error: get_valid_rect returned an empty rect (%f, %f, %f, %f) -> (%d, %d, %d, %d)!", - bounds.left, bounds.top, bounds.right, bounds.bottom, - fBounds.left, fBounds.top, fBounds.right, fBounds.bottom); - return false; - } fBPR = bitmap->BytesPerRow(); fBits = (uchar*)bitmap->Bits();