]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcaption.C
Rename LatexRunParams::fragile as moving_arg.
[lyx.git] / src / insets / insetcaption.C
index 36ba68968634b188ae68220af36be9662bba1cd0..da5afffce716705b8a31ece1ea912644194283db 100644 (file)
@@ -106,7 +106,7 @@ void InsetCaption::draw(BufferView * bv, LyXFont const & f,
 
 
 int InsetCaption::latex(Buffer const * buf, ostream & os,
-                       bool fragile, bool free_spc) const
+                       LatexRunParams const & runparams) const
 {
        // This is a bit too simplistic to take advantage of
        // caption options we must add more later. (Lgb)
@@ -114,7 +114,7 @@ int InsetCaption::latex(Buffer const * buf, ostream & os,
        // \caption{...}, later we will make it take advantage
        // of the one of the caption packages. (Lgb)
        ostringstream ost;
-       int const l = InsetText::latex(buf, ost, fragile, free_spc);
+       int const l = InsetText::latex(buf, ost, runparams);
        os << "\\caption{" << ost.str() << "}\n";
        return l + 1;
 }