comparison data/fileio/CSVFormat.h @ 1362:1bf38a4b91c4 3.0-integration

When importing CSV, if the first line doesn't have a separator, continue to leave the separator indeterminate until we arrive at a line that does. Fixes inability to load correctly CSV files in which some lines have more columns than others
author Chris Cannam
date Tue, 10 Jan 2017 14:18:34 +0000
parents 26cf6d5251ec
children 48e9f538e6e9
comparison
equal deleted inserted replaced
1361:49b43306778b 1362:1bf38a4b91c4
11 published by the Free Software Foundation; either version 2 of the 11 published by the Free Software Foundation; either version 2 of the
12 License, or (at your option) any later version. See the file 12 License, or (at your option) any later version. See the file
13 COPYING included with this distribution for more information. 13 COPYING included with this distribution for more information.
14 */ 14 */
15 15
16 #ifndef _CSV_FORMAT_H_ 16 #ifndef SV_CSV_FORMAT_H
17 #define _CSV_FORMAT_H_ 17 #define SV_CSV_FORMAT_H
18 18
19 #include <QString> 19 #include <QString>
20 #include <QStringList> 20 #include <QStringList>
21 21
22 #include "base/BaseTypes.h" 22 #include "base/BaseTypes.h"