diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-04-25 23:31:13 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-04-25 23:31:13 +0200 |
| commit | ef9671811920cbef50f0f01d063eab418de8925e (patch) | |
| tree | 0161463370f4a995f5e1b275b642de534b68f6d4 /src/combine.cc | |
| parent | 98227f0ca88034061092cd2a179c5cade2924f50 (diff) | |
Tidy up write_xml() API a little.
Diffstat (limited to 'src/combine.cc')
| -rw-r--r-- | src/combine.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/combine.cc b/src/combine.cc index e974c407..05ad519e 100644 --- a/src/combine.cc +++ b/src/combine.cc @@ -173,5 +173,10 @@ dcp::combine ( } } - output_dcp.write_xml (issuer, creator, issue_date, annotation_text, signer); + output_dcp.set_issuer(issuer); + output_dcp.set_creator(creator); + output_dcp.set_issue_date(issue_date); + output_dcp.set_annotation_text(annotation_text); + + output_dcp.write_xml(signer); } |
