summaryrefslogtreecommitdiffstats
path: root/unotools/source/i18n/textsearch.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/i18n/textsearch.cxx')
-rw-r--r--unotools/source/i18n/textsearch.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/unotools/source/i18n/textsearch.cxx b/unotools/source/i18n/textsearch.cxx
index 91051501f873..2b51179928f1 100644
--- a/unotools/source/i18n/textsearch.cxx
+++ b/unotools/source/i18n/textsearch.cxx
@@ -220,7 +220,7 @@ int TextSearch::SearchFrwrd( const String & rStr, xub_StrLen* pStart,
{
nRet = 1;
// the XTextsearch returns in startOffset the higher position
- // and the endposition is allways exclusive.
+ // and the endposition is always exclusive.
// The caller of this function will have in startPos the
// lower pos. and end
*pStart = (xub_StrLen)aRet.startOffset[ 0 ];
@@ -252,7 +252,7 @@ sal_Bool TextSearch::SearchForward( const ::rtl::OUString &rStr,
{
nRet = sal_True;
// the XTextsearch returns in startOffset the higher position
- // and the endposition is allways exclusive.
+ // and the endposition is always exclusive.
// The caller of this function will have in startPos the
// lower pos. and end
*pStart = aRet.startOffset[ 0 ];
@@ -284,7 +284,7 @@ int TextSearch::SearchBkwrd( const String & rStr, xub_StrLen* pStart,
{
nRet = 1;
// the XTextsearch returns in startOffset the higher position
- // and the endposition is allways exclusive.
+ // and the endposition is always exclusive.
// The caller of this function will have in startPos the
// lower pos. and end
*pEnde = (xub_StrLen)aRet.startOffset[ 0 ];