RenderStyle::setContent
Koos Vriezen
koos.vriezen at xs4all.nl
Sun Oct 20 14:37:06 BST 2002
On Sun, 20 Oct 2002, Simon Hausmann wrote:
> Obviously setContent is called with a 0 string impl, as
> CSSValueImpl::getValueString returns 0. Where's the right place to put the null
> pointer check? :) In setContent?
If nobody responds, returning after 'content->clearContent()',
will crash the second time content->clearContent() is called.
Maybe also doing
content->_content.object = 0L;
content->_contentType = CONTENT_OBJECT;
? Or check _content.text before _content.text->deref() in
ContentData::clearContent()?
Koos
>
> Simon
>
More information about the kfm-devel
mailing list