summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/helper/documentsignaturehelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlsecurity/source/helper/documentsignaturehelper.cxx')
-rw-r--r--xmlsecurity/source/helper/documentsignaturehelper.cxx4
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"))
{