[ooo-build-commit] .: editeng/source

Caolán McNamara caolan at kemper.freedesktop.org
Thu Sep 30 08:20:12 PDT 2010


 editeng/source/editeng/editeng.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 9f2f59918e8506cafd584c1bb7bd972914b9d5fa
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Sep 30 16:20:02 2010 +0100

    #i106502# don't start the spelling timer unless there's a reason to do so

diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx
index 3d3f4b1..1a92b1d 100644
--- a/editeng/source/editeng/editeng.cxx
+++ b/editeng/source/editeng/editeng.cxx
@@ -1792,7 +1792,8 @@ void EditEngine::SetControlWord( sal_uInt32 nWord )
                     ContentNode* pNode = pImpEditEngine->GetEditDoc().GetObject( n );
                     pNode->CreateWrongList();
                 }
-                pImpEditEngine->StartOnlineSpellTimer();
+                if (pImpEditEngine->IsFormatted())
+                    pImpEditEngine->StartOnlineSpellTimer();
             }
             else
             {


More information about the ooo-build-commit mailing list