]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBibtex.cpp
* src/insets/InsetInclude.cpp: formatting (in response to r18445)
[lyx.git] / src / insets / InsetBibtex.cpp
index 350320b7665007fa79409744135e5b56c655df01..3d4ef56679a2e9e18e807c6959c967fd46fbc519 100644 (file)
 #include "MetricsInfo.h"
 #include "OutputParams.h"
 
-#include "frontends/Alert.h"
+#include "frontends/alert.h"
 
 #include "support/filetools.h"
 #include "support/lstrings.h"
 #include "support/lyxlib.h"
 #include "support/os.h"
-#include "support/path.h"
+#include "support/Path.h"
 #include "support/textutils.h"
 
 #include <boost/tokenizer.hpp>
@@ -76,13 +76,13 @@ InsetBibtex::InsetBibtex(InsetCommandParams const & p)
 {}
 
 
-std::auto_ptr<InsetBase> InsetBibtex::doClone() const
+std::auto_ptr<Inset> InsetBibtex::doClone() const
 {
-       return std::auto_ptr<InsetBase>(new InsetBibtex(*this));
+       return std::auto_ptr<Inset>(new InsetBibtex(*this));
 }
 
 
-void InsetBibtex::doDispatch(LCursor & cur, FuncRequest & cmd)
+void InsetBibtex::doDispatch(Cursor & cur, FuncRequest & cmd)
 {
        switch (cmd.action) {
 
@@ -278,9 +278,9 @@ int InsetBibtex::latex(Buffer const & buffer, odocstream & os,
                // 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().getLyXTextClass().name(),
+               if (!contains(buffer.params().getTextClass().name(),
                              "art")) {
-                       if (buffer.params().sides == LyXTextClass::OneSide) {
+                       if (buffer.params().sides == TextClass::OneSide) {
                                // oneside
                                os << "\\clearpage";
                        } else {