}
// First write the layout
- os << "\n\\layout " << layout()->name() << '\n';
+ os << "\n\\begin_layout " << layout()->name() << '\n';
params().write(os);
}
-lyx::pos_type
-Paragraph::getEndPosOfFontSpan(lyx::pos_type pos) const
+lyx::pos_type
+Paragraph::getEndPosOfFontSpan(lyx::pos_type pos) const
{
Assert(pos <= size());