diff options
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/helper/pdfsignaturehelper.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xmlsecurity/source/helper/pdfsignaturehelper.cxx b/xmlsecurity/source/helper/pdfsignaturehelper.cxx index 614d8e694e07..beb5b7e800bb 100644 --- a/xmlsecurity/source/helper/pdfsignaturehelper.cxx +++ b/xmlsecurity/source/helper/pdfsignaturehelper.cxx @@ -202,6 +202,10 @@ bool PDFSignatureHelper::Sign(const uno::Reference<io::XInputStream>& xInputStre std::vector<sal_Int8> aSignatureLineShape; GetSignatureLineShape(aSignatureLineShape); + if (!aSignatureLineShape.empty()) + { + aDocument.SetSignatureLine(aSignatureLineShape); + } if (!aDocument.Sign(m_xCertificate, m_aDescription, bAdES)) { |