]> git.lyx.org Git - lyx.git/blobdiff - src/Font.h
Whitespace.
[lyx.git] / src / Font.h
index e044fc4fd926e29fd32c3f05a759a1d50c242ce6..9b36822cab9deb01df1c5639ffa7f2ebcd4572f6 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  * \author Jean-Marc Lasgouttes
  * \author Angus Leeming
  * \author Dekel Tsur
@@ -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