Use nullptr where possible

This commit is contained in:
Martin Kleusberg
2017-10-30 21:20:02 +01:00
parent 6afcaf6c1f
commit ee32b3e4e1
30 changed files with 76 additions and 76 deletions

View File

@@ -6,7 +6,7 @@ CSVParser::CSVParser(bool trimfields, char fieldseparator, char quotechar)
: m_bTrimFields(trimfields)
, m_cFieldSeparator(fieldseparator)
, m_cQuoteChar(quotechar)
, m_pCSVProgress(0)
, m_pCSVProgress(nullptr)
, m_nBufferSize(4096)
{
}
@@ -120,7 +120,7 @@ CSVParser::ParserResult CSVParser::parse(csvRowFunction insertFunction, QTextStr
m_pCSVProgress->start();
// Initialise row buffer and get pointer to the first field
record = { 0, 0, 0 };
record = { nullptr, 0, 0 };
increaseRowSize(record);
field = record.fields;