[Libreoffice-commits] core.git: editeng/source

Andrea Gelmini andrea.gelmini at gelma.net
Sun May 1 09:54:43 UTC 2016


 editeng/source/editeng/impedit.hxx  |    2 +-
 editeng/source/editeng/impedit4.cxx |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 0fa225fe5b5558b68fd29f208b1fbb8b03b80951
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Sat Apr 30 14:39:20 2016 +0200

    Fix typo in code
    
    Change-Id: Ia1ec84da61aa353d481ada98c41cbebaca623c0e
    Reviewed-on: https://gerrit.libreoffice.org/24532
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx
index a06a593..5875ad7 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 fb6e284..4cb5d77 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;


More information about the Libreoffice-commits mailing list