diff options
author | Michael Stahl <mst@openoffice.org> | 2011-01-19 20:27:19 +0100 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2011-01-19 20:27:19 +0100 |
commit | a10e0ee65f2721aadae0d1e6cc26f749e3ac6bf6 (patch) | |
tree | a8a8081c6d2d1245e2a6a6d09dd9471a583683c0 /unoxml/source/dom/text.cxx | |
parent | xmlfix3: unoxml: new method CNode::invalidate (diff) | |
download | core-a10e0ee65f2721aadae0d1e6cc26f749e3ac6bf6.tar.gz core-a10e0ee65f2721aadae0d1e6cc26f749e3ac6bf6.zip |
xmlfix3: unoxml: refactor CNode initialization
Diffstat (limited to 'unoxml/source/dom/text.cxx')
-rw-r--r-- | unoxml/source/dom/text.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/unoxml/source/dom/text.cxx b/unoxml/source/dom/text.cxx index d60fcf234ebf..5e8cf47225c2 100644 --- a/unoxml/source/dom/text.cxx +++ b/unoxml/source/dom/text.cxx @@ -26,12 +26,17 @@ ************************************************************************/ #include "text.hxx" + namespace DOM { + CText::CText(NodeType const& reNodeType, xmlNodePtr const& rpNode) + : CText_Base(reNodeType, rpNode) + { + } + CText::CText(const xmlNodePtr aNodePtr) + : CText_Base(NodeType_TEXT_NODE, aNodePtr) { - m_aNodeType = NodeType_TEXT_NODE; - init_characterdata(aNodePtr); } void SAL_CALL CText::saxify( @@ -40,11 +45,6 @@ namespace DOM i_xHandler->characters(getData()); } - void CText::init_text(const xmlNodePtr aNodePtr) - { - init_characterdata(aNodePtr); - } - Reference< XText > SAL_CALL CText::splitText(sal_Int32 /*offset*/) throw (RuntimeException) { |