]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_fracinset.C
fix the matrix reading other small cleanup
[features.git] / src / mathed / math_fracinset.C
index 6ee7debf1f1d41c685932ad5484441a699f3a888..fe26cd8fd44de65ffe125487efc2e3edcb031221 100644 (file)
@@ -87,6 +87,15 @@ MathedArray & MathFracInset::GetData()
 }
 
 
+MathedArray const & MathFracInset::GetData() const
+{
+       if (idx_ == 0)
+               return array;
+       else
+               return den_.GetData();
+}
+
+
 bool MathFracInset::Inside(int x, int y) 
 {
        int const xx = xo() - (width - w0_) / 2;