]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_matrixinset.C
mathed30.diff
[features.git] / src / mathed / math_matrixinset.C
index 7fe259dfc3881bf448c6dff52423f60dac5320db..3adde0463259fbf9a8082b8484b5b2b603b47e9d 100644 (file)
@@ -35,8 +35,7 @@ MathMatrixInset::MathMatrixInset(MathMatrixInset * mt)
          nc_(mt->nc_), nr_(0), ws_(mt->nc_),
          v_align_(mt->v_align_), h_align_(mt->h_align_)
 {
-       MathedIter it(mt->GetData());
-       array = it.Copy();
+       array = *(mt->GetData());
        if (mt->row_ != 0) {
                MathedRowSt * ro = 0;
                MathedRowSt * mrow = mt->row_;
@@ -116,7 +115,7 @@ void MathMatrixInset::setData(MathedArray * a)
        
        // Automatically inserts tabs around bops
        // DISABLED because it's very easy to insert tabs 
-       array = a;
+       array = *a;
 }