Mercurial > hg > svcore
comparison base/StringBits.cpp @ 686:b4a8d8221eaf debug-output
Remove most toStdString calls (no longer needed, with debug header)
author | Chris Cannam |
---|---|
date | Thu, 12 May 2011 17:31:24 +0100 |
parents | 35499d48a5d1 |
children | f5cd33909744 |
comparison
equal
deleted
inserted
replaced
685:99222d4bfc78 | 686:b4a8d8221eaf |
---|---|
137 tests << "a'a 'bb' \\\"cc\" dd\\\""; | 137 tests << "a'a 'bb' \\\"cc\" dd\\\""; |
138 tests << " a'a \\\' 'bb' \' \\\"cc\" ' dd\\\" '"; | 138 tests << " a'a \\\' 'bb' \' \\\"cc\" ' dd\\\" '"; |
139 | 139 |
140 for (int j = 0; j < tests.size(); ++j) { | 140 for (int j = 0; j < tests.size(); ++j) { |
141 cout << endl; | 141 cout << endl; |
142 cout << tests[j].toStdString() << endl; | 142 cout << tests[j] << endl; |
143 cout << "->" << endl << "("; | 143 cout << "->" << endl << "("; |
144 QStringList l = splitQuoted(tests[j], ' '); | 144 QStringList l = splitQuoted(tests[j], ' '); |
145 for (int i = 0; i < l.size(); ++i) { | 145 for (int i = 0; i < l.size(); ++i) { |
146 if (i > 0) cout << ";"; | 146 if (i > 0) cout << ";"; |
147 cout << l[i].toStdString(); | 147 cout << l[i].toStdString(); |