summaryrefslogtreecommitdiff
path: root/i18npool/source
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source')
-rw-r--r--i18npool/source/breakiterator/breakiterator_unicode.cxx2
-rw-r--r--i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx2
-rw-r--r--i18npool/source/search/levdis.cxx4
-rw-r--r--i18npool/source/search/textsearch.cxx2
-rw-r--r--i18npool/source/textconversion/textconversion_ko.cxx2
-rw-r--r--i18npool/source/transliteration/transliterationImpl.cxx2
6 files changed, 7 insertions, 7 deletions
diff --git a/i18npool/source/breakiterator/breakiterator_unicode.cxx b/i18npool/source/breakiterator/breakiterator_unicode.cxx
index 91c1d357e241..9fba6a3f05ec 100644
--- a/i18npool/source/breakiterator/breakiterator_unicode.cxx
+++ b/i18npool/source/breakiterator/breakiterator_unicode.cxx
@@ -412,7 +412,7 @@ LineBreakResults SAL_CALL BreakIterator_Unicode::getLineBreak(
} else {
lbr.breakIndex = line.aBreakIterator->preceding(nStartPos);
- lbr.breakType = BreakType::WORDBOUNDARY;;
+ lbr.breakType = BreakType::WORDBOUNDARY;
}
} else { //word boundary break
lbr.breakIndex = line.aBreakIterator->preceding(nStartPos);
diff --git a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx
index 04dee8eaa501..40fb536e848a 100644
--- a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx
+++ b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx
@@ -650,7 +650,7 @@ DefaultNumberingProvider::makeNumberingString( const Sequence<beans::PropertyVal
translit->loadModuleByImplName(transliteration, aLocale);
result += translit->transliterateString2String(tmp, 0, tmp.getLength());
} catch (Exception& ) {
- // When translteration property is missing, return default number (bug #101141#)
+ // When transliteration property is missing, return default number (bug #101141#)
result += OUString::number( number );
// OSL_ASSERT(0);
// throw IllegalArgumentException();
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 5263713e7c09..d2a32a897a90 100644
--- a/i18npool/source/search/textsearch.cxx
+++ b/i18npool/source/search/textsearch.cxx
@@ -798,7 +798,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);
diff --git a/i18npool/source/textconversion/textconversion_ko.cxx b/i18npool/source/textconversion/textconversion_ko.cxx
index 0cf0f25108dd..4276628a2331 100644
--- a/i18npool/source/textconversion/textconversion_ko.cxx
+++ b/i18npool/source/textconversion/textconversion_ko.cxx
@@ -295,7 +295,7 @@ TextConversion_ko::getConversions( const OUString& aText, sal_Int32 nStartPos, s
}
// found match
if (result.Candidates.hasElements()) {
- result.Boundary.startPos = start + nStartPos;;
+ result.Boundary.startPos = start + nStartPos;
result.Boundary.endPos = start + len + nStartPos;
return result;
}
diff --git a/i18npool/source/transliteration/transliterationImpl.cxx b/i18npool/source/transliteration/transliterationImpl.cxx
index 2c01caee568b..287d2cea70f2 100644
--- a/i18npool/source/transliteration/transliterationImpl.cxx
+++ b/i18npool/source/transliteration/transliterationImpl.cxx
@@ -627,7 +627,7 @@ TransliterationImpl::loadModuleByName( const OUString& implName,
for (sal_Int16 i = 0; i < 3; i++) {
if (implName.equalsAscii(TMlist[i].implName)) {
if (i == 0) // current module is caseignore
- body->loadModule(TMlist[0].tm, rLocale); // caseingore need to setup module name
+ body->loadModule(TMlist[0].tm, rLocale); // caseignore need to setup module name
if (! caseignore.is()) {
OUString bname = TRLT_IMPLNAME_PREFIX +
OUString::createFromAscii(TMlist[0].implName);