diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-02-12 11:17:29 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-02-12 11:57:16 +0100 |
commit | 1e52ec3951f3e9d687bdff20a6378cb2f4819a90 (patch) | |
tree | 34059e5a06d0ced817e8c493838d398ad7bca3fe /xmlsecurity | |
parent | 35ed9089373b4b63ecc656bd4dd57fc6f128c622 (diff) |
xmlsecurity OOXML export: never sign [Content_Types].xml
With this, our own import is happy when we sign LO-generated OOXML
files.
Change-Id: I977d7db5cf18fec1f33c480ab6e58852f2433923
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/helper/documentsignaturehelper.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xmlsecurity/source/helper/documentsignaturehelper.cxx b/xmlsecurity/source/helper/documentsignaturehelper.cxx index 2262e069a7b0..9c14715ac8cd 100644 --- a/xmlsecurity/source/helper/documentsignaturehelper.cxx +++ b/xmlsecurity/source/helper/documentsignaturehelper.cxx @@ -93,6 +93,10 @@ void ImplFillElementList( for ( sal_Int32 n = 0; n < nElements; n++ ) { + if (pNames[n] == "[Content_Types].xml") + // OOXML + continue; + if (mode != OOo3_2Document && (pNames[n] == "META-INF" || pNames[n] == "mimetype")) { |