]> git.lyx.org Git - features.git/commitdiff
Type safety sure will be nice.
authorRichard Heck <rgheck@comcast.net>
Thu, 28 Feb 2008 19:21:20 +0000 (19:21 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 28 Feb 2008 19:21:20 +0000 (19:21 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23332 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetBibtex.cpp

index a54b0b4a3a033155d0c5099b4fdf046c1595b9f1..3b1212c639ca9700874df121b8667b23ef93b9b4 100644 (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";