diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2016-11-07 12:18:56 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-11-07 15:44:24 +0000 |
commit | b9b03c7383035beaa6d5d89cd895436288403691 (patch) | |
tree | cdcf31046fdb7f8a9b0bae9570219f9ef98f0329 /xmlsecurity | |
parent | 8f232026f0d6e320792ca7b65aa356724cbc945b (diff) |
Fix typos (also in the code)
Change-Id: I45d45513b102f4fdcb55e8de20b95b37f66ea463
Reviewed-on: https://gerrit.libreoffice.org/30658
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/inc/pdfio/pdfdocument.hxx | 4 | ||||
-rw-r--r-- | xmlsecurity/source/pdfio/pdfdocument.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/xmlsecurity/inc/pdfio/pdfdocument.hxx b/xmlsecurity/inc/pdfio/pdfdocument.hxx index ca70c94ffbe3..e733822de38a 100644 --- a/xmlsecurity/inc/pdfio/pdfdocument.hxx +++ b/xmlsecurity/inc/pdfio/pdfdocument.hxx @@ -132,11 +132,11 @@ public: void PushBackEOF(size_t nOffset); /// Look up object based on object number, possibly by parsing object streams. PDFObjectElement* LookupObject(size_t nObjectNumber); - /// Access to the input document, even after the inpust ream is gone. + /// Access to the input document, even after the input stream is gone. SvMemoryStream& GetEditBuffer(); /// Tokenize elements from current offset. bool Tokenize(SvStream& rStream, TokenizeMode eMode, std::vector< std::unique_ptr<PDFElement> >& rElements, PDFObjectElement* pObject); - /// Register an object (owned directly or indirectly by m_aElements) as a provder for a given ID. + /// Register an object (owned directly or indirectly by m_aElements) as a provider for a given ID. void SetIDObject(size_t nID, PDFObjectElement* pObject); //@} diff --git a/xmlsecurity/source/pdfio/pdfdocument.cxx b/xmlsecurity/source/pdfio/pdfdocument.cxx index bfd66d240f29..0bc2f80d6798 100644 --- a/xmlsecurity/source/pdfio/pdfdocument.cxx +++ b/xmlsecurity/source/pdfio/pdfdocument.cxx @@ -1215,7 +1215,7 @@ void PDFDocument::ReadXRefStream(SvStream& rStream) if (nLineLength - 1 != nColumns) { - SAL_WARN("xmlsecurity.pdfio", "PDFDocument::ReadXRefStream: /DecodeParms/Columns is inconsitent with /W"); + SAL_WARN("xmlsecurity.pdfio", "PDFDocument::ReadXRefStream: /DecodeParms/Columns is inconsistent with /W"); return; } @@ -1747,7 +1747,7 @@ bool PDFDocument::ValidateSignature(SvStream& rStream, PDFObjectElement* pSignat // Import certificates from the signed data temporarily, so it'll be // possible to verify the signature, even if we didn't have the certificate - // perviously. + // previously. std::vector<CERTCertificate*> aDocumentCertificates; for (size_t i = 0; pCMSSignedData->rawCerts[i]; ++i) aDocumentCertificates.push_back(CERT_NewTempCertificate(CERT_GetDefaultCertDB(), pCMSSignedData->rawCerts[i], nullptr, 0, 0)); |