]> git.lyx.org Git - lyx.git/blobdiff - src/lyxcursor.C
fix bug with relative paths in insetgraphics
[lyx.git] / src / lyxcursor.C
index 76e43f76bad945de84b5c6b8206afbddcc638f63..4e02327fbc0b982a41bfb466522085f4ff7d39cd 100644 (file)
@@ -19,7 +19,7 @@
 
 LyXCursor::LyXCursor()
        : par_(0), pos_(0), boundary_(false),
-         x_(0), x_fix_(0), y_(0), row_(0)
+         x_(0), x_fix_(0), y_(0), iy_(0), row_(0)
 {}
 
 
@@ -94,6 +94,18 @@ int LyXCursor::y() const
 }
 
 
+void LyXCursor::iy(int i)
+{
+       iy_ = i;
+}
+
+
+int LyXCursor::iy() const
+{
+       return iy_;
+}
+
+
 void LyXCursor::row(Row * r)
 {
        row_ = r;