]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBibitem.cpp
Fix bug #12795
[lyx.git] / src / insets / InsetBibitem.cpp
index a3cdeac1fc49118e8e27944f134a5154b673fa79..82d81852000f674aca14831f367a23334bdfd8cd 100644 (file)
@@ -28,7 +28,6 @@
 #include "Language.h"
 #include "Lexer.h"
 #include "output_xhtml.h"
-#include "OutputParams.h"
 #include "Paragraph.h"
 #include "ParagraphList.h"
 #include "ParIterator.h"
@@ -343,6 +342,12 @@ void InsetBibitem::updateBuffer(ParIterator const & it, UpdateType utype, bool c
 }
 
 
+void InsetBibitem::docbook(XMLStream &, OutputParams const &) const
+{
+       // Nothing to do: everything is implemented in makeParagraphBibliography.
+}
+
+
 docstring InsetBibitem::xhtml(XMLStream & xs, OutputParams const &) const
 {
        // FIXME XHTML
@@ -352,7 +357,7 @@ docstring InsetBibitem::xhtml(XMLStream & xs, OutputParams const &) const
        // handle jumping to ids. If we don't do that, though, we can just put the
        // id into the span tag.
        string const attrs =
-               "id='LyXCite-" + to_utf8(xml::cleanAttr(getParam("key"))) + "'";
+                       "id='LyXCite-" + to_utf8(xml::cleanAttr(getParam("key"))) + "'";
        xs << xml::CompTag("a", attrs);
        xs << xml::StartTag("span", "class='bibitemlabel'");
        xs << bibLabel();