From 265434519e5f1f588cd28c94ed023df2a48214b1 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 28 Feb 2008 19:21:20 +0000 Subject: [PATCH] Type safety sure will be nice. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23332 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetBibtex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.39.5