Skip to content

Commit

Permalink
Remove Linefeeds and Cariage Returns in CSV Export of ECUId, AppId an…
Browse files Browse the repository at this point in the history
…d CtxId.

Signed-off-by: Alexander Wenzel <[email protected]>
  • Loading branch information
alexmucde committed Oct 5, 2023
1 parent 7f29bfc commit 180bdf3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/dltexporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ void DltExporter::writeCSVLine(int index, QFile *to, QDltMsg msg)
text += escapeCSVValue(QString("%1.%2").arg(msg.getTimeString()).arg(msg.getMicroseconds(),6,10,QLatin1Char('0'))).append(",");
text += escapeCSVValue(QString("%1.%2").arg(msg.getTimestamp()/10000).arg(msg.getTimestamp()%10000,4,10,QLatin1Char('0'))).append(",");
text += escapeCSVValue(QString("%1").arg(msg.getMessageCounter())).append(",");
text += escapeCSVValue(QString("%1").arg(msg.getEcuid())).append(",");
text += escapeCSVValue(QString("%1").arg(msg.getApid())).append(",");
text += escapeCSVValue(QString("%1").arg(msg.getCtid())).append(",");
text += escapeCSVValue(QString("%1").arg(msg.getEcuid().simplified())).append(",");
text += escapeCSVValue(QString("%1").arg(msg.getApid().simplified())).append(",");
text += escapeCSVValue(QString("%1").arg(msg.getCtid().simplified())).append(",");
text += escapeCSVValue(QString("%1").arg(msg.getSessionid())).append(",");
text += escapeCSVValue(QString("%1").arg(msg.getTypeString())).append(",");
text += escapeCSVValue(QString("%1").arg(msg.getSubtypeString())).append(",");
Expand Down

0 comments on commit 180bdf3

Please sign in to comment.