]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCounter.cpp
Does not compile on older gcc.
[lyx.git] / src / insets / InsetCounter.cpp
index 85efd3add2d027f61c9ab359dae88bbd5ef7f2d2..4aa109d3ae77e5a6b69f355e0e20351de204759c 100644 (file)
@@ -184,13 +184,12 @@ void InsetCounter::trackCounters(string const & cmd) const
        }
 }
 
-int InsetCounter::docbook(odocstream &, OutputParams const &) const
+void InsetCounter::docbook(XMLStream &, OutputParams const &) const
 {
        // Here, we need to track counter values ourselves,
        // since unlike in the LaTeX case, there is no external
        // mechanism for doing that.
        trackCounters(getCmdName());
-       return 0;
 }