]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathMacroTemplate.cpp
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / MathMacroTemplate.cpp
index d946fcd26583ce69cb6dabdc99b5f05ecbb19f4d..ff296e80b56f387877044924b862d27bd3d6d9a5 100644 (file)
@@ -465,7 +465,7 @@ void MathMacroTemplate::updateToContext(MacroContext const & mc) const
 }
 
 
-void MathMacroTemplate::updateLook(bool editing) const
+void MathMacroTemplate::updateLook() const
 {
        lookOutdated_ = true;
 }
@@ -609,7 +609,7 @@ void MathMacroTemplate::draw(PainterInfo & pi, int x, int y) const
 
 void MathMacroTemplate::edit(Cursor & cur, bool front, EntryDirection entry_from)
 {
-       updateLook(true);
+       updateLook();
        cur.updateFlags(Update::SinglePar);
        InsetMathNest::edit(cur, front, entry_from);
 }