Review Request 108406: fix crash during import of an xls file with text frame objects

Commit Hook null at kde.org
Mon Jan 14 11:59:59 GMT 2013


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


This review has been submitted with commit 64e29d5b3809c4858be23d8bdd32c76d32833d72 by Friedrich W. H. Kossebau to branch calligra/2.6.

- Commit Hook


On Jan. 14, 2013, 11:29 a.m., Friedrich W. H. Kossebau wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/108406/
> -----------------------------------------------------------
> 
> (Updated Jan. 14, 2013, 11:29 a.m.)
> 
> 
> Review request for Calligra, C. Boemann and Boudewijn Rempt.
> 
> 
> Description
> -------
> 
> KoTextWriter::Private::saveParagraph expects the QTextDocument object to have a KoTextRangeManager set.
> The sidewinder Excel import filter code did not know this.
> 
> Attached patch fixes that by setting a dummy textrange manager during creation of the QTextDocument object that TxORecord uses.
> 
> Okay to backport to 2.6?
> 
> Ideally KoTextWriter would get a clean-up and just not assume certain properties. But with the current code it is better to just adapt all places that use KoTextWriter for now to always set at least a dummy textrange manager.
> 
> 
> Diffs
> -----
> 
>   filters/sheets/excel/sidewinder/excel.cpp d665a42 
> 
> Diff: http://git.reviewboard.kde.org/r/108406/diff/
> 
> 
> Testing
> -------
> 
> A example xls file with a textframe object sent by philip is imported instead of crashing.
> 
> 
> Thanks,
> 
> Friedrich W. H. Kossebau
> 
>

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


More information about the calligra-devel mailing list