]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBibtex.cpp
step 1
[lyx.git] / src / insets / InsetBibtex.cpp
index bd956330d802d213aea1835bf0fdd4858e1577e9..62f9e0e4d53cefdd0af463e3b413c051f67655c2 100644 (file)
@@ -936,9 +936,8 @@ docstring InsetBibtex::xhtml(XHTMLStream & xs, OutputParams const &) const
 {
        BiblioInfo const & bibinfo = buffer().masterBibInfo();
        vector<docstring> const & cites = bibinfo.citedEntries();
-       CiteEngine const engine = buffer().params().citeEngine();
-       bool const numbers =
-               (engine == ENGINE_BASIC || engine == ENGINE_NATBIB_NUMERICAL);
+       CiteEngineType const engine_type = buffer().params().citeEngineType();
+       bool const numbers = (engine_type == ENGINE_TYPE_NUMERICAL);
 
        docstring reflabel = from_ascii("References");
        Language const * l = buffer().params().language;