summaryrefslogtreecommitdiff
path: root/i18npool/source/search
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-01-09 22:55:28 +0100
committerAshod Nakashian <ashnakash@gmail.com>2016-01-10 14:17:20 +0000
commit64d624b65124ac02d8ee59b135593fd9d8eb9067 (patch)
tree772fc0f308549b9416fbcb06bce2bf0e0f5809cc /i18npool/source/search
parentd61c16966b017abdbebf5ec0c2131de5a91c67f8 (diff)
Fix typos
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'i18npool/source/search')
-rw-r--r--i18npool/source/search/levdis.cxx4
-rw-r--r--i18npool/source/search/textsearch.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/i18npool/source/search/levdis.cxx b/i18npool/source/search/levdis.cxx
index f15d6ca24894..eca7fbf4aeac 100644
--- a/i18npool/source/search/levdis.cxx
+++ b/i18npool/source/search/levdis.cxx
@@ -23,7 +23,7 @@
including wildcards
'*' for any number (0 or more) of arbitrary characters
'?' for exactly one arbitrary character
- escapeable with backslash, "\*" or "\?"
+ escapable with backslash, "\*" or "\?"
Return:
WLD if WLD <= nLimit, else nLimit+1
@@ -177,7 +177,7 @@ int WLevDistance::WLD( const sal_Unicode* cString, sal_Int32 nStringLen )
nP = nRepP0;
if ( c == '*' && bpPatIsWild[j] )
{
- nQ = 0; // instertion and deletion without penalty
+ nQ = 0; // insertion and deletion without penalty
nR = 0;
}
else
diff --git a/i18npool/source/search/textsearch.cxx b/i18npool/source/search/textsearch.cxx
index 6e80233fa97c..b2f87d1af76c 100644
--- a/i18npool/source/search/textsearch.cxx
+++ b/i18npool/source/search/textsearch.cxx
@@ -799,7 +799,7 @@ void TextSearch::RESrchPrepare( const css::util::SearchOptions& rOptions)
// assumption: transliteration didn't mangle regexp control chars
IcuUniString aIcuSearchPatStr( reinterpret_cast<const UChar*>(rPatternStr.getStr()), rPatternStr.getLength());
#ifndef DISABLE_WORDBOUND_EMULATION
- // for conveniance specific syntax elements of the old regex engine are emulated
+ // for convenience specific syntax elements of the old regex engine are emulated
// - by replacing \< with "word-break followed by a look-ahead word-char"
static const IcuUniString aChevronPatternB( "\\\\<", -1, IcuUniString::kInvariant);
static const IcuUniString aChevronReplaceB( "\\\\b(?=\\\\w)", -1, IcuUniString::kInvariant);