]> git.lyx.org Git - features.git/commitdiff
LaTeXFeatures.cpp: compilation fix for last commit
authorUwe Stöhr <uwestoehr@lyx.org>
Sat, 27 Jul 2013 21:06:31 +0000 (23:06 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Sat, 27 Jul 2013 21:06:31 +0000 (23:06 +0200)
(thanks to the latest TortoiseGit update cherry picking and even reverting is no longer possible, argh!)

src/LaTeXFeatures.cpp

index 48809b2eebf02b9b1594d05badfba6f961c7c9ae..e642bdc65ca2dd50fe7d83303e9f676c72ed2767 100644 (file)
@@ -777,7 +777,7 @@ string const LaTeXFeatures::getPackages() const
        // because esint must be loaded AFTER amslatex and mhchem loads amlatex
        // (this info is from the author of mhchem from June 2013)
        if (mustProvide("mhchem") &&
-           params_.use_package("mhchem") != BufferParams::package_off)
+           params_.use_mhchem != BufferParams::package_off)
                packages << "\\PassOptionsToPackage{version=3}{mhchem}\n"
                            "\\usepackage{mhchem}\n";