]> git.lyx.org Git - lyx.git/blobdiff - src/output_plaintext.C
Add margin to paragraph dialog.
[lyx.git] / src / output_plaintext.C
index 375f107782eecff83755b7acfabe1e7150cd09d5..97346cec11cda61917c751a90fe460567cbc94e3 100644 (file)
@@ -29,7 +29,6 @@ namespace lyx {
 
 using support::ascii_lowercase;
 using support::compare_ascii_no_case;
-using support::compare_no_case;
 using support::contains;
 using support::FileName;
 
@@ -91,7 +90,7 @@ void writePlaintextParagraph(Buffer const & buf,
 
        // First write the layout
        string const & tmp = par.layout()->name();
-       if (compare_no_case(tmp, "itemize") == 0) {
+       if (compare_ascii_no_case(tmp, "itemize") == 0) {
                ltype = 1;
                ltype_depth = depth + 1;
        } else if (compare_ascii_no_case(tmp, "enumerate") == 0) {
@@ -223,7 +222,7 @@ void writePlaintextParagraph(Buffer const & buf,
                        break;
 
                case '\0':
-                       lyxerr[Debug::INFO] <<
+                       LYXERR(Debug::INFO) <<
                                "writePlaintextFile: NULL char in structure." << endl;
                        break;