summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-04-30 14:39:20 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-05-01 09:54:18 +0000
commit0fa225fe5b5558b68fd29f208b1fbb8b03b80951 (patch)
treee12146d909eb50136ef881cff55a2473793b3388 /editeng
parent931b6a153754cb2515650f6b6f46a4dd77c06a03 (diff)
Fix typo in code
Change-Id: Ia1ec84da61aa353d481ada98c41cbebaca623c0e Reviewed-on: https://gerrit.libreoffice.org/24532 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit.hxx2
-rw-r--r--editeng/source/editeng/impedit4.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx
index a06a593b0539..5875ad7d1f02 100644
--- a/editeng/source/editeng/impedit.hxx
+++ b/editeng/source/editeng/impedit.hxx
@@ -918,7 +918,7 @@ public:
LanguageType GetLanguage( const EditPaM& rPaM, sal_Int32* pEndPos = nullptr ) const;
css::lang::Locale GetLocale( const EditPaM& rPaM ) const;
- void DoOnlineSpelling( ContentNode* pThisNodeOnly = nullptr, bool bSpellAtCursorPos = false, bool bInteruptable = true );
+ void DoOnlineSpelling( ContentNode* pThisNodeOnly = nullptr, bool bSpellAtCursorPos = false, bool bInterruptible = true );
EESpellState Spell( EditView* pEditView, bool bMultipleDoc );
EESpellState HasSpellErrors();
void ClearSpellErrors();
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx
index fb6e284c7dd4..4cb5d776fdc1 100644
--- a/editeng/source/editeng/impedit4.cxx
+++ b/editeng/source/editeng/impedit4.cxx
@@ -2244,7 +2244,7 @@ void ImpEditEngine::PutSpellingToSentenceStart( EditView& rEditView )
}
-void ImpEditEngine::DoOnlineSpelling( ContentNode* pThisNodeOnly, bool bSpellAtCursorPos, bool bInteruptable )
+void ImpEditEngine::DoOnlineSpelling( ContentNode* pThisNodeOnly, bool bSpellAtCursorPos, bool bInterruptible )
{
/*
It will iterate over all the paragraphs, paragraphs with only
@@ -2428,7 +2428,7 @@ void ImpEditEngine::DoOnlineSpelling( ContentNode* pThisNodeOnly, bool bSpellAtC
}
// After two corrected nodes give up the control ...
nInvalids++;
- if ( bInteruptable && ( nInvalids >= 2 ) )
+ if ( bInterruptible && ( nInvalids >= 2 ) )
{
bRestartTimer = true;
break;