+2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * math_parser.C (parse1): change to use lyx::support::atoi
+ * math_sizeinset.C (MathSizeInset): ditto
2004-08-12 André Pönitz <poenitz@gmx.net>
2004-08-12 André Pönitz <poenitz@gmx.net>
#include "lyxlex.h"
#include "debug.h"
#include "lyxlex.h"
#include "debug.h"
+#include "support/lyxlib.h"
-#ifndef CXX_GLOBAL_CSTD
-using std::atoi;
-#endif
+using lyx::support::atoi;
+
using std::endl;
using std::fill;
using std::endl;
using std::fill;
string arg = getArg('[', ']');
if (!arg.empty())
string arg = getArg('[', ']');
if (!arg.empty())
- nargs = atoi(arg.c_str());
#include "math_mathmlstream.h"
#include "math_parser.h"
#include "math_streamstr.h"
#include "math_mathmlstream.h"
#include "math_parser.h"
#include "math_streamstr.h"
#include "support/std_ostream.h"
#include "support/std_ostream.h"
+#include "support/lyxlib.h"
-#ifndef CXX_GLOBAL_CSTD
-using std::atoi;
-#endif
+using lyx::support::atoi;
using std::auto_ptr;
MathSizeInset::MathSizeInset(latexkeys const * l)
using std::auto_ptr;
MathSizeInset::MathSizeInset(latexkeys const * l)
- : MathNestInset(1), key_(l), style_(Styles(atoi(l->extra.c_str())))
+ : MathNestInset(1), key_(l), style_(Styles(atoi(l->extra)))