mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Fix math-mutate (something invalid)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9094 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fa133e49b9
commit
c514656ec2
@ -1,6 +1,11 @@
|
||||
2004-10-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* math_hullinset.C (mutate): fix endless loop for unknown types
|
||||
|
||||
2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
|
||||
|
||||
* math_hullinset.C (docbook): write additional <alt role="tex" > tag for Docbook XML
|
||||
* math_hullinset.C (docbook): write additional <alt role="tex" >
|
||||
tag for Docbook XML
|
||||
|
||||
2004-09-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
|
@ -110,7 +110,7 @@ namespace {
|
||||
if (s == "gather") return 9;
|
||||
if (s == "flalign") return 10;
|
||||
lyxerr << "unknown hull type '" << s << "'" << endl;
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
|
||||
bool smaller(string const & s, string const & t)
|
||||
@ -700,6 +700,10 @@ void MathHullInset::mutate(string const & newtype)
|
||||
// done
|
||||
}
|
||||
|
||||
else if (typecode(newtype) < 0) {
|
||||
// unknown type
|
||||
}
|
||||
|
||||
else if (type_ == "none") {
|
||||
setType("simple");
|
||||
numbered(0, false);
|
||||
|
Loading…
Reference in New Issue
Block a user