]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathMacro.cpp
tex2lyx: support for \item with opt arg in itemize environment
[lyx.git] / src / mathed / MathMacro.cpp
index f39112c11cba21abd885010e3c4257bf199f5d38..a6d92d9f8894c4187b9399c548960fcf5c9e40e3 100644 (file)
@@ -332,7 +332,7 @@ void MathMacro::updateRepresentation(Cursor * cur, MacroContext const & mc,
        if (isUpdating_)
                return;
 
-       UpdateLocker(*this);
+       UpdateLocker locker(*this);
 
        // known macro?
        if (macro_ == 0)