]> git.lyx.org Git - lyx.git/blobdiff - src/output_plaintext.cpp
* GuiView.cpp:
[lyx.git] / src / output_plaintext.cpp
index f28a046ab5b42ff804630e2887d37a7fa9fcb3ef..4ee3390b3acef4f80deb5cbcd104358e2de6fa20 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;
@@ -210,7 +210,7 @@ void writePlaintextParagraph(Buffer const & buf,
                        break;
 
                case '\0':
-                       LYXERR(Debug::INFO, "writePlaintextFile: NULL char in structure.");
+                       LYXERR(Debug::INFO, "writePlaintextFile: NUL char in structure.");
                        break;
 
                default: