This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push:
new 289eba418b Fix spelling (#271)
289eba418b is described below
commit 289eba418b6144fec1e7ccdf00d545c3f31c5f97
Author: John Bampton <[email protected]>
AuthorDate: Sat Feb 8 09:17:42 2025 +1000
Fix spelling (#271)
* Fix spelling
* Update ignored words list
---
.github/linters/codespell.txt | 2 --
.../source/UAccCOM/AccHypertext.cpp | 24 +++++++++++-----------
main/winaccessibility/source/UAccCOM/AccText.cpp | 22 ++++++++++----------
3 files changed, 23 insertions(+), 25 deletions(-)
diff --git a/.github/linters/codespell.txt b/.github/linters/codespell.txt
index 9b812fc91c..6dbd447b4e 100644
--- a/.github/linters/codespell.txt
+++ b/.github/linters/codespell.txt
@@ -39,7 +39,6 @@ accessiblity
accessort
accociated
accoding
-accpet
accrodingly
accssor
accuray
@@ -3281,7 +3280,6 @@ slanguage
slanguages
slected
slection
-slections
smalles
sme
smoot
diff --git a/main/winaccessibility/source/UAccCOM/AccHypertext.cpp
b/main/winaccessibility/source/UAccCOM/AccHypertext.cpp
index 29ac8bf281..eab4462c78 100644
--- a/main/winaccessibility/source/UAccCOM/AccHypertext.cpp
+++ b/main/winaccessibility/source/UAccCOM/AccHypertext.cpp
@@ -17,8 +17,8 @@
* specific language governing permissions and limitations
* under the License.
*
- *************************************************************/
-
+ *************************************************************/
+
#include "stdafx.h"
#include "UAccCOM2.h"
#include "AccHypertext.h"
@@ -83,10 +83,10 @@ STDMETHODIMP CAccHypertext::get_characterCount(long *
nCharacters)
/**
* Get character extents.
* @param offset Offset.
- * @param x Variant to accpet x position.
- * @param y Variant to accpet y position.
- * @param width Variant to accpet width.
- * @param Height Variant to accpet height.
+ * @param x Variant to accept x position.
+ * @param y Variant to accept y position.
+ * @param width Variant to accept width.
+ * @param Height Variant to accept height.
* @return Result.
*/
STDMETHODIMP CAccHypertext::get_characterExtents(long offset,
IA2CoordinateType coordType, long * x, long * y, long * width, long * height)
@@ -96,8 +96,8 @@ STDMETHODIMP CAccHypertext::get_characterExtents(long offset,
IA2CoordinateType
}
/**
- * Get slections count.
- * @param nSelections Variant to accpet slections count.
+ * Get selections count.
+ * @param nSelections Variant to accept selections count.
* @return Result.
*/
STDMETHODIMP CAccHypertext::get_nSelections(long * nSelections)
@@ -196,7 +196,7 @@ STDMETHODIMP CAccHypertext::get_textAtOffset(long offset,
IA2TextBoundaryType bo
/**
* Remove selection.
* @param selectionIndex Special selection index
- * @param success Variant to accept the memthod called result.
+ * @param success Variant to accept the method called result.
* @return Result.
*/
STDMETHODIMP CAccHypertext::removeSelection(long selectionIndex)
@@ -208,7 +208,7 @@ STDMETHODIMP CAccHypertext::removeSelection(long
selectionIndex)
/**
* Set caret position.
* @param offset Special position.
- * @param success Variant to accept the memthod called result.
+ * @param success Variant to accept the method called result.
* @return Result.
*/
STDMETHODIMP CAccHypertext::setCaretOffset(long offset)
@@ -222,7 +222,7 @@ STDMETHODIMP CAccHypertext::setCaretOffset(long offset)
* @param selectionIndex Special selection index.
* @param startOffset start position.
* @param endOffset end position.
- * @param success Variant to accept the memthod called result.
+ * @param success Variant to accept the method called result.
* @return Result.
*/
STDMETHODIMP CAccHypertext::setSelection(long selectionIndex, long
startOffset, long endOffset)
@@ -272,7 +272,7 @@ STDMETHODIMP CAccHypertext::scrollSubstringTo(long
startIndex, long endIndex,enu
/**
* Get hyperlink count.
- * @param hyperlinkCount Variant to accpet hyperlink count.
+ * @param hyperlinkCount Variant to accept hyperlink count.
* @return Result.
*/
STDMETHODIMP CAccHypertext::get_nHyperlinks(long *hyperlinkCount)
diff --git a/main/winaccessibility/source/UAccCOM/AccText.cpp
b/main/winaccessibility/source/UAccCOM/AccText.cpp
index d5f7ffe91d..02078abfd3 100644
--- a/main/winaccessibility/source/UAccCOM/AccText.cpp
+++ b/main/winaccessibility/source/UAccCOM/AccText.cpp
@@ -17,8 +17,8 @@
* specific language governing permissions and limitations
* under the License.
*
- *************************************************************/
-
+ *************************************************************/
+
#include "stdafx.h"
#include "UAccCOM2.h"
#include "AccText.h"
@@ -78,10 +78,10 @@ STDMETHODIMP CAccText::get_characterCount(long *
nCharacters)
/**
* Get character extents.
* @param offset Offset.
- * @param x Variant to accpet x position.
- * @param y Variant to accpet y position.
- * @param width Variant to accpet width.
- * @param Height Variant to accpet height.
+ * @param x Variant to accept x position.
+ * @param y Variant to accept y position.
+ * @param width Variant to accept width.
+ * @param Height Variant to accept height.
* @return Result.
*/
STDMETHODIMP CAccText::get_characterExtents(long offset, IA2CoordinateType
coordType, long * x, long * y, long * width, long * height)
@@ -91,8 +91,8 @@ STDMETHODIMP CAccText::get_characterExtents(long offset,
IA2CoordinateType coord
}
/**
- * Get slections count.
- * @param nSelections Variant to accpet slections count.
+ * Get selections count.
+ * @param nSelections Variant to accept selections count.
* @return Result.
*/
STDMETHODIMP CAccText::get_nSelections(long * nSelections)
@@ -193,7 +193,7 @@ STDMETHODIMP CAccText::get_textAtOffset(long offset,
IA2TextBoundaryType boundar
/**
* Remove selection.
* @param selectionIndex Special selection index
- * @param success Variant to accept the memthod called result.
+ * @param success Variant to accept the method called result.
* @return Result.
*/
STDMETHODIMP CAccText::removeSelection(long selectionIndex)//, unsigned char *
success)
@@ -205,7 +205,7 @@ STDMETHODIMP CAccText::removeSelection(long
selectionIndex)//, unsigned char * s
/**
* Set caret position.
* @param offset Special position.
- * @param success Variant to accept the memthod called result.
+ * @param success Variant to accept the method called result.
* @return Result.
*/
STDMETHODIMP CAccText::setCaretOffset(long offset)
@@ -219,7 +219,7 @@ STDMETHODIMP CAccText::setCaretOffset(long offset)
* @param selectionIndex Special selection index.
* @param startOffset start position.
* @param endOffset end position.
- * @param success Variant to accept the memthod called result.
+ * @param success Variant to accept the method called result.
* @return Result.
*/