]> git.lyx.org Git - lyx.git/blobdiff - src/output_latex.cpp
Move OS specific code to proper place. Also make sure that no other
[lyx.git] / src / output_latex.cpp
index 1ff05aa98b2d3071ea83d30eee04438011a4a72f..2f4e765ebacdba2f7f1f0fcbe34b5c9bf53574a6 100644 (file)
@@ -313,7 +313,7 @@ ParagraphList::const_iterator TeXOnePar(Buffer const & buf,
 
        if (runparams.verbatim) {
                int const dist = distance(paragraphs.begin(), pit);
-               Font const outerfont = outerFont(dist, paragraphs);
+               Font const outerfont = text.outerFont(dist);
 
                // No newline if only one paragraph in this lyxtext
                if (dist > 0) {
@@ -556,8 +556,7 @@ ParagraphList::const_iterator TeXOnePar(Buffer const & buf,
                break;
        }
 
-       Font const outerfont = outerFont(distance(paragraphs.begin(), pit),
-                         paragraphs);
+       Font const outerfont = text.outerFont(distance(paragraphs.begin(), pit));
 
        // FIXME UNICODE
        os << from_utf8(everypar);