From: Richard Heck Date: Thu, 28 Feb 2008 19:21:20 +0000 (+0000) Subject: Type safety sure will be nice. X-Git-Tag: 1.6.10~5997 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=265434519e5f1f588cd28c94ed023df2a48214b1;p=features.git Type safety sure will be nice. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23332 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetBibtex.cpp b/src/insets/InsetBibtex.cpp index a54b0b4a3a..3b1212c639 100644 --- a/src/insets/InsetBibtex.cpp +++ b/src/insets/InsetBibtex.cpp @@ -310,7 +310,7 @@ int InsetBibtex::latex(odocstream & os, OutputParams const & runparams) const // part of its name, because it's than book. // For the "official" lyx-layouts it's no problem to support // all well - if (!contains(buffer().params().documentClass().name(), "art")) { + if (!contains(buffer().params().baseClass()->name(), "art")) { if (buffer().params().sides == OneSide) { // oneside os << "\\clearpage";