words crash (assert in texttool)

C. Boemann cbo at boemann.dk
Wed Sep 21 16:47:09 BST 2011


On Wednesday 21 September 2011 14:09:02 Dag Andersen wrote:
> 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
> 
> :)
Please just commit yourself.



More information about the calligra-devel mailing list