X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Foutput_plaintext.cpp;h=09d7a3847cbeedf87230b3c00b8b6d6a6491bb65;hb=027563eec2d2a1b81391b221f9ca40d823713235;hp=f28a046ab5b42ff804630e2887d37a7fa9fcb3ef;hpb=db8c16d554ebb1dcb319e44d318572de6eff024b;p=lyx.git diff --git a/src/output_plaintext.cpp b/src/output_plaintext.cpp index f28a046ab5..09d7a3847c 100644 --- a/src/output_plaintext.cpp +++ b/src/output_plaintext.cpp @@ -77,7 +77,7 @@ void writePlaintextParagraph(Buffer const & buf, depth_type depth = par.params().depth(); // First write the layout - string const tmp = to_utf8(par.layout()->name()); + string const tmp = to_utf8(par.layout().name()); if (compare_ascii_no_case(tmp, "itemize") == 0) { ltype = 1; ltype_depth = depth + 1;