mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 13:04:58 +00:00
compilation fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3032 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a31e65aa9f
commit
4de117b23f
@ -1,3 +1,8 @@
|
||||
2001-11-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* math_extern.C (extractNumber):
|
||||
(extractDiffExponent): add ugly .c_str()
|
||||
|
||||
2001-11-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* math_arrayinset.C (MathArrayInset):
|
||||
|
@ -194,7 +194,7 @@ bool extractNumber(MathArray const & ar, int & i)
|
||||
string s;
|
||||
MathTextCodes c;
|
||||
charSequence(ar.begin(), ar.end(), s, c);
|
||||
std::istringstream is(s);
|
||||
std::istringstream is(s.c_str());
|
||||
is >> i;
|
||||
return is;
|
||||
}
|
||||
@ -580,7 +580,7 @@ bool extractDiffExponent(MathArray::iterator it, int & i)
|
||||
string s;
|
||||
if (!extractString((*it).nucleus(), s))
|
||||
return false;
|
||||
std::istringstream is(s);
|
||||
std::istringstream is(s.c_str());
|
||||
is >> i;
|
||||
return is;
|
||||
}
|
||||
@ -638,7 +638,7 @@ void extractDiff(MathArray & ar)
|
||||
// things like d.../dx^n
|
||||
int mult = 1;
|
||||
if (extractNumber(script->up().data_, mult)) {
|
||||
lyxerr << "mult: " << mult << endl;
|
||||
lyxerr << "mult: " << mult << std::endl;
|
||||
for (int i = 0; i < mult; ++i)
|
||||
diff->addDer(MathArray(dt + 1, st));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user