summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-06-13 00:48:03 +0200
committerjan iversen <jani@documentfoundation.org>2016-06-13 06:04:07 +0000
commitd3c96c9f82f086b828f955f7dac030a942fc631d (patch)
treec1a0efb6f79c93538f2b0d7891ab9124812b4cc9 /lingucomponent
parent76d4cda6170eedef3596ff6b5b9ef89b9c8d7c83 (diff)
Fix typos
Change-Id: Ic3efae53430fbb2c1eb7962c3cf69bf99315e55b Reviewed-on: https://gerrit.libreoffice.org/26202 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx b/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx
index 4f784cab48d9..29c8c256f9da 100644
--- a/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx
+++ b/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx
@@ -282,7 +282,7 @@ Reference< XHyphenatedWord > SAL_CALL Hyphenator::hyphenate( const OUString& aWo
int nHyphenationPosAlt = -1;
int nHyphenationPosAltHyph = -1;
- // if this dictinary has not been loaded yet do that
+ // if this dictionary has not been loaded yet do that
if (!aDicts[k].aPtr)
{
OUString DictFN = aDicts[k].aName + ".dic";
@@ -467,7 +467,7 @@ Reference< XHyphenatedWord > SAL_CALL Hyphenator::hyphenate( const OUString& aWo
// handle shortening
sal_Int16 nPos = (sal_Int16) ((nHyphenationPosAltHyph < nHyphenationPos) ?
nHyphenationPosAltHyph : nHyphenationPos);
- // dicretionary hyphenation
+ // discretionary hyphenation
xRes = HyphenatedWord::CreateHyphenatedWord( aWord, LinguLocaleToLanguage( aLocale ), nPos,
aWord.replaceAt(nHyphenationPosAlt + 1, cut[nHyphenationPos], repHyph),
(sal_Int16) nHyphenationPosAltHyph);
@@ -563,7 +563,7 @@ Reference< XPossibleHyphens > SAL_CALL Hyphenator::createPossibleHyphens( const
if (k != -1)
{
HyphenDict *dict = nullptr;
- // if this dictioanry has not been loaded yet do that
+ // if this dictionary has not been loaded yet do that
if (!aDicts[k].aPtr)
{
OUString DictFN = aDicts[k].aName + ".dic";