]> git.lyx.org Git - lyx.git/blobdiff - src/sp_pspell.h
Fix deleting of paragraphs after undo (fix #236).
[lyx.git] / src / sp_pspell.h
index 0833c8945e3fab3791b306e4e966c900c4e0e61a..8d01c45a943d19ba151d21125aaa4e7a9edc36ef 100644 (file)
@@ -23,7 +23,7 @@ class PSpell : public SpellBase
     /// initialize spell checker
     void initialize(BufferParams const & params, string const & lang);
 
-    bool alive() { return true; }
+    bool alive() { return alive_; }
 
     /// clean up after error
     void cleanUp();
@@ -41,8 +41,6 @@ class PSpell : public SpellBase
     /// store replacement
     void store(string const & mis, string const & cor);
      
-    void sigchldhandler(pid_t pid, int *status);
-
     char const * nextMiss();
 
     char const * error();
@@ -58,7 +56,8 @@ class PSpell : public SpellBase
     spellStatus flag;
 
     const char * error_;
-   
+
+    bool alive_;
 };
    
 #endif