words crash (assert in texttool)

Dag Andersen danders at get2net.dk
Wed Sep 21 13:09:02 BST 2011


Reproduce:
* Add a new page to have 2 pages
* Add a text shape
* Enter enough lines to more than fill the shape

KWRootAreaProvider::provide() returns a root area without an associated shape, 
hence assert in TextTool.cpp:1284

Att. patch adds a check for associated shape to avoid this.

I don't have full understanding of the logic so I do not know if this 
introduces problems.

Could somebody in the know commit if it is ok, or maybe find a proper solution 
:)
-- 
Mvh.
Dag Andersen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wordscrash.diff
Type: text/x-patch
Size: 825 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20110921/a7207f10/attachment.bin>


More information about the calligra-devel mailing list