]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCitation.cpp
Fix Bug 3947: BibTeX allows parentheses in the key (even if the whole entry is delimi...
[lyx.git] / src / insets / InsetCitation.cpp
index e7f3fc86fdef28171580a54226bc0aa496cab3b2..f0812e5b8fce41817158b19d244c026bf56ed8d6 100644 (file)
 
 #include "InsetCitation.h"
 
-#include "buffer.h"
-#include "bufferparams.h"
+#include "Buffer.h"
+#include "BufferParams.h"
 #include "debug.h"
-#include "dispatchresult.h"
-#include "funcrequest.h"
+#include "DispatchResult.h"
+#include "FuncRequest.h"
 #include "LaTeXFeatures.h"
 
-#include "frontends/controllers/biblio.h"
+#include "frontends/controllers/frontend_helpers.h"
 
 #include "support/fs_extras.h"
 #include "support/lstrings.h"
@@ -360,7 +360,7 @@ docstring const InsetCitation::getScreenLabel(Buffer const & buffer) const
 
 
 int InsetCitation::plaintext(Buffer const & buffer, odocstream & os,
-                             OutputParams const &) const
+                            OutputParams const &) const
 {
        docstring str;
 
@@ -398,11 +398,11 @@ docstring const cleanupWhitespace(docstring const & citelist)
 }
 
 int InsetCitation::docbook(Buffer const &, odocstream & os,
-                           OutputParams const &) const
+                          OutputParams const &) const
 {
        os << "<citation>"
-           << cleanupWhitespace(getParam("key"))
-           << "</citation>";
+          << cleanupWhitespace(getParam("key"))
+          << "</citation>";
        return 0;
 }
 
@@ -419,7 +419,7 @@ int InsetCitation::textString(Buffer const & buf, odocstream & os,
 // citations and then changes his mind, turning natbib support off. The output
 // should revert to \cite[]{}
 int InsetCitation::latex(Buffer const & buffer, odocstream & os,
-                         OutputParams const &) const
+                        OutputParams const &) const
 {
        biblio::CiteEngine cite_engine = buffer.params().getEngine();
        // FIXME UNICODE