]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetoptarg.C
Rename LatexRunParams::fragile as moving_arg.
[lyx.git] / src / insets / insetoptarg.C
index bc202a9ed83da7e6b1a36e20328a8e9115f4bd62..c25923bad17cc078f7a2c238665e318012ef688c 100644 (file)
@@ -1,16 +1,15 @@
 /**
  * \file insetoptarg.C
- * Copyright 2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Martin Vermeer  <martin.vermeer@hut.fi>
+ * \author Martin Vermeer
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
 
 #include "debug.h"
 
@@ -66,18 +65,19 @@ void InsetOptArg::write(Buffer const * buf, ostream & os) const
        InsetCollapsable::write(buf, os);
 }
 
-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;
 }