]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_hullinset.C
updates to latexfeatures stuff; allow empty \document_path
[lyx.git] / src / mathed / math_hullinset.C
index 8e69d2bfb0e0f964a0a2b69bd1d3bfd7fcbb3452..0e0db0d0d01ab24022ccb0f9d007e242723fcefd 100644 (file)
@@ -37,7 +37,7 @@ namespace {
 
        // returns position of first relation operator in the array
        // used for "intelligent splitting"
-       int firstRelOp(MathArray const & ar)
+       MathArray::size_type firstRelOp(MathArray const & ar)
        {
                for (MathArray::const_iterator it = ar.begin(); it != ar.end(); ++it)
                        if ((*it)->isRelOp())
@@ -261,7 +261,7 @@ bool MathHullInset::numberedType() const
 void MathHullInset::validate(LaTeXFeatures & features) const
 {
        if (ams())
-               features.require("amsstyle");
+               features.require("amsmath");
 
 
        // Validation is necessary only if not using AMS math.