]> git.lyx.org Git - lyx.git/blobdiff - src/bufferparams.C
code cosmetics to the iterator fix
[lyx.git] / src / bufferparams.C
index be159dc2a31e652896f7ae1c7c017c8f5eb533ad..41abadeb94aafc18d1f92936ce1c32313a6bf97a 100644 (file)
@@ -1092,6 +1092,14 @@ LyXTextClass const & BufferParams::getLyXTextClass() const
 }
 
 
+LyXFont const BufferParams::getFont() const
+{
+       LyXFont f = getLyXTextClass().defaultfont();
+       f.setLanguage(language);
+       return f;
+}
+
+
 void BufferParams::readPreamble(LyXLex & lex)
 {
        if (lex.getString() != "\\begin_preamble")