Mercurial > hg > svgui
diff layer/SingleColourLayer.cpp @ 585:f4960f8ce798 debug-output
Convert many cerrs to DEBUGs
author | Chris Cannam |
---|---|
date | Mon, 16 May 2011 17:19:25 +0100 |
parents | e1a9e478b7f2 |
children | 4806715f7a19 |
line wrap: on
line diff
--- a/layer/SingleColourLayer.cpp Thu May 12 17:31:43 2011 +0100 +++ b/layer/SingleColourLayer.cpp Mon May 16 17:19:25 2011 +0100 @@ -132,7 +132,7 @@ SingleColourLayer::setDefaultColourFor(View *v) { #ifdef DEBUG_COLOUR_SELECTION - std::cerr << "SingleColourLayer::setDefaultColourFor: m_colourExplicitlySet = " << m_colourExplicitlySet << ", m_defaultColourSet " << m_defaultColourSet << std::endl; + DEBUG << "SingleColourLayer::setDefaultColourFor: m_colourExplicitlySet = " << m_colourExplicitlySet << ", m_defaultColourSet " << m_defaultColourSet << endl; #endif if (m_colourExplicitlySet || m_defaultColourSet) return; @@ -312,7 +312,7 @@ if (m_colour != colour) { #ifdef DEBUG_COLOUR_SELECTION - std::cerr << "SingleColourLayer::setProperties: changing colour from " << m_colour << " to " << colour << std::endl; + DEBUG << "SingleColourLayer::setProperties: changing colour from " << m_colour << " to " << colour << endl; #endif if (m_colourRefCount.find(m_colour) != m_colourRefCount.end() &&