]> git.lyx.org Git - lyx.git/blobdiff - src/output_latex.cpp
Fix table rotate conversion to 2.0 format
[lyx.git] / src / output_latex.cpp
index a07b538c1c3b87b6b56b09adae46ad0dcc78bb91..312199d62c0f39405fb0aba242c9a9ac547ed960 100644 (file)
@@ -53,6 +53,10 @@ enum OpenEncoding {
        CJK
 };
 
+// FIXME THREAD
+// There could easily be a conflict here, with the export process
+// setting this one way, and a View>Source process (possbily for
+// another Buffer) resetting it.
 static int open_encoding_ = none;
 static int cjk_inherited_ = 0;
 Language const * prev_env_language_ = 0;
@@ -524,7 +528,7 @@ void TeXOnePar(Buffer const & buf,
               int start_pos, int end_pos)
 {
        BufferParams const & bparams = runparams_in.is_child
-               ? buf.masterBuffer()->params() : buf.params();
+               ? buf.masterParams() : buf.params();
        ParagraphList const & paragraphs = text.paragraphs();
        Paragraph const & par = paragraphs.at(pit);
        // FIXME This check should not really be needed.