]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCitation.cpp
#7379 avoid the wrap spell check question when buffer is empty
[lyx.git] / src / insets / InsetCitation.cpp
index 3735eaf6f1cd973a3bb24d3d396b1a5b318089fb..7780f24a8d09c721b3cede8b6ac4fd1787ad68b9 100644 (file)
@@ -556,7 +556,7 @@ void InsetCitation::forToc(docstring & os, size_t) const
 // the \cite command is valid. Eg, the user has natbib enabled, inputs some
 // citations and then changes his mind, turning natbib support off. The output
 // should revert to \cite[]{}
-int InsetCitation::latex(odocstream & os, OutputParams const & runparams) const
+void InsetCitation::latex(otexstream & os, OutputParams const & runparams) const
 {
        CiteEngine cite_engine = buffer().params().citeEngine();
        BiblioInfo const & bi = buffer().masterBibInfo();
@@ -584,8 +584,6 @@ int InsetCitation::latex(odocstream & os, OutputParams const & runparams) const
 
        if (runparams.inulemcmd)
                os << "}";
-
-       return 0;
 }