]> git.lyx.org Git - features.git/blobdiff - src/output_plaintext.cpp
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[features.git] / src / output_plaintext.cpp
index f28a046ab5b42ff804630e2887d37a7fa9fcb3ef..09d7a3847cbeedf87230b3c00b8b6d6a6491bb65 100644 (file)
@@ -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;