]> git.lyx.org Git - lyx.git/blobdiff - src/bufferparams.C
add GuiView parent to QToc for proper memory management.
[lyx.git] / src / bufferparams.C
index 253768affe9a6a4e1f0a4f876c1e24b73937bbc5..2bdcf37fb4faaf696a988cb4fdc08029c97a5c4d 100644 (file)
@@ -1487,7 +1487,7 @@ biblio::CiteEngine BufferParams::getEngine() const
 {
        // FIXME the class should provide the numerical/
        // authoryear choice
-       if (getLyXTextClass().provides(LyXTextClass::natbib)
+       if (getLyXTextClass().provides("natbib")
            && cite_engine_ != biblio::ENGINE_NATBIB_NUMERICAL)
                return biblio::ENGINE_NATBIB_AUTHORYEAR;
        return cite_engine_;