Type safety sure will be nice.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23332 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-02-28 19:21:20 +00:00
parent 36ec5a880f
commit 265434519e

View File

@ -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";