summaryrefslogtreecommitdiff
path: root/src/lib/image_content.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/image_content.cc')
-rw-r--r--src/lib/image_content.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/image_content.cc b/src/lib/image_content.cc
index 1a92c944e..1ac6e085b 100644
--- a/src/lib/image_content.cc
+++ b/src/lib/image_content.cc
@@ -99,13 +99,13 @@ ImageContent::technical_summary () const
void
-ImageContent::as_xml (xmlpp::Node* node, bool with_paths) const
+ImageContent::as_xml(xmlpp::Element* element, bool with_paths) const
{
- node->add_child("Type")->add_child_text ("Image");
- Content::as_xml (node, with_paths);
+ cxml::add_text_child(element, "Type", "Image");
+ Content::as_xml(element, with_paths);
if (video) {
- video->as_xml (node);
+ video->as_xml(element);
}
}