X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFont.h;h=49c8f31b5b9ed52ffba3ce325fa43c156c0feb59;hb=4a75fe0310ac64a079edab0c07d8f8eebaf519c0;hp=e044fc4fd926e29fd32c3f05a759a1d50c242ce6;hpb=5ddc612b735317d5b22553a63aad7879503e3950;p=lyx.git diff --git a/src/Font.h b/src/Font.h index e044fc4fd9..49c8f31b5b 100644 --- a/src/Font.h +++ b/src/Font.h @@ -22,7 +22,7 @@ #include "ColorCode.h" #include "FontInfo.h" -#include "support/docstream.h" +#include "support/strfwd.h" namespace lyx { @@ -38,7 +38,7 @@ class Font { public: /// - Font(FontInfo = sane_font, Language const * l = 0); + explicit Font(FontInfo = sane_font, Language const * l = 0); /// FontInfo & fontInfo() { return bits_; } @@ -163,7 +163,7 @@ void setLyXSize(std::string const &, FontInfo &); void setLyXColor(std::string const &, FontInfo &); /// Read a font specification from Lexer. Used for layout files. -FontInfo lyxRead(Lexer &); +FontInfo lyxRead(Lexer &, FontInfo const & fi = sane_font); } // namespace lyx