]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormMathsBitmap.C
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / FormMathsBitmap.C
index 3ecc8792b209bcf7fe3aeb46f18e2d1b78c444a6..7280b2f091bae7572f05804e0fb60ab63e1a3b53 100644 (file)
@@ -7,34 +7,28 @@
  * \author John Levon
  * \author Angus Leeming
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
 
-
 #include "FormMathsBitmap.h"
-#include "ControlMath.h"
-#include "xformsBC.h"
 
 #include "bmtable.h"
 #include "forms_gettext.h"
-#include "gettext.h"
-#include "support/LAssert.h"
-
-#include "lyx_xpm.h"
-
-#include <algorithm>
+#include "xformsBC.h"
 
-extern  "C" void C_FormDialogView_CancelCB(FL_OBJECT *, long);
-extern  "C" void C_FormDialogView_InputCB(FL_OBJECT *, long);
+#include "ControlMath.h"
 
-using namespace lyx::support;
 
-using std::vector;
 using std::max;
+using std::vector;
+using std::string;
 
 
+extern  "C" void C_FormDialogView_CancelCB(FL_OBJECT *, long);
+extern  "C" void C_FormDialogView_InputCB(FL_OBJECT *, long);
+
 FD_maths_bitmap::~FD_maths_bitmap()
 {
        if (form->visible) fl_hide_form(form);
@@ -78,7 +72,7 @@ void FormMathsBitmap::addBitmap(BitmapStore const & bm)
 
 void FormMathsBitmap::build()
 {
-       Assert(bitmaps_.size() > 0);
+       BOOST_ASSERT(bitmaps_.size() > 0);
 
        h_+= 42; // Allow room for a Close button