summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode/txtedt.cxx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2022-12-13 22:43:05 +0100
committerJulien Nabet <serval2412@yahoo.fr>2022-12-14 10:43:54 +0000
commitff598ae2d2d356c1c7b1e3e9190eb1f02a74c1da (patch)
treeaf95ddcdbf49237357cc2023b68bbaa26e5e9f3b /sw/source/core/txtnode/txtedt.cxx
parentc9de64e92cac1f4b9907399d7f51f70021f7e39c (diff)
Fix typo
Change-Id: I6d85db36bb94215b912827746b220a21a1b472a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144111 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw/source/core/txtnode/txtedt.cxx')
-rw-r--r--sw/source/core/txtnode/txtedt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/txtnode/txtedt.cxx b/sw/source/core/txtnode/txtedt.cxx
index 59950ce9e06f..2df9590832c8 100644
--- a/sw/source/core/txtnode/txtedt.cxx
+++ b/sw/source/core/txtnode/txtedt.cxx
@@ -128,7 +128,7 @@ static bool lcl_IsURL(std::u16string_view rWord,
if ( !rNode.GetTextAttrAt(nBegin, RES_TXTATR_INETFMT) )
return false;
- // there is a dot in the word, wich is not a period ("example.org")
+ // there is a dot in the word, which is not a period ("example.org")
const size_t nPosAt = rWord.find('.');
if (nPosAt != std::u16string_view::npos && nPosAt < rWord.length() - 1)
return true;