comparison widgets/TextAbbrev.cpp @ 585:f4960f8ce798 debug-output

Convert many cerrs to DEBUGs
author Chris Cannam
date Mon, 16 May 2011 17:19:25 +0100
parents 1fe7951a61e8
children 4806715f7a19
comparison
equal deleted inserted replaced
584:1fe7951a61e8 585:f4960f8ce798
259 break; 259 break;
260 } 260 }
261 } 261 }
262 } 262 }
263 263
264 // std::cerr << "TextAbbrev::getPrefixLength: prefix length is " << candidate << std::endl; 264 // DEBUG << "TextAbbrev::getPrefixLength: prefix length is " << candidate << endl;
265 // for (int i = 0; i < texts.size(); ++i) { 265 // for (int i = 0; i < texts.size(); ++i) {
266 // std::cerr << texts[i].left(candidate) << "|" << texts[i].right(texts[i].length() - candidate) << std::endl; 266 // std::cerr << texts[i].left(candidate) << "|" << texts[i].right(texts[i].length() - candidate) << std::endl;
267 // } 267 // }
268 268
269 return candidate; 269 return candidate;