]> git.lyx.org Git - lyx.git/blobdiff - src/insets/updatableinset.C
Enable the external inset to handle unknown templates gracefully.
[lyx.git] / src / insets / updatableinset.C
index a01ec0f3bcc24b37f4563bfbbb575b8dc477cb77..ec6fa2ba81464e6a406acbb7fabf416cd48bd908 100644 (file)
@@ -52,13 +52,11 @@ void UpdatableInset::fitInsetCursor(BufferView *) const
 {}
 
 
-void UpdatableInset::draw(BufferView *, LyXFont const &,
-                         int /* baseline */, float & x) const
+void UpdatableInset::draw(PainterInfo &, int, int) const
 {
-       x += float(scx);
        // ATTENTION: don't do the following here!!!
-       //    top_x = int(x);
-       //    top_baseline = baseline;
+       //    top_x = x;
+       //    top_baseline = y;
 }