]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBranch.cpp
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / insets / InsetBranch.cpp
index ce357c679ac9fb94456059b54ae4e9ec5e4c914e..900cd8b54ff54a506e60fcebda6aff5d98281424 100644 (file)
@@ -24,6 +24,7 @@
 #include "FuncStatus.h"
 #include "Lexer.h"
 #include "OutputParams.h"
+#include "output_xhtml.h"
 #include "TextClass.h"
 #include "TocBackend.h"
 
@@ -103,10 +104,10 @@ docstring const InsetBranch::buttonLabel(BufferView const & bv) const
 }
 
 
-ColorCode InsetBranch::backgroundColor() const
+ColorCode InsetBranch::backgroundColor(PainterInfo const & pi) const
 {
        if (params_.branch.empty())
-               return Inset::backgroundColor();
+               return Inset::backgroundColor(pi);
        // FIXME UNICODE
        ColorCode c = lcolor.getFromLyXName(to_utf8(params_.branch));
        if (c == Color_none)
@@ -240,10 +241,10 @@ int InsetBranch::docbook(odocstream & os,
 }
 
 
-docstring InsetBranch::xhtml(odocstream & os, OutputParams const & rp) const
+docstring InsetBranch::xhtml(XHTMLStream & xs, OutputParams const & rp) const
 {
        if (isBranchSelected())
-                return InsetText::xhtml(os, rp);
+                return InsetText::xhtml(xs, rp);
        return docstring();
 }