]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_xyarrowinset.C
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_xyarrowinset.C
index 3f812214da977b5b07399dfa60a4894639634738..50e80a2bff5ebc7a306311f7229ea88782342516 100644 (file)
@@ -18,7 +18,7 @@ MathXYArrowInset::MathXYArrowInset()
 {}
 
 
-MathInset * MathXYArrowInset::clone() const
+InsetBase * MathXYArrowInset::clone() const
 {
        return new MathXYArrowInset(*this);
 }
@@ -45,11 +45,11 @@ MathArray const & MathXYArrowInset::targetCell() const
                        case 'd': ++y; break;
                }
        }
-       //lyxerr << "target: x: " << x << " y: " << y << "\n";
+       //lyxerr << "target: x: " << x << " y: " << y << endl;
        MathInset::idx_type n = mi_.idx + p->ncols() * y + x;
        if (n >= p->nargs()) {
-               lyxerr << "source: n: " << mi_.idx << "\n";
-               lyxerr << "target: n: " << n << " out of range\n";
+               lyxerr << "source: n: " << mi_.idx << "\n"
+                      << "target: n: " << n << " out of range" << endl;
                n = 0;
        }
   return p->cell(n);