[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/kdom/core (silent)
From: Rob Buis <rwlbuis () xs4all ! nl>
Date: 2005-09-01 12:56:43
Message-ID: 1125579403.472846.10505.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 455810 by buis:
SVN_SILENT: the changes I did here yesterday were no good, it crashes eventtest, undo.
M +4 -7 NamedAttrMapImpl.cpp
--- trunk/kdenonbeta/kdom/core/NamedAttrMapImpl.cpp #455809:455810
@@ -287,9 +287,9 @@
{
// if we are called with a qualified name, filter out
// NS-aware elements with non-matching name.
- //if(qNameImpl && (m_attrs[i].id() & NodeImpl_IdNSMask) &&
- // strcasecmp(DOMString(m_attrs[i].name()), qName))
- // continue;
+ if(qNameImpl && (m_attrs[i].id() & NodeImpl_IdNSMask) &&
+ strcasecmp(DOMString(m_attrs[i].name()), qName))
+ continue;
if(prefix)
m_attrs[i].attr()->setPrefix(prefix);
@@ -443,10 +443,8 @@
{
DocumentImpl *document = (m_ownerElement ? m_ownerElement->ownerDocument() : 0);
if(!document || !document->hasListenerType(DOMATTRMODIFIED_EVENT))
- {
- if(name) name->deref();
return;
- }
+
DOMStringImpl *eventType = new DOMStringImpl("MutationEvents");
eventType->ref();
@@ -460,7 +458,6 @@
event->deref();
eventType->deref();
- if(name) name->deref();
}
void NamedAttrMapImpl::dispatchSubtreeModifiedEvent()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic