From ce399c34e2f08a2e0b2f19de7bb7f228dd3298ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BCdiger=20Timm?= Date: Mon, 24 Oct 2005 06:35:44 +0000 Subject: [PATCH] INTEGRATION: CWS eformspp1 (1.4.2); FILE MERGED 2005/10/17 16:38:12 lo 1.4.2.2: RESYNC: (1.4-1.5); FILE MERGED 2005/07/27 07:54:13 lo 1.4.2.1: #i51843# only update node list if tree is changed --- unoxml/source/dom/attr.cxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/unoxml/source/dom/attr.cxx b/unoxml/source/dom/attr.cxx index f582df1c2a3f..da6bde1aa28f 100644 --- a/unoxml/source/dom/attr.cxx +++ b/unoxml/source/dom/attr.cxx @@ -4,9 +4,9 @@ * * $RCSfile: attr.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: rt $ $Date: 2005-09-09 09:53:48 $ + * last change: $Author: rt $ $Date: 2005-10-24 07:35:44 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -142,14 +142,13 @@ namespace DOM // dispatch DomAttrModified + DOMSubtreeModified OUString sEventName( RTL_CONSTASCII_USTRINGPARAM("DOMAttrModified") ); Reference< XDocumentEvent > docevent(getOwnerDocument(), UNO_QUERY); - Reference< XMutationEvent > event(docevent->createEvent(sEventName), - UNO_QUERY); + Reference< XMutationEvent > event(docevent->createEvent(sEventName),UNO_QUERY); event->initMutationEvent( sEventName, sal_True, sal_False, Reference( static_cast( this ) ), sOldValue, value, getName(), AttrChangeType_MODIFICATION ); dispatchEvent(Reference< XEvent >(event, UNO_QUERY)); - + dispatchSubtreeModified(); xmlFree(buffer); }