#include "gettext.h"
#include "Language.h"
#include "LaTeXFeatures.h"
-#include "LyXFont.h"
+#include "Font.h"
#include "LyXRC.h"
#include "Row.h"
#include "OutputParams.h"
int ParagraphMetrics::rightMargin(Buffer const & buffer) const
{
BufferParams const & params = buffer.params();
- LyXTextClass const & tclass = params.getLyXTextClass();
+ TextClass const & tclass = params.getTextClass();
docstring trmarg = from_utf8(tclass.rightmargin());
docstring lrmarg = from_utf8(par_->layout()->rightmargin);
frontend::FontMetrics const & fm = theFontMetrics(params.getFont());