PreviewLoader: use bufferFormat() here, even if this also relies on useXetex.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36446 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2010-11-23 13:18:28 +00:00
parent fc9c1494ce
commit 79514a3fcd

View File

@ -600,7 +600,7 @@ void PreviewLoader::Impl::startLoading(bool wait)
<< int(font_scaling_factor) << ' '
<< theApp()->hexName(fg) << ' '
<< theApp()->hexName(bg);
if (buffer_.params().useXetex)
if (buffer_.bufferFormat() == "xetex")
cs << " xelatex";
string const command = libScriptSearch(cs.str());