]> git.lyx.org Git - lyx.git/blobdiff - src/output_plaintext.cpp
Typos.
[lyx.git] / src / output_plaintext.cpp
index f28a046ab5b42ff804630e2887d37a7fa9fcb3ef..0619b0668c86d8fd7d92fc4df5f234add8192f93 100644 (file)
@@ -45,7 +45,7 @@ void writePlaintextFile(Buffer const & buf, odocstream & os,
        OutputParams const & runparams)
 {
        bool ref_printed = false;
-       ParagraphList const par = buf.paragraphs();
+       ParagraphList const par = buf.paragraphs();
        ParagraphList::const_iterator beg = par.begin();
        ParagraphList::const_iterator end = par.end();
        ParagraphList::const_iterator it = beg;
@@ -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: