]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.cpp
Fix text direction of references with XeTeX/bidi
[lyx.git] / src / Paragraph.cpp
index d129cb403e237662bfc81f496fa113cec6a04454..311e9528070f7cf0dfe23ade396091b36d741dac 100644 (file)
@@ -1005,7 +1005,7 @@ void Paragraph::Private::latexInset(BufferParams const & bparams,
        bool close = false;
        odocstream::pos_type const len = os.os().tellp();
 
-       if (inset->forceLTR()
+       if (inset->forceLTR(runparams)
            && running_font.isRightToLeft()
            // ERT is an exception, it should be output with no
            // decorations at all