]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.cpp
* temporary fix for the crash of the pixmap cache on Mac with Qt 4.4.
[lyx.git] / src / Cursor.cpp
index 7c2fa75818dd5c9133ad2cbea949270e120ac7d3..38ce314f68ae5dba3f2155d19bb41c7d6c63f837 100644 (file)
@@ -1242,10 +1242,10 @@ void Cursor::insert(Inset * inset0)
 }
 
 
-void Cursor::niceInsert(docstring const & t)
+void Cursor::niceInsert(docstring const & t, Parse::flags f)
 {
        MathData ar;
-       asArray(t, ar);
+       asArray(t, ar, f);
        if (ar.size() == 1)
                niceInsert(ar[0]);
        else
@@ -2193,8 +2193,7 @@ void Cursor::recordUndoSelection() const
 void Cursor::checkBufferStructure()
 {
        Buffer const * master = buffer().masterBuffer();
-       if (master->tocBackend().updateItem(*this))
-               master->structureChanged();
+       master->tocBackend().updateItem(*this);
 }