]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormMathsMatrix.C
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / FormMathsMatrix.C
index 694822381ff5cb8b669f33b6a6774c41216aa858..9a12b1684acf67535fd45c76a4a170fe2c0d6d74 100644 (file)
 
 #include <config.h>
 
-
 #include "FormMathsMatrix.h"
 #include "forms/form_maths_matrix.h"
 #include "ControlMath.h"
+
 #include "xformsBC.h"
-#include "ButtonController.h"
 
-#include "support/LAssert.h"
-#include "support/lyxalgo.h" // lyx::count
+#include "controllers/ButtonController.h"
 
-#include "Lsstream.h"
+#include "support/lyxalgo.h" // lyx::count
 
 #include "lyx_forms.h"
 
-#include <algorithm>
+#include "support/std_sstream.h"
+
 
-using namespace lyx::support;
+using std::ostringstream;
 
 #ifndef CXX_GLOBAL_CSTD
 using std::strlen;
@@ -46,10 +45,10 @@ extern "C" {
        int C_FormMathsMatrixAlignFilter(FL_OBJECT * ob, char const *,
                                         char const * cur, int c)
        {
-               Assert(ob);
+               BOOST_ASSERT(ob);
                FormMathsMatrix * pre =
                        static_cast<FormMathsMatrix *>(ob->u_vdata);
-               Assert(pre);
+               BOOST_ASSERT(pre);
                return pre->AlignFilter(cur, c);
        }
 
@@ -96,7 +95,7 @@ void FormMathsMatrix::apply()
 
        ostringstream os;
        os << nx << ' ' << ny << ' ' << c << ' ' << sh;
-       controller().dispatchMatrix(STRCONV(os.str()));
+       controller().dispatchMatrix(os.str());
 }