test/source/a11y/XAccessibleTextTester.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 93923da4b46db51213ee44309b64aba5cffd2591 Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Fri Jun 20 07:48:29 2025 +0200 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Fri Jun 20 08:56:31 2025 +0200 Fix typo Change-Id: If73c0259cf11ce5c8b5f2af19ac5abb084d78b0e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186730 Tested-by: Julien Nabet <serval2...@yahoo.fr> Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/test/source/a11y/XAccessibleTextTester.cxx b/test/source/a11y/XAccessibleTextTester.cxx index d139442f7d69..e0ad2b9fedc1 100644 --- a/test/source/a11y/XAccessibleTextTester.cxx +++ b/test/source/a11y/XAccessibleTextTester.cxx @@ -124,7 +124,7 @@ void XAccessibleTextTester::testGetCharacterAttributes() const sal_Int32 nCharCount = m_xText->getCharacterCount(); const css::uno::Sequence<OUString> aAttrs; - // check that trying to get character attribtes at invalid index results in IndexOutOfBoundsException + // check that trying to get character attributes at invalid index results in IndexOutOfBoundsException for (sal_Int32 nPos : { sal_Int32(-1), nCharCount }) { try @@ -148,7 +148,7 @@ void XAccessibleTextTester::testGetCharacterAttributes() /** * Calls the method with wrong indices and with a correct index, - * checks whether character bounds are within compontent bounds. + * checks whether character bounds are within component bounds. */ void XAccessibleTextTester::testGetCharacterBounds() { @@ -338,7 +338,7 @@ void XAccessibleTextTester::testSetSelection() // OK; this is expected } - // check that setting selection using valid indeces does not trigger exception + // check that setting selection using valid indices does not trigger exception if (nCharCount > 2) { m_xText->setSelection(1, nCharCount - 1);