From 9a3da14aeda3b281a7dcb90750dc9962ee9e5e8c Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Tue, 26 Feb 2008 13:49:36 +0000 Subject: [PATCH] INTEGRATION: CWS custommeta (1.6.42); FILE MERGED 2008/02/26 10:40:51 mst 1.6.42.3: RESYNC: (1.7-1.8); FILE MERGED 2008/02/01 10:36:35 mst 1.6.42.2: RESYNC: (1.6-1.7); FILE MERGED 2007/12/07 14:05:56 mst 1.6.42.1: - unoxml/source/dom/document.{hxx,cxx}: implement interface css::xml::sax::XSAXSerializable - unoxml/source/dom/*.{hxx,cxx}: add virtual method saxify() on all subclasses of CNode add missing implementations of getLocalName() --- unoxml/source/dom/processinginstruction.cxx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/unoxml/source/dom/processinginstruction.cxx b/unoxml/source/dom/processinginstruction.cxx index a633541dff5d..e400b859f9d3 100644 --- a/unoxml/source/dom/processinginstruction.cxx +++ b/unoxml/source/dom/processinginstruction.cxx @@ -4,9 +4,9 @@ * * $RCSfile: processinginstruction.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: ihi $ $Date: 2008-02-04 13:58:02 $ + * last change: $Author: obo $ $Date: 2008-02-26 14:49:36 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -44,6 +44,14 @@ namespace DOM init_node(aNodePtr); } + void SAL_CALL CProcessingInstruction::saxify( + const Reference< XDocumentHandler >& i_xHandler) { + if (!i_xHandler.is()) throw RuntimeException(); + Reference< XExtendedDocumentHandler > xExtended(i_xHandler, UNO_QUERY); + if (xExtended.is()) { + xExtended->processingInstruction(getTarget(), getData()); + } + } /** The content of this processing instruction.