]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inset.C
clear()->erase() ; lots of using directives for cxx
[lyx.git] / src / insets / inset.C
index 2bf343027453b510098879d6886e3b6c7a6bdf21..c07a0f384cb3fc9ebdb6d92aa8c88893e660df59 100644 (file)
@@ -142,11 +142,12 @@ void UpdatableInset::Edit(BufferView * bv, int, int, unsigned int)
 
 
 void UpdatableInset::draw(Painter &, LyXFont const &,
-                         int baseline, float & x) const
+                         int /* baseline */, float & x) const
 {
     if (scx) x += float(scx);
-    top_x = int(x);
-    top_baseline = baseline;
+// ATTENTION: this is not good doing here
+//    top_x = int(x);
+//    top_baseline = baseline;
 }