summaryrefslogtreecommitdiff
path: root/src/dcp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dcp.cc')
-rw-r--r--src/dcp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dcp.cc b/src/dcp.cc
index d603cfae..2906d575 100644
--- a/src/dcp.cc
+++ b/src/dcp.cc
@@ -441,7 +441,7 @@ DCP::write_volindex (Standard standard) const
DCP_ASSERT (false);
}
- root->add_child("Index")->add_child_text ("1");
+ cxml::add_text_child(root, "Index", "1");
doc.write_to_file_formatted(dcp::filesystem::fix_long_path(p).string(), "UTF-8");
}