summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-01-09 22:55:28 +0100
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-07-20 01:25:53 -0400
commitd955148381be3496b091fab7c2335d080634d376 (patch)
treefed9feebbc3cf62cc75b7a5d7d11d4391ac66521 /xmlsecurity
parent1ca1ab42e7a7e7132375cb07745b33f635dd62e8 (diff)
Fix typos
Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit 64d624b65124ac02d8ee59b135593fd9d8eb9067) Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/inc/xmlsecurity/xmlsignaturehelper.hxx2
-rw-r--r--xmlsecurity/source/component/documentdigitalsignatures.cxx2
-rw-r--r--xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx2
-rw-r--r--xmlsecurity/source/framework/buffernode.cxx2
-rw-r--r--xmlsecurity/source/framework/saxeventkeeperimpl.cxx2
-rw-r--r--xmlsecurity/source/helper/xsecctl.hxx2
-rw-r--r--xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx2
-rw-r--r--xmlsecurity/source/xmlsec/saxhelper.cxx4
8 files changed, 9 insertions, 9 deletions
diff --git a/xmlsecurity/inc/xmlsecurity/xmlsignaturehelper.hxx b/xmlsecurity/inc/xmlsecurity/xmlsignaturehelper.hxx
index d0b90a800280..9b00b55771f5 100644
--- a/xmlsecurity/inc/xmlsecurity/xmlsignaturehelper.hxx
+++ b/xmlsecurity/inc/xmlsecurity/xmlsignaturehelper.hxx
@@ -134,7 +134,7 @@ public:
// Get the security environment
::com::sun::star::uno::Reference< ::com::sun::star::xml::crypto::XSecurityEnvironment > GetSecurityEnvironment();
- // After signing/veryfieng, get information about signatures
+ // After signing/verifying, get information about signatures
SignatureInformation GetSignatureInformation( sal_Int32 nSecurityId ) const;
SignatureInformations GetSignatureInformations() const;
diff --git a/xmlsecurity/source/component/documentdigitalsignatures.cxx b/xmlsecurity/source/component/documentdigitalsignatures.cxx
index f715bbae8816..a008e5b965e9 100644
--- a/xmlsecurity/source/component/documentdigitalsignatures.cxx
+++ b/xmlsecurity/source/component/documentdigitalsignatures.cxx
@@ -262,7 +262,7 @@ DocumentDigitalSignatures::ImplVerifySignatures(
DBG_ASSERT(false, "Error, no XStorage provided");
return Sequence<css::security::DocumentSignatureInformation>();
}
- // First check for the InputStream, to avoid unnecessary initialization of the security environemnt...
+ // First check for the InputStream, to avoid unnecessary initialization of the security environment...
SignatureStreamHelper aStreamHelper;
Reference< io::XInputStream > xInputStream = xSignStream;
diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
index 1288a5ac8c65..97cd7cd56b99 100644
--- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
+++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
@@ -590,7 +590,7 @@ void DigitalSignaturesDialog::ImplShowSignaturesDetails()
if (!xCert.is())
xCert = xSecEnv->getCertificate( rInfo.ouX509IssuerName, xSerialNumberAdapter->toSequence( rInfo.ouX509SerialNumber ) );
- DBG_ASSERT( xCert.is(), "Error getting cCertificate!" );
+ DBG_ASSERT( xCert.is(), "Error getting Certificate!" );
if ( xCert.is() )
{
ScopedVclPtrInstance< CertificateViewer > aViewer( this, maSignatureManager.maSignatureHelper.GetSecurityEnvironment(), xCert, false );
diff --git a/xmlsecurity/source/framework/buffernode.cxx b/xmlsecurity/source/framework/buffernode.cxx
index a808f42434bf..462a98c4ee62 100644
--- a/xmlsecurity/source/framework/buffernode.cxx
+++ b/xmlsecurity/source/framework/buffernode.cxx
@@ -86,7 +86,7 @@ void BufferNode::setReceivedAll()
*
* NAME
* setReceivedAll -- indicates that the element in this BufferNode has
- * been compeletely bufferred.
+ * been completely bufferred.
*
* SYNOPSIS
* setReceivedAll();
diff --git a/xmlsecurity/source/framework/saxeventkeeperimpl.cxx b/xmlsecurity/source/framework/saxeventkeeperimpl.cxx
index d86688ad12f7..be2a56ec4c47 100644
--- a/xmlsecurity/source/framework/saxeventkeeperimpl.cxx
+++ b/xmlsecurity/source/framework/saxeventkeeperimpl.cxx
@@ -802,7 +802,7 @@ sal_Int32 SAXEventKeeperImpl::createElementCollector(
*
* INPUTS
* nSecurityId - the security Id of the new ElementCollector
- * nPriority - the prirority of the new ElementCollector
+ * nPriority - the priority of the new ElementCollector
* bModifyElement -whether this BufferNode will modify the content of
* the corresponding element it works on
* xReferenceResolvedListener - the listener for the new ElementCollector.
diff --git a/xmlsecurity/source/helper/xsecctl.hxx b/xmlsecurity/source/helper/xsecctl.hxx
index 1978473eae12..36f6dc2e9e8b 100644
--- a/xmlsecurity/source/helper/xsecctl.hxx
+++ b/xmlsecurity/source/helper/xsecctl.hxx
@@ -230,7 +230,7 @@ private:
com::sun::star::uno::Reference<
com::sun::star::uno::XInterface > m_xPreviousNodeOnSAXChain;
/*
- * whether the previous node can provide an XInitiazlize interface,
+ * whether the previous node can provide an XInitialize interface,
* use this variable in order to typecast the XInterface to the
* correct interface type.
*/
diff --git a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
index 32be4fd5af6e..2b6bd5507ca5 100644
--- a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
+++ b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
@@ -706,7 +706,7 @@ verifyCertificate( const Reference< csss::XCertificate >& aCert,
cvout[1].value.pointer.log = &log;
cvout[2].type = cert_po_end;
- // We check SSL server certificates, CA certificates and signing sertificates.
+ // We check SSL server certificates, CA certificates and signing certificates.
//
// ToDo check keyusage, looking at CERT_KeyUsageAndTypeForCertUsage (
// mozilla/security/nss/lib/certdb/certdb.c indicates that
diff --git a/xmlsecurity/source/xmlsec/saxhelper.cxx b/xmlsecurity/source/xmlsec/saxhelper.cxx
index 5143aac3d8e2..01cf090ffa41 100644
--- a/xmlsecurity/source/xmlsec/saxhelper.cxx
+++ b/xmlsecurity/source/xmlsec/saxhelper.cxx
@@ -168,7 +168,7 @@ SAXHelper::SAXHelper( )
/**
* Destructor
*
- * In this destructor, a libxml sax parser context is desturcted. The XML tree
+ * In this destructor, a libxml sax parser context is destructed. The XML tree
* in the context is not deallocated because the tree is bind with a document
* model by the setTargetDocument method, which delegate the target document to
* destruct the xml tree.
@@ -345,7 +345,7 @@ void SAXHelper::ignorableWhitespace( const OUString& aWhitespaces )
}
/**
- * XDocumentHandler -- preaorocessing instruction
+ * XDocumentHandler -- preprocessing instruction
*/
void SAXHelper::processingInstruction(
const OUString& aTarget,