]> git.lyx.org Git - features.git/blobdiff - src/mathed/array.C
mathed29.diff
[features.git] / src / mathed / array.C
index b5217e355c348c393fe231b23efecb846e3cea1f..c520fa99ad7f422fa2fef3ebfd2c0ba299485d63 100644 (file)
@@ -24,6 +24,7 @@ MathedArray::MathedArray()
        : bf_(1, '\0'), last_(0)
 {}
 
+
 MathedArray::~MathedArray()
 {
        // deep destruction
@@ -55,8 +56,7 @@ MathedArray::MathedArray(MathedArray const & array)
 
        // deep copy
        // we'll not yet get exeption safety
-       MathedIter it;
-       it.SetData(this);
+       MathedIter it(this);
        while (it.OK()) {
                if (it.IsInset()) {
                        MathedInset * inset = it.GetInset();