diff options
Diffstat (limited to 'project2/xml/rawView.cpp')
-rw-r--r-- | project2/xml/rawView.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/project2/xml/rawView.cpp b/project2/xml/rawView.cpp index f033542..2070a2f 100644 --- a/project2/xml/rawView.cpp +++ b/project2/xml/rawView.cpp @@ -19,11 +19,6 @@ RawView::RawView(const xmlpp::Element * p) : } void -RawView::loadComplete(const CommonObjects *) -{ -} - -void RawView::execute(const Presenter * p) const { BOOST_FOREACH(xmlpp::Node * node, copyRoot->get_children()) { @@ -41,7 +36,7 @@ RawView::copyNode(const Presenter * p, const xmlpp::Element * n) const p->setNamespace(n->get_namespace_prefix(), n->get_namespace_uri()); xmlpp::Element::AttributeList al = n->get_attributes(); BOOST_FOREACH(const xmlpp::Attribute * a, al) { - p->addAttr(a->get_name(), a->get_value()); + p->addAttribute(a->get_name(), a->get_value()); } const xmlpp::Node::NodeList ch = n->get_children(); BOOST_FOREACH(const xmlpp::Node * c, ch) { |