summaryrefslogtreecommitdiff
path: root/xmlsecurity/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-07-26 14:11:12 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-07-31 15:17:14 +0200
commit496f32ea2ba3600f739cf8e56e5fae65ce4927cb (patch)
tree1d4807b37df7a455c919bdb602f8fc93e4acb521 /xmlsecurity/source
parentcaa626809433b06b2a6f5eff80c6d0d2f4d71b7e (diff)
Fix typos
Change-Id: I69e5c6d82fddd1da1e414e7764f3a5d90351a43d Reviewed-on: https://gerrit.libreoffice.org/76377 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'xmlsecurity/source')
-rw-r--r--xmlsecurity/source/dialogs/certificatechooser.cxx2
-rw-r--r--xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx2
-rw-r--r--xmlsecurity/source/framework/elementmark.hxx2
-rw-r--r--xmlsecurity/source/helper/xsecctl.cxx2
-rw-r--r--xmlsecurity/source/helper/xsecparser.cxx2
-rw-r--r--xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx8
6 files changed, 9 insertions, 9 deletions
diff --git a/xmlsecurity/source/dialogs/certificatechooser.cxx b/xmlsecurity/source/dialogs/certificatechooser.cxx
index 68bd9efbb497..ec499bc159b0 100644
--- a/xmlsecurity/source/dialogs/certificatechooser.cxx
+++ b/xmlsecurity/source/dialogs/certificatechooser.cxx
@@ -86,7 +86,7 @@ short CertificateChooser::run()
// PostUserEvent( LINK( this, CertificateChooser, Initialize ) );
- // PostUserLink behavior is to slow, so do it directly before Execute().
+ // PostUserLink behavior is too slow, so do it directly before Execute().
// Problem: This Dialog should be visible right now, and the parent should not be accessible.
// Show, Update, DisableInput...
diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
index c2568eba803b..9ff40b864144 100644
--- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
+++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
@@ -596,7 +596,7 @@ void DigitalSignaturesDialog::ImplFillSignaturesBox()
sImage = BMP_SIG_NOT_VALIDATED;
}
//Check if the signature is a "old" document signature, that is, which was created
- //by an version of OOo previous to 3.2
+ //by a version of OOo previous to 3.2
// If there is no storage, then it's pointless to check storage
// stream references.
else if (maSignatureManager.getSignatureMode() == DocumentSignatureMode::Content
diff --git a/xmlsecurity/source/framework/elementmark.hxx b/xmlsecurity/source/framework/elementmark.hxx
index 8697a9de8876..e035cc1a58c8 100644
--- a/xmlsecurity/source/framework/elementmark.hxx
+++ b/xmlsecurity/source/framework/elementmark.hxx
@@ -47,7 +47,7 @@ protected:
/*
* the type value, is one of following values:
- * TYPEOFELEMENTMARK - the default value, represents an blocker if
+ * TYPEOFELEMENTMARK - the default value, represents a blocker if
* not changed
* TYPEOFELEMENTCOLLECTOR - represents an ElementCollector
*/
diff --git a/xmlsecurity/source/helper/xsecctl.cxx b/xmlsecurity/source/helper/xsecctl.cxx
index 6dbd44b091be..ab108d13c224 100644
--- a/xmlsecurity/source/helper/xsecctl.cxx
+++ b/xmlsecurity/source/helper/xsecctl.cxx
@@ -242,7 +242,7 @@ bool XSecController::chainOn()
* NOTES
* Sometimes, the last key SAX event can't be transferred to the
* SAXEventKeeper together.
- * For instance, at the time an referenced element is detected, the
+ * For instance, at the time a referenced element is detected, the
* startElement event has already been reserved by the ElementStackKeeper.
* Meanwhile, an ElementCollector needs to be created before the
* SAXEventKeeper receives that startElement event.
diff --git a/xmlsecurity/source/helper/xsecparser.cxx b/xmlsecurity/source/helper/xsecparser.cxx
index 10b2a95cba99..82f347bff976 100644
--- a/xmlsecurity/source/helper/xsecparser.cxx
+++ b/xmlsecurity/source/helper/xsecparser.cxx
@@ -312,7 +312,7 @@ void SAL_CALL XSecParser::endElement( const OUString& aName )
{
if ( m_bReferenceUnresolved )
/*
- * it must be a octet stream
+ * it must be an octet stream
*/
{
m_pXSecController->addStreamReference( m_currentReferenceURI, true, m_nReferenceDigestID );
diff --git a/xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx b/xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx
index 8f9ebb1c18e4..a2ebb134d1e5 100644
--- a/xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx
+++ b/xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx
@@ -175,7 +175,7 @@ void XMLDocumentWrapper_XmlSecImpl::sendStartElement(
* xHandler2 - the second XDocumentHandler interface to receive the
* startElement SAX event. It can't be NULL.
* pNode - the node on which the startElement should be generated.
- * This node must be a element type.
+ * This node must be an element type.
******************************************************************************/
{
SvXMLAttributeList* pAttributeList = new SvXMLAttributeList();
@@ -250,11 +250,11 @@ void XMLDocumentWrapper_XmlSecImpl::sendEndElement(
/****** XMLDocumentWrapper_XmlSecImpl/sendEndElement **************************
*
* NAME
- * sendEndElement -- Constructs a endElement SAX event
+ * sendEndElement -- Constructs an endElement SAX event
*
* FUNCTION
* Used when converting the document into SAX event stream.
- * This method constructs a endElement SAX event for a particular
+ * This method constructs an endElement SAX event for a particular
* element, then calls the endElement methods of the XDocumentHandlers.
*
* INPUTS
@@ -263,7 +263,7 @@ void XMLDocumentWrapper_XmlSecImpl::sendEndElement(
* xHandler2 - the second XDocumentHandler interface to receive the
* endElement SAX event. It can't be NULL.
* pNode - the node on which the endElement should be generated.
- * This node must be a element type.
+ * This node must be an element type.
******************************************************************************/
{
OString sNodeName = getNodeQName(pNode);