]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph_pimpl.C
Add margin to paragraph dialog.
[lyx.git] / src / paragraph_pimpl.C
index 1d3fd5a57a5e97a09d8b14e8120fc7a4bb47dfe5..55126353775f5feb1a434b0c82e7b3a7058ad5ba 100644 (file)
@@ -523,7 +523,7 @@ void Paragraph::Pimpl::simpleTeXSpecialChars(Buffer const & buf,
                        } else {
                                if (open_font) {
                                        column += running_font.latexWriteEndChanges(
-                                               os, basefont, basefont, bparams);
+                                               os, basefont, basefont);
                                        open_font = false;
                                }
 
@@ -578,7 +578,7 @@ void Paragraph::Pimpl::simpleTeXSpecialChars(Buffer const & buf,
                // some insets cannot be inside a font change command
                if (open_font && inset->noFontChange()) {
                        column += running_font.latexWriteEndChanges(
-                                       os, basefont, basefont, bparams);
+                                       os, basefont, basefont);
                        open_font = false;
                        basefont = owner_->getLayoutFont(bparams, outerfont);
                        running_font = basefont;
@@ -786,11 +786,11 @@ void Paragraph::Pimpl::validate(LaTeXFeatures & features,
        FontList::const_iterator fend = fontlist.end();
        for (; fcit != fend; ++fcit) {
                if (fcit->font().noun() == LyXFont::ON) {
-                       lyxerr[Debug::LATEX] << "font.noun: "
+                       LYXERR(Debug::LATEX) << "font.noun: "
                                             << fcit->font().noun()
                                             << endl;
                        features.require("noun");
-                       lyxerr[Debug::LATEX] << "Noun enabled. Font: "
+                       LYXERR(Debug::LATEX) << "Noun enabled. Font: "
                                             << to_utf8(fcit->font().stateText(0))
                                             << endl;
                }
@@ -805,7 +805,7 @@ void Paragraph::Pimpl::validate(LaTeXFeatures & features,
                        break;
                default:
                        features.require("color");
-                       lyxerr[Debug::LATEX] << "Color enabled. Font: "
+                       LYXERR(Debug::LATEX) << "Color enabled. Font: "
                                             << to_utf8(fcit->font().stateText(0))
                                             << endl;
                }
@@ -816,7 +816,7 @@ void Paragraph::Pimpl::validate(LaTeXFeatures & features,
                    language != latex_language)
                {
                        features.useLanguage(language);
-                       lyxerr[Debug::LATEX] << "Found language "
+                       LYXERR(Debug::LATEX) << "Found language "
                                             << language->babel() << endl;
                }
        }