summaryrefslogtreecommitdiff
path: root/project2/xmlPresenter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/xmlPresenter.cpp')
-rw-r--r--project2/xmlPresenter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/project2/xmlPresenter.cpp b/project2/xmlPresenter.cpp
index cc31c2f..d657964 100644
--- a/project2/xmlPresenter.cpp
+++ b/project2/xmlPresenter.cpp
@@ -83,11 +83,11 @@ XmlPresenter::addAttr(const Glib::ustring & name, const Glib::ustring & ns, cons
}
void
-XmlPresenter::setText(const VariableType & value) const
+XmlPresenter::addText(const VariableType & value) const
{
if (!boost::get<Null>(&value)) {
createDoc();
- nodeStack.back()->set_child_text(value);
+ nodeStack.back()->add_child_text(value);
}
}