diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-02-05 15:21:02 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-02-05 16:25:13 +0100 |
commit | f26019532bb03ea1a3d276be90adbecca6759a77 (patch) | |
tree | 3ffee763ea4699ce9f53da02bd76f52064b51d83 /xmlsecurity/source/dialogs | |
parent | e35f3b6a3357fc3832a9d68ed37ddb9b5320ef0a (diff) |
xmlsecurity: write OOXML signature relations on export
_rels/origin.sigs.rels of the _xmlsignatures temporary storage now
contains references to the individual signature streams.
Change-Id: I619bd81989e3b62fc4282e0e72fbfa780d1fb8bd
Diffstat (limited to 'xmlsecurity/source/dialogs')
-rw-r--r-- | xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx index 6f395012d097..fa3f37734379 100644 --- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx +++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx @@ -515,11 +515,12 @@ IMPL_LINK_NOARG_TYPED(DigitalSignaturesDialog, AddButtonHdl, Button*, void) else { // OOXML - maSignatureHelper.EnsureSignaturesRelation(mxStore); + // Handle relations. + maSignatureHelper.EnsureSignaturesRelation(mxStore); // Old signatures + the new one. int nSignatureCount = maCurrentSignatureInformations.size() + 1; - XMLSignatureHelper::ExportSignatureRelations(aStreamHelper.xSignatureStorage, nSignatureCount); + maSignatureHelper.ExportSignatureRelations(aStreamHelper.xSignatureStorage, nSignatureCount); // Flush objects. uno::Reference<embed::XTransactedObject> xTransact(aStreamHelper.xSignatureStorage, uno::UNO_QUERY); |