summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmlsecurity/source/helper/documentsignaturehelper.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmlsecurity/source/helper/documentsignaturehelper.cxx b/xmlsecurity/source/helper/documentsignaturehelper.cxx
index b32dca2a901f..1249a8ae335d 100644
--- a/xmlsecurity/source/helper/documentsignaturehelper.cxx
+++ b/xmlsecurity/source/helper/documentsignaturehelper.cxx
@@ -340,6 +340,8 @@ void DocumentSignatureHelper::AppendContentTypes(const uno::Reference<embed::XSt
}
SAL_WARN("xmlsecurity.helper", "found no content type for " << rElement);
}
+
+ std::sort(rElements.begin(), rElements.end());
}
SignatureStreamHelper DocumentSignatureHelper::OpenSignatureStream(