}
-int InsetFoot::latex(Buffer const * buf, ostream & os,
+int InsetFoot::latex(Buffer const & buf, ostream & os,
LatexRunParams const & runparams_in) const
{
LatexRunParams runparams = runparams_in;
- if (buf) {
- runparams.moving_arg |= ownerPar(*buf, this).layout()->intitle;
- }
+ runparams.moving_arg |= ownerPar(buf, this).layout()->intitle;
os << "%\n\\footnote{";
}
-int InsetFoot::docbook(Buffer const * buf, ostream & os, bool mixcont) const
+int InsetFoot::docbook(Buffer const & buf, ostream & os, bool mixcont) const
{
os << "<footnote>";
int const i = inset.docbook(buf, os, mixcont);