]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inseterror.C
The markDirty() and fitCursor() changes
[lyx.git] / src / insets / inseterror.C
index 858fcf6f15d802d36aed6012808f56f10affae19..38135356cd1a57c4bf2463967c00f912efdb0567 100644 (file)
@@ -35,7 +35,7 @@ InsetError::InsetError(string const & str, bool)
 
 InsetError::~InsetError()
 {
-       Dialogs::hide()("error", this);
+       Dialogs::hide("error", this);
 }
 
 
@@ -81,7 +81,7 @@ int InsetError::width(BufferView *, LyXFont const & font) const
 
 
 void InsetError::draw(BufferView * bv, LyXFont const & font,
-                     int baseline, float & x, bool) const
+                     int baseline, float & x) const
 {
        lyx::Assert(bv);
        cache(bv);