]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_sizeinset.C
Fix math cursor positioning bug
[lyx.git] / src / mathed / math_sizeinset.C
index 7bed06ea227d51762f7bd61101dd589dabd5a4db..099e421694406a9cd9f88930cd9581e0db0b6363 100644 (file)
 #include "math_parser.h"
 #include "math_streamstr.h"
 
+#include "support/convert.h"
 #include "support/std_ostream.h"
-#include "support/lyxlib.h"
-
-using lyx::support::atoi;
 
 using std::auto_ptr;
 
 
 MathSizeInset::MathSizeInset(latexkeys const * l)
-       : MathNestInset(1), key_(l), style_(Styles(atoi(l->extra)))
+       : MathNestInset(1), key_(l), style_(Styles(convert<int>(l->extra)))
 {}