summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2013-02-20 17:24:33 +0100
committerAndras Timar <atimar@suse.com>2013-02-20 17:25:30 +0100
commitb37a07f2da6c4fcc1a01cc3ea547c558c23edd71 (patch)
tree0fc40179b95c3fb5511afdff378217b3bf4a818b /unotools
parent28300209604ee1bb8e5050322b29e95a07f679d8 (diff)
typo: allways -> always
Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
Diffstat (limited to 'unotools')
-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 ];