From 0c89ebd62ad34d4c462c221f95d8caa4ad592557 Mon Sep 17 00:00:00 2001 From: Stephan Witt Date: Wed, 1 Dec 2010 08:25:17 +0000 Subject: [PATCH] remove not needed class name for enums, whitespace git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36642 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/SpellChecker.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/SpellChecker.h b/src/SpellChecker.h index 62125860fe..55651e0231 100644 --- a/src/SpellChecker.h +++ b/src/SpellChecker.h @@ -50,9 +50,9 @@ public: /// does the spell check failed static bool misspelled(Result res) { - return res != SpellChecker::WORD_OK - && res != SpellChecker::IGNORED_WORD - && res != SpellChecker::LEARNED_WORD; } + return res != WORD_OK + && res != IGNORED_WORD + && res != LEARNED_WORD; } /// check the given word of the given lang code and return the result virtual enum Result check(WordLangTuple const &) = 0; @@ -90,14 +90,14 @@ public: /// give an error message on messy exit virtual docstring const error() = 0; - + /// spell checker state versioning support typedef unsigned long int ChangeNumber ; ChangeNumber changeNumber() const { return change_number_; } void changeNumber(ChangeNumber value) { change_number_ = value; } void nextChangeNumber() { ++change_number_; } virtual void advanceChangeNumber() = 0; - + private: ChangeNumber change_number_; };