]> git.lyx.org Git - features.git/commitdiff
The cite engine info is needed by makeDocumentClass().
authorRichard Heck <rgheck@lyx.org>
Fri, 6 Nov 2015 20:51:13 +0000 (15:51 -0500)
committerRichard Heck <rgheck@lyx.org>
Fri, 6 Nov 2015 20:53:45 +0000 (15:53 -0500)
Fixes both #9797 and #9848.

src/BufferParams.cpp

index 537178e2fa5e446ca70ede4652d287eb99868b07..37468824a6ffd1522604122a6b173b6cb2cfc56d 100644 (file)
@@ -355,6 +355,8 @@ BufferParams::BufferParams()
        : pimpl_(new Impl)
 {
        setBaseClass(defaultBaseclass());
+       cite_engine_.push_back("basic");
+       cite_engine_type_ = ENGINE_TYPE_DEFAULT;
        makeDocumentClass();
        paragraph_separation = ParagraphIndentSeparation;
        quotes_language = InsetQuotes::EnglishQuotes;
@@ -364,8 +366,6 @@ BufferParams::BufferParams()
        papersize = PAPER_DEFAULT;
        orientation = ORIENTATION_PORTRAIT;
        use_geometry = false;
-       cite_engine_.push_back("basic");
-       cite_engine_type_ = ENGINE_TYPE_DEFAULT;
        biblio_style = "plain";
        use_bibtopic = false;
        use_indices = false;