X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFontList.h;h=9dfd5274269f1f6036d20f8b6c4ba588cef36b6e;hb=0eb9477be7998f8d66b4fe5c8948de5a22261e1e;hp=d6733f9de596f593811159caf09a0f625edb8067;hpb=aeebc6565c77609d0c636e5102fc2fabef9af44a;p=lyx.git diff --git a/src/FontList.h b/src/FontList.h index d6733f9de5..9dfd527426 100644 --- a/src/FontList.h +++ b/src/FontList.h @@ -84,7 +84,7 @@ public: /// bool empty() const { return list_.empty(); } /// - void clear() { return list_.clear(); } + void clear() { list_.clear(); } /// void erase(pos_type pos); /// @@ -92,7 +92,7 @@ public: /// const_iterator fontIterator(pos_type pos) const; /// - Font & get(pos_type pos); + Font const & get(pos_type pos); /// void set(pos_type pos, Font const & font); /// @@ -112,12 +112,6 @@ public: FontSize def_size ) const; - /// is there a font change in middle of the word? - bool hasChangeInRange( - pos_type pos, ///< position in the paragraph. - int len ///< length of the range to check. - ) const; - /// void validate(LaTeXFeatures & features) const;