]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetoptarg.C
Rename LatexRunParams::fragile as moving_arg.
[lyx.git] / src / insets / insetoptarg.C
index a95783ac331513a53dcc8494865980f2495339bb..c25923bad17cc078f7a2c238665e318012ef688c 100644 (file)
@@ -66,17 +66,18 @@ void InsetOptArg::write(Buffer const * buf, ostream & os) const
 }
 
 
-int InsetOptArg::latex(Buffer const *, ostream &, bool, bool) const
+int InsetOptArg::latex(Buffer const *, ostream &,
+                      LatexRunParams const &) const
 {
        return 0;
 }
 
 
 int InsetOptArg::latexOptional(Buffer const * buf, ostream & os,
-                               bool, bool fp) const
+                              LatexRunParams const & runparams) const
 {
        os << '[';
-       int const i = inset.latex(buf, os, false, fp);
+       int const i = inset.latex(buf, os, runparams);
        os << ']';
        return i + 2;
 }