summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/comment.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/dom/comment.cxx')
-rw-r--r--unoxml/source/dom/comment.cxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/unoxml/source/dom/comment.cxx b/unoxml/source/dom/comment.cxx
index d7a8ff605f43..e2bd7ec26c32 100644
--- a/unoxml/source/dom/comment.cxx
+++ b/unoxml/source/dom/comment.cxx
@@ -26,19 +26,20 @@
*
************************************************************************/
-#include "comment.hxx"
+#include <comment.hxx>
#include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp>
+
namespace DOM
{
- CComment::CComment(const xmlNodePtr aNodePtr)
+ CComment::CComment(CDocument const& rDocument, ::osl::Mutex const& rMutex,
+ xmlNodePtr const pNode)
+ : CComment_Base(rDocument, rMutex, NodeType_COMMENT_NODE, pNode)
{
- m_aNodeType = NodeType_COMMENT_NODE;
- init_node(aNodePtr);
}
- void SAL_CALL CComment::saxify(
+ void CComment::saxify(
const Reference< XDocumentHandler >& i_xHandler) {
if (!i_xHandler.is()) throw RuntimeException();
Reference< XExtendedDocumentHandler > xExtended(i_xHandler, UNO_QUERY);