summaryrefslogtreecommitdiff
path: root/src/dcp.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-08-30 16:33:18 +0100
committerCarl Hetherington <cth@carlh.net>2013-08-30 16:33:18 +0100
commitd0e025d26cab0eecfea1528343638dac69f363cd (patch)
tree883ea9ba28850cd4cc32a9a62da5537163ecf578 /src/dcp.cc
parente97ac27b357a05072326a42bdb9fc1b8df04810a (diff)
Remove generic name from CPL.
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 60035cc5..c16c1333 100644
--- a/src/dcp.cc
+++ b/src/dcp.cc
@@ -105,7 +105,7 @@ DCP::write_pkl (string pkl_uuid, bool interop, XMLMetadata const & metadata, sha
pkl->add_child("Id")->add_child_text ("urn:uuid:" + pkl_uuid);
/* XXX: this is a bit of a hack */
- pkl->add_child("AnnotationText")->add_child_text(_cpls.front()->name());
+ pkl->add_child("AnnotationText")->add_child_text(_cpls.front()->annotation_text);
pkl->add_child("IssueDate")->add_child_text (metadata.issue_date);
pkl->add_child("Issuer")->add_child_text (metadata.issuer);
pkl->add_child("Creator")->add_child_text (metadata.creator);