]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inset.C
fix compilation pb ; update eu.po
[lyx.git] / src / insets / inset.C
index cef7715c47761c0f089b3d46f5b1fd4b2276d108..bb97e2bc10fbf8ad98e0e13e6fbf0c155946dce6 100644 (file)
@@ -21,6 +21,7 @@
 #include "Painter.h"
 #include "commandtags.h"
 #include "support/lstrings.h"
+#include "gettext.h"
 
 using std::endl;
 
@@ -180,6 +181,7 @@ void UpdatableInset::scroll(BufferView * bv, float s) const
        if ((tmp_top_x + scx + width(bv, font)) < (workW / 2)) {
                scx += (workW / 2) - (tmp_top_x + scx + width(bv, font));
        }
+
        // bv->updateInset(const_cast<UpdatableInset *>(this), false);
 }
 
@@ -203,7 +205,7 @@ void UpdatableInset::scroll(BufferView * bv, int offset) const
                        scx += offset;
                }
        }
-       // bv->updateInset(const_cast<UpdatableInset *>(this), false);
+//     bv->updateInset(const_cast<UpdatableInset *>(this), false);
 }