]> git.lyx.org Git - lyx.git/blobdiff - src/Font.h
Run codespell on src/frontends
[lyx.git] / src / Font.h
index 8b8ddf8d28acb308bf616c614e6213315e167696..79e41b17e9e5c2db290c0b422132885a927b14b7 100644 (file)
@@ -33,7 +33,7 @@ class Font {
 
 public:
        ///
-       explicit Font(FontInfo = sane_font, Language const * l = 0);
+       explicit Font(FontInfo = sane_font, Language const * l = nullptr);
 
        ///
        FontInfo & fontInfo() { return bits_; }
@@ -90,7 +90,7 @@ public:
 
 
        /// Build GUI description of font state
-       docstring const stateText(BufferParams * params) const;
+       docstring const stateText(BufferParams * params = nullptr, bool const terse = false) const;
 
        ///
        void validate(LaTeXFeatures & features) const;
@@ -132,11 +132,6 @@ bool operator!=(Font const & font1, Font const & font2)
        return !(font1 == font2);
 }
 
-/** Returns the current freefont, encoded as a std::string to be passed to the
- *  frontends. Implemented in Text3.cpp.
- */
-std::string const freefont2string();
-
 } // namespace lyx
 
 #endif