X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFont.h;h=2cdd5c1f2e4fcae3ba7f50bc69378b8208844a05;hb=225c1dbe55635a97b183909ea7194b8d92051378;hp=7c0b61134fdcd00d7abd5e79de58520a26c6374d;hpb=0c1ff6d89e72ae82e4a68f99934b735ade5fea5c;p=lyx.git diff --git a/src/Font.h b/src/Font.h index 7c0b61134f..2cdd5c1f2e 100644 --- a/src/Font.h +++ b/src/Font.h @@ -42,10 +42,6 @@ public: /// Language const * language() const { return lang_; } /// - void setMisspelled(bool misspelled) { misspelled_ = misspelled; } - /// - bool isMisspelled() const { return misspelled_; } - /// bool isRightToLeft() const; /// bool isVisibleRightToLeft() const; @@ -116,9 +112,6 @@ private: FontInfo bits_; /// Language const * lang_; - /// - bool misspelled_; - /// Did latexWriteStartChanges open an encoding environment? mutable bool open_encoding_; }; @@ -128,8 +121,7 @@ private: inline bool operator==(Font const & font1, Font const & font2) { - return font1.bits_ == font2.bits_ && font1.lang_ == font2.lang_ - && font1.misspelled_ == font2.misspelled_; + return font1.bits_ == font2.bits_ && font1.lang_ == font2.lang_; } ///