X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fparagraph.C;h=5579d6deeea234e75227382628a16d643d69cfa7;hb=131eabe56c437ebb740950a17b6226914153f2df;hp=a15c8220195050bbd849943e3fe24d714bd6b143;hpb=a7dc233a1717d1a0ad0802189a3f28f5abce1ce3;p=lyx.git diff --git a/src/paragraph.C b/src/paragraph.C index a15c822019..5579d6deee 100644 --- a/src/paragraph.C +++ b/src/paragraph.C @@ -156,7 +156,7 @@ void Paragraph::write(Buffer const * buf, ostream & os, } // First write the layout - os << "\n\\layout " << layout()->name() << '\n'; + os << "\n\\begin_layout " << layout()->name() << '\n'; params().write(os); @@ -404,8 +404,8 @@ LyXFont const Paragraph::getFontSettings(BufferParams const & bparams, } -lyx::pos_type -Paragraph::getEndPosOfFontSpan(lyx::pos_type pos) const +lyx::pos_type +Paragraph::getEndPosOfFontSpan(lyx::pos_type pos) const { Assert(pos <= size());