summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/framework
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-07-24 19:48:51 +0200
committerAndrea Gelmini <andrea.gelmini@gelma.net>2019-07-24 23:34:49 +0200
commitafad1a0cbc893291ea32baa7234c4ed7a5ffcf80 (patch)
tree5cbda7f60e7d3efb1cb6d939a40efee08e434167 /xmlsecurity/source/framework
parent30320abbef8fabfeadda2b31b72f595c4a1c1ed9 (diff)
Fix typos
Change-Id: Ib778a6598f3797fe871a25b56b7b4b7761889296 Reviewed-on: https://gerrit.libreoffice.org/76269 Tested-by: Jenkins Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Diffstat (limited to 'xmlsecurity/source/framework')
-rw-r--r--xmlsecurity/source/framework/buffernode.cxx6
-rw-r--r--xmlsecurity/source/framework/buffernode.hxx14
-rw-r--r--xmlsecurity/source/framework/elementcollector.cxx4
-rw-r--r--xmlsecurity/source/framework/elementmark.cxx4
-rw-r--r--xmlsecurity/source/framework/saxeventkeeperimpl.cxx2
-rw-r--r--xmlsecurity/source/framework/signatureengine.cxx2
6 files changed, 16 insertions, 16 deletions
diff --git a/xmlsecurity/source/framework/buffernode.cxx b/xmlsecurity/source/framework/buffernode.cxx
index 84922843baea..dfffa6650c5b 100644
--- a/xmlsecurity/source/framework/buffernode.cxx
+++ b/xmlsecurity/source/framework/buffernode.cxx
@@ -76,7 +76,7 @@ void BufferNode::setReceivedAll()
*
* NAME
* setReceivedAll -- indicates that the element in this BufferNode has
- * been completely bufferred.
+ * been completely buffered.
*
* SYNOPSIS
* setReceivedAll();
@@ -707,13 +707,13 @@ void BufferNode::elementCollectorNotify()
!isBlockerInSubTreeIncluded(pElementCollector->getSecurityId())))
{
/*
- * If this ElementCollector will modify the bufferred element, then
+ * If this ElementCollector will modify the buffered element, then
* special attention must be paid.
*
* If there is any ElementCollector in the subtree or any ancestor
* ElementCollector with PRI_BEFPREMODIFY priority, this
* ElementCollector can't perform notify operation, otherwise, it
- * will destroy the bufferred element, in turn, ElementCollectors
+ * will destroy the buffered element, in turn, ElementCollectors
* mentioned above can't perform their mission.
*/
//if (!(nMaxPriority == cssxc::sax::ElementMarkPriority_PRI_MODIFY &&
diff --git a/xmlsecurity/source/framework/buffernode.hxx b/xmlsecurity/source/framework/buffernode.hxx
index 1b8e6f8574e9..e3cabd97e955 100644
--- a/xmlsecurity/source/framework/buffernode.hxx
+++ b/xmlsecurity/source/framework/buffernode.hxx
@@ -34,16 +34,16 @@ class BufferNode final
/****** buffernode.hxx/CLASS BufferNode ***************************************
*
* NAME
- * BufferNode -- Class to maintain the tree of bufferred elements
+ * BufferNode -- Class to maintain the tree of buffered elements
*
* FUNCTION
- * One BufferNode object represents a bufferred element in the document
+ * One BufferNode object represents a buffered element in the document
* wrapper component.
* All BufferNode objects construct a tree which has the same structure
- * of all bufferred elements. That is to say, if one bufferred element is
- * an ancestor of another bufferred element, then the corresponding
+ * of all buffered elements. That is to say, if one buffered element is
+ * an ancestor of another buffered element, then the corresponding
* BufferNode objects are also in ancestor/descendant relationship.
- * This class is used to manipulate the tree of bufferred elements.
+ * This class is used to manipulate the tree of buffered elements.
******************************************************************************/
{
private:
@@ -63,12 +63,12 @@ private:
ElementMark* m_pBlocker;
/*
- * whether the element has completely bufferred by the document wrapper
+ * whether the element has completely buffered by the document wrapper
* component
*/
bool m_bAllReceived;
- /* the XMLElementWrapper of the bufferred element */
+ /* the XMLElementWrapper of the buffered element */
css::uno::Reference< css::xml::wrapper::XXMLElementWrapper > m_xXMLElement;
private:
diff --git a/xmlsecurity/source/framework/elementcollector.cxx b/xmlsecurity/source/framework/elementcollector.cxx
index 18e0646ed75e..80581d1c2029 100644
--- a/xmlsecurity/source/framework/elementcollector.cxx
+++ b/xmlsecurity/source/framework/elementcollector.cxx
@@ -53,9 +53,9 @@ ElementCollector::ElementCollector(
* nSecurityId - represents which security entity the buffer node is
* related with. Either a signature or an encryption is
* a security entity.
- * nBufferId - the id of the element bufferred in the document
+ * nBufferId - the id of the element buffered in the document
* wrapper component. The document wrapper component
- * uses this id to search the particular bufferred
+ * uses this id to search the particular buffered
* element.
* nPriority - the priority value. ElementCollector with lower
* priority value can't notify until all ElementCollectors
diff --git a/xmlsecurity/source/framework/elementmark.cxx b/xmlsecurity/source/framework/elementmark.cxx
index 06fe9dd5ec6d..c333527f42b2 100644
--- a/xmlsecurity/source/framework/elementmark.cxx
+++ b/xmlsecurity/source/framework/elementmark.cxx
@@ -42,9 +42,9 @@ ElementMark::ElementMark(sal_Int32 nSecurityId, sal_Int32 nBufferId)
* nSecurityId - represents which security entity the buffer node is
* related with. Either a signature or an encryption is
* a security entity.
- * nBufferId - the id of the element bufferred in the document
+ * nBufferId - the id of the element buffered in the document
* wrapper component. The document wrapper component
- * uses this id to search the particular bufferred
+ * uses this id to search the particular buffered
* element.
******************************************************************************/
{
diff --git a/xmlsecurity/source/framework/saxeventkeeperimpl.cxx b/xmlsecurity/source/framework/saxeventkeeperimpl.cxx
index 775e2e0a40db..a0d77ce3fcef 100644
--- a/xmlsecurity/source/framework/saxeventkeeperimpl.cxx
+++ b/xmlsecurity/source/framework/saxeventkeeperimpl.cxx
@@ -392,7 +392,7 @@ void SAXEventKeeperImpl::smashBufferNode(
* by any other ElementCollector or Blocker.
* When the bClearRoot is set to true, the root BufferNode will be first
* cleared, with a stop flag setting at the next Blocking BufferNode. This
- * operation can delete all useless bufferred SAX events which are only
+ * operation can delete all useless buffered SAX events which are only
* needed by the Blocker to be deleted.
******************************************************************************/
{
diff --git a/xmlsecurity/source/framework/signatureengine.cxx b/xmlsecurity/source/framework/signatureengine.cxx
index 3e74a7b25452..ff1025e9d783 100644
--- a/xmlsecurity/source/framework/signatureengine.cxx
+++ b/xmlsecurity/source/framework/signatureengine.cxx
@@ -49,7 +49,7 @@ bool SignatureEngine::checkReady() const
* 2. the key material is known;
* 3. the amount of reference is known;
* 4. all of referenced elements, the key element and the signature
- * template are bufferred.
+ * template are buffered.
*
* RESULT
* bReady - true if all conditions are satisfied, false otherwise