]> git.lyx.org Git - features.git/blobdiff - src/insets/insettabular.h
more type changes, some consts added
[features.git] / src / insets / insettabular.h
index 6b2513efc55a7e377da8e90ef8f47f1966394f51..9d54ffcdd123cca4d164c7580a3e954b05998438 100644 (file)
@@ -111,7 +111,7 @@ public:
     ///
     bool UpdateInsetInInset(BufferView *, Inset *);
     ///
-    int InsetInInsetY();
+    unsigned int InsetInInsetY();
     ///
     UpdatableInset * GetLockingInset();
     ///
@@ -145,8 +145,7 @@ public:
     ///
     Inset::Code LyxCode() const { return Inset::TABULAR_CODE; }
     ///
-    void GetCursorPos(BufferView *, unsigned long & x,
-                     unsigned long & y) const;
+    void GetCursorPos(BufferView *, int & x, int & y) const;
     ///
     void ToggleInsetCursor(BufferView *);
     ///
@@ -244,9 +243,9 @@ private:
     ///
     mutable int inset_pos;
     ///
-    mutable int inset_x;
+    mutable unsigned int inset_x;
     ///
-    mutable unsigned long inset_y;
+    mutable unsigned int inset_y;
     ///
     mutable int sel_pos_start;
     ///