summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-16 23:42:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-17 14:05:13 +0100
commit66544fa1152857f37315269703bb353f8c66fd5a (patch)
treeaaad749fd50935c7ee793b8c9de586ddb5074269
parent280c4e8a866d7dfda65e494a2eb176b2ca6ca9e9 (diff)
remove unused AnEmptyElement
-rw-r--r--udm/inc/udm/xml/xmlitem.hxx21
-rw-r--r--udm/source/xml/xmlitem.cxx33
2 files changed, 0 insertions, 54 deletions
diff --git a/udm/inc/udm/xml/xmlitem.hxx b/udm/inc/udm/xml/xmlitem.hxx
index fbb76189..85394d9d 100644
--- a/udm/inc/udm/xml/xmlitem.hxx
+++ b/udm/inc/udm/xml/xmlitem.hxx
@@ -227,27 +227,6 @@ class AnElement : public Element
AttrList aAttrs;
};
-
-class AnEmptyElement : public EmptyElement
-{
- public:
- AnEmptyElement(
- const ::csv::String & i_sTagName );
- AnEmptyElement(
- const char * i_sTagName );
- ~AnEmptyElement();
- private:
- // Interface Element:
- virtual const ::csv::String &
- inq_TagName() const;
- // Interface EmptyElement:
- virtual AttrList & inq_RefAttrs();
-
- // DATA
- ::csv::String sTagName;
- AttrList aAttrs;
-};
-
class APureElement : public PureElement
{
public:
diff --git a/udm/source/xml/xmlitem.cxx b/udm/source/xml/xmlitem.cxx
index 78143a79..33e0042e 100644
--- a/udm/source/xml/xmlitem.cxx
+++ b/udm/source/xml/xmlitem.cxx
@@ -363,39 +363,6 @@ AnElement::inq_Attrs() const
return &aAttrs;
}
-
-//*************************** AnEmptyElement **************************//
-
-AnEmptyElement::AnEmptyElement( const String & i_sTagName )
- : sTagName( i_sTagName )
- // aAttrs
-{
-}
-
-AnEmptyElement::AnEmptyElement( const char * i_sTagName )
- : sTagName( i_sTagName )
- // aAttrs
-{
-}
-
-AnEmptyElement::~AnEmptyElement()
-{
-
-}
-
-const String &
-AnEmptyElement::inq_TagName() const
-{
- return sTagName;
-}
-
-AttrList &
-AnEmptyElement::inq_RefAttrs()
-{
- return aAttrs;
-}
-
-
//*************************** APureElement **************************//
APureElement::APureElement( const String & i_sTagName )