summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/attr.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mst@openoffice.org>2011-01-19 20:27:19 +0100
committerMichael Stahl <mst@openoffice.org>2011-01-19 20:27:19 +0100
commita10e0ee65f2721aadae0d1e6cc26f749e3ac6bf6 (patch)
treea8a8081c6d2d1245e2a6a6d09dd9471a583683c0 /unoxml/source/dom/attr.hxx
parentcb5905f108fb7bb99587791fca24c9d481ae93d9 (diff)
xmlfix3: unoxml: refactor CNode initialization
Diffstat (limited to 'unoxml/source/dom/attr.hxx')
-rw-r--r--unoxml/source/dom/attr.hxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/unoxml/source/dom/attr.hxx b/unoxml/source/dom/attr.hxx
index b79927b46037..2b47061c9dd7 100644
--- a/unoxml/source/dom/attr.hxx
+++ b/unoxml/source/dom/attr.hxx
@@ -25,8 +25,8 @@
*
************************************************************************/
-#ifndef _ATTR_HXX
-#define _ATTR_HXX
+#ifndef DOM_ATTR_HXX
+#define DOM_ATTR_HXX
#include <cppuhelper/implbase1.hxx>
#include <com/sun/star/uno/Reference.h>
@@ -42,7 +42,10 @@ using namespace com::sun::star::xml::dom;
namespace DOM
{
- class CAttr : public cppu::ImplInheritanceHelper1< CNode, XAttr >
+ typedef ::cppu::ImplInheritanceHelper1< CNode, XAttr > CAttr_Base;
+
+ class CAttr
+ : public CAttr_Base
{
friend class CNode;
friend class CElement;