summaryrefslogtreecommitdiff
path: root/xml2cmp/source/xcd/xmlelem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xml2cmp/source/xcd/xmlelem.cxx')
-rw-r--r--xml2cmp/source/xcd/xmlelem.cxx15
1 files changed, 1 insertions, 14 deletions
diff --git a/xml2cmp/source/xcd/xmlelem.cxx b/xml2cmp/source/xcd/xmlelem.cxx
index 284b1c82b..f4bffb704 100644
--- a/xml2cmp/source/xcd/xmlelem.cxx
+++ b/xml2cmp/source/xcd/xmlelem.cxx
@@ -2,13 +2,10 @@
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
- * Copyright 2008 by Sun Microsystems, Inc.
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
- * $RCSfile: xmlelem.cxx,v $
- * $Revision: 1.5 $
- *
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
@@ -36,15 +33,6 @@
#include <parse.hxx>
#include <cr_html.hxx>
-#if OSL_DEBUG_LEVEL == 0
-# ifndef NDEBUG
-# define NDEBUG
-# endif
-#endif
-#include <assert.h>
-
-
-
XmlElement::XmlElement( const char * i_sName )
: sName(i_sName)
{
@@ -160,7 +148,6 @@ ListElement::Write2Html( HtmlCreator & io_rHC ) const
XmlElement *
ListElement::Create_and_Add_NewElement()
{
- assert(fCreateNewElement != 0);
XmlElement * pNew = (*fCreateNewElement)(Name());
Children().push_back( pNew );
return pNew;