Mercurial > hg > svgui
comparison layer/Colour3DPlotRenderer.cpp @ 1265:6e724c81f18f
Convert some cerrs to SVCERRs. Apart from anything else, this makes MSVC2017 happy
author | Chris Cannam |
---|---|
date | Thu, 01 Mar 2018 14:43:53 +0000 |
parents | 2cc9e0e5df51 |
children | a34a2a25907c |
comparison
equal
deleted
inserted
replaced
1264:5f68f5c74904 | 1265:6e724c81f18f |
---|---|
295 QRect pr = rect & m_cache.getValidArea(); | 295 QRect pr = rect & m_cache.getValidArea(); |
296 paint.drawImage(pr.x(), pr.y(), m_cache.getImage(), | 296 paint.drawImage(pr.x(), pr.y(), m_cache.getImage(), |
297 pr.x(), pr.y(), pr.width(), pr.height()); | 297 pr.x(), pr.y(), pr.width(), pr.height()); |
298 | 298 |
299 if (!timeConstrained && (pr != rect)) { | 299 if (!timeConstrained && (pr != rect)) { |
300 cerr << "WARNING: failed to render entire requested rect " | 300 SVCERR << "WARNING: failed to render entire requested rect " |
301 << "even when not time-constrained" << endl; | 301 << "even when not time-constrained" << endl; |
302 } | 302 } |
303 | 303 |
304 MagnitudeRange range = m_magCache.getRange(reqx0, reqx1 - reqx0); | 304 MagnitudeRange range = m_magCache.getRange(reqx0, reqx1 - reqx0); |
305 | 305 |