Review Request: Fix crash on importing CSV files with Mac line endings

Jarosław Staniek staniek at kde.org
Tue Aug 7 23:06:11 BST 2012



> On Aug. 7, 2012, 6:18 p.m., Adam Pigg wrote:
> > kexi/plugins/importexport/csv/kexicsvimportdialog.cpp, line 620
> > <http://git.reviewboard.kde.org/r/105843/diff/1/?file=75965#file75965line620>
> >
> >     Should we be using QTextStream?  I ask because we are trying to detect the type of line-ending, and could QtextStream interfere with that?

We're working at unicode stream's level, hence QTextStream is proper tool. Our delimiter is well defined unicode character (QChar), not a part of it (char).


- Jarosław


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105843/#review17062
-----------------------------------------------------------


On Aug. 3, 2012, 10:07 p.m., Jarosław Staniek wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/105843/
> -----------------------------------------------------------
> 
> (Updated Aug. 3, 2012, 10:07 p.m.)
> 
> 
> Review request for Calligra, Adam Pigg, Dimitrios Tanis, and Oleg Kukharchuk.
> 
> 
> Description
> -------
> 
> Fix crash on importing CSV files with Mac line endings
> 
> 
> This addresses bug 304329.
>     http://bugs.kde.org/show_bug.cgi?id=304329
> 
> 
> Diffs
> -----
> 
>   kexi/plugins/importexport/csv/kexicsvimportdialog.cpp 751fb7de67d1cab4e95506cf6a37342075b660f9 
> 
> Diff: http://git.reviewboard.kde.org/r/105843/diff/
> 
> 
> Testing
> -------
> 
> Imports test data properly
> 
> 
> Thanks,
> 
> Jarosław Staniek
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20120807/b4323fa5/attachment.htm>


More information about the calligra-devel mailing list