[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: crash in SpellCheck plugin
From:       Thomas Zander <zander () kde ! org>
Date:       2008-09-20 7:04:56
Message-ID: 200809200904.57511.zander () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Thursday 18. September 2008 19:38:25 Thorsten Zachmann wrote:
> Hello,
>
> I get the following crash in kpresenter.
>

> #7  0xb1f09264 in SpellCheck::setDocument (this=0x8d12c90,
> document=0x8d9f970)
>
> at
> /home/tz/develop/kde/svn/koffice/plugins/textediting/spellcheck/SpellChec
>k.cpp:246 #8  0xb1f09aee in SpellCheck::checkSection (this=0x8d12c90,
>     document=0x8d9f970, startPosition=0, endPosition=0)
>
> at
> /home/tz/develop/kde/svn/koffice/plugins/textediting/spellcheck/SpellChec
>k.cpp:77 #9  0xb3a2fe80 in TextTool::setShapeData (this=0x895f4b0,
> data=0x8f1a088) at
> /home/tz/develop/kde/svn/koffice/plugins/textshape/TextTool.cpp:621 #10
> 0xb3a30286 in TextTool::activate (this=0x895f4b0, temporary=false) at

It seems that the spellcheck plugin is special cased in the tool, not sure 
why.
The design is can be improved by removing all references to the 
m_spellcheckPlugin in the tool and just make the plugin respond to the 
proper resource provider changes.
Specifically the KoText::CurrentTextDocument

I would not be surprised if that makes the crash go away.
-- 
Thomas Zander

["signature.asc" (application/pgp-signature)]

_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic