From kde-commits Tue Jan 15 20:21:11 2008 From: Maks Orlovich Date: Tue, 15 Jan 2008 20:21:11 +0000 To: kde-commits Subject: KDE/kdelibs/khtml/xml Message-Id: <1200428471.351845.7168.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=120042848625601 SVN commit 761980 by orlovich: automatically merged revision 761978: Don't crash cloning elements with both inline and non-CSS style information where the inline information was created directly, and not from a style= attribute. Fixes zeit.de, #153711 BUGNO:153711 M +1 -1 dom_elementimpl.cpp --- trunk/KDE/kdelibs/khtml/xml/dom_elementimpl.cpp #761979:761980 @@ -462,7 +462,7 @@ if (!clone->m_hasCombinedStyle) clone->createNonCSSDecl(); if (m_style.combinedDecls->inlineDecls) - *clone->m_style.combinedDecls->inlineDecls = *m_style.combinedDecls->inlineDecls; + *(clone->getInlineStyleDecls()) = *m_style.combinedDecls->inlineDecls; *clone->m_style.combinedDecls->nonCSSDecls = *m_style.combinedDecls->nonCSSDecls; } else { *(clone->getInlineStyleDecls()) = *m_style.inlineDecls;