]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/formulamacro.C
Add In nsetOld * argument to updateInset to rebreak the correct par.
[lyx.git] / src / mathed / formulamacro.C
index 43a435f426cec4511b53b9d66167b18734331da2..39ab9325401bde56f23a94e7d151e9f8f2577d76 100644 (file)
@@ -1,14 +1,12 @@
-/*
- *  File:        formulamacro.C
- *  Purpose:     Implementation of the formula macro LyX inset
- *  Author:      André Pönitz, based on ideas of Alejandro Aguilar Sierra
- *  Created:     March 2001
- *  Description: Allows the edition of math macros inside Lyx.
+/**
+ * \file formulamacro.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *  Copyright: 2001  The LyX Project
+ * \author Alejandro Aguilar Sierra
+ * \author André Pönitz
  *
- *   You are free to use and modify this code under the terms of
- *   the GNU General Public Licence version 2 or later.
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
@@ -152,9 +150,9 @@ MathAtom & InsetFormulaMacro::par()
 }
 
 
-Inset::Code InsetFormulaMacro::lyxCode() const
+InsetOld::Code InsetFormulaMacro::lyxCode() const
 {
-       return Inset::MATHMACRO_CODE;
+       return InsetOld::MATHMACRO_CODE;
 }