X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetmarginal.C;h=e46838c06e78c61dfc7da8acfdb42cf864a29c29;hb=5603df4a5b7e511b31026c9a4f8f55b2b10fde57;hp=05d377ee4610d4afae9943e9b9beffc680ac86f1;hpb=44cd0fc9a1687cc63911c7f98d978594458e7813;p=lyx.git diff --git a/src/insets/insetmarginal.C b/src/insets/insetmarginal.C index 05d377ee46..e46838c06e 100644 --- a/src/insets/insetmarginal.C +++ b/src/insets/insetmarginal.C @@ -53,12 +53,10 @@ string const InsetMarginal::editMessage() const int InsetMarginal::latex(Buffer const & buf, ostream & os, - LatexRunParams const & runparams) const + OutputParams const & runparams) const { os << "%\n\\marginpar{"; - - int const i = inset.latex(buf, os, runparams); + int const i = InsetText::latex(buf, os, runparams); os << "%\n}"; - return i + 2; }