diff layer/PaintAssistant.cpp @ 585:f4960f8ce798 debug-output

Convert many cerrs to DEBUGs
author Chris Cannam
date Mon, 16 May 2011 17:19:25 +0100
parents e52ed907cc42
children 4806715f7a19
line wrap: on
line diff
--- a/layer/PaintAssistant.cpp	Thu May 12 17:31:43 2011 +0100
+++ b/layer/PaintAssistant.cpp	Mon May 16 17:19:25 2011 +0100
@@ -104,8 +104,8 @@
             ny = getYForValue(scale, nval, minVal, maxVal, rect.y(), h);
         }
 
-//        std::cerr << "PaintAssistant::paintVerticalLevelScale: val = "
-//                  << val << ", y = " << y << ", h = " << h << std::endl;
+//        DEBUG << "PaintAssistant::paintVerticalLevelScale: val = "
+//                  << val << ", y = " << y << ", h = " << h << endl;
 
         bool spaceForLabel = (i == 0 ||
                               abs(y - lastLabelledY) >= textHeight - 1);