diff options
author | Michael Stahl <mst@openoffice.org> | 2011-02-10 16:45:02 +0100 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2011-02-10 16:45:02 +0100 |
commit | c5db3b93ee1058bd20ebcde2e757b52b9a67b74a (patch) | |
tree | d4c739c0e097f8bdd005e28dd1cecffaee593e33 /unoxml/source/dom/element.hxx | |
parent | d76639d5d833a05a3181f7293e38a250dc6c1299 (diff) |
xmlfix3: unoxml: prevent invalid child-parent relationships:
new method CNode::IsChildTypeAllowed(NodeType).
use it in appendChild(), insertBefore(), replaceChild().
Diffstat (limited to 'unoxml/source/dom/element.hxx')
-rw-r--r-- | unoxml/source/dom/element.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unoxml/source/dom/element.hxx b/unoxml/source/dom/element.hxx index 119f30eca6ef..58891ed0d21c 100644 --- a/unoxml/source/dom/element.hxx +++ b/unoxml/source/dom/element.hxx @@ -66,6 +66,8 @@ namespace DOM virtual void fastSaxify( Context& i_rContext ); + virtual bool IsChildTypeAllowed(NodeType const nodeType); + /** Retrieves an attribute value by name. */ |