summaryrefslogtreecommitdiffstats
path: root/unoxml/source/dom/text.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-02-26 13:50:18 +0000
committerOliver Bolte <obo@openoffice.org>2008-02-26 13:50:18 +0000
commitc1ebb911c1436573691561d02f747713fe7e1555 (patch)
treec424541bf0ac8c6211469fbe69e6f21264191720 /unoxml/source/dom/text.cxx
parentINTEGRATION: CWS custommeta (1.6.10); FILE MERGED (diff)
downloadcore-c1ebb911c1436573691561d02f747713fe7e1555.tar.gz
core-c1ebb911c1436573691561d02f747713fe7e1555.zip
INTEGRATION: CWS custommeta (1.5.42); FILE MERGED
2007/12/07 14:05:56 mst 1.5.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()
Diffstat (limited to 'unoxml/source/dom/text.cxx')
-rw-r--r--unoxml/source/dom/text.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/unoxml/source/dom/text.cxx b/unoxml/source/dom/text.cxx
index 5157a9f58895..5a2f1e4ceccf 100644
--- a/unoxml/source/dom/text.cxx
+++ b/unoxml/source/dom/text.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: text.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: hr $ $Date: 2006-06-20 00:48:43 $
+ * last change: $Author: obo $ $Date: 2008-02-26 14:50:18 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -42,6 +42,11 @@ namespace DOM
init_characterdata(aNodePtr);
}
+ void SAL_CALL CText::saxify(
+ const Reference< XDocumentHandler >& i_xHandler) {
+ if (!i_xHandler.is()) throw RuntimeException();
+ i_xHandler->characters(getData());
+ }
void CText::init_text(const xmlNodePtr aNodePtr)
{