author | simon <simon> | 2002-04-30 14:33:42 (UTC) |
---|---|---|
committer | simon <simon> | 2002-04-30 14:33:42 (UTC) |
commit | 85b6723c707949f5689bfca6f442d9cbb73f2ee9 (patch) (unidiff) | |
tree | 20afdd73f737c35560eff022a61f9b1f3c6497e1 /noncore/apps/tableviewer/db/csvsource.cpp | |
parent | b7b0040f0a8069d36e3f5ad0bed0ce992dd30780 (diff) | |
download | opie-85b6723c707949f5689bfca6f442d9cbb73f2ee9.zip opie-85b6723c707949f5689bfca6f442d9cbb73f2ee9.tar.gz opie-85b6723c707949f5689bfca6f442d9cbb73f2ee9.tar.bz2 |
- no default args in method impls
- don't return void in non-void functions
Diffstat (limited to 'noncore/apps/tableviewer/db/csvsource.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/tableviewer/db/csvsource.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/apps/tableviewer/db/csvsource.cpp b/noncore/apps/tableviewer/db/csvsource.cpp index 2561b4b..ea36300 100644 --- a/noncore/apps/tableviewer/db/csvsource.cpp +++ b/noncore/apps/tableviewer/db/csvsource.cpp | |||
@@ -95,12 +95,13 @@ QStringList readElem(QString in) | |||
95 | while (index < in.length() && in[index] != ',') index++; | 95 | while (index < in.length() && in[index] != ',') index++; |
96 | if(index == in.length()) | 96 | if(index == in.length()) |
97 | return out; | 97 | return out; |
98 | else | 98 | else |
99 | index++; | 99 | index++; |
100 | } | 100 | } |
101 | return out; | ||
101 | } | 102 | } |
102 | 103 | ||
103 | bool DBCsv::openSource(QIODevice *inDev) | 104 | bool DBCsv::openSource(QIODevice *inDev) |
104 | { | 105 | { |
105 | QTextStream tsIn(inDev); | 106 | QTextStream tsIn(inDev); |
106 | QString in = tsIn.readLine().stripWhiteSpace(); | 107 | QString in = tsIn.readLine().stripWhiteSpace(); |