]> git.lyx.org Git - features.git/commitdiff
Fixed GetCursorPos parameters
authorJürgen Vigna <jug@sad.it>
Thu, 22 Jun 2000 10:43:59 +0000 (10:43 +0000)
committerJürgen Vigna <jug@sad.it>
Thu, 22 Jun 2000 10:43:59 +0000 (10:43 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@829 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/insettabular.C
src/insets/insettabular.h

index fe873449d6f2bba9e3b48c5e6fa6e2f2054b902d..12bcd2a2a7c6ec5a7016f892fa12542d5b0707ea 100644 (file)
@@ -749,7 +749,7 @@ void InsetTabular::calculate_width_of_cells(BufferView * bv,
 }
 
 
-void InsetTabular::GetCursorPos(int & x, int & y) const
+void InsetTabular::GetCursorPos(BufferView *, int & x, int & y) const
 {
     x = cursor.x() - top_x;
     y = cursor.y();
index 5247e0241206718f4f6d2edbaf8e2e98ac8e31c1..d71d8105b68241878c03eba2b39d3fcce7bad662 100644 (file)
@@ -132,7 +132,7 @@ public:
     ///
     Inset::Code LyxCode() const { return Inset::TABULAR_CODE; }
     ///
-    void GetCursorPos(int & x, int & y) const;
+    void GetCursorPos(BufferView *, int & x, int & y) const;
     ///
     void ToggleInsetCursor(BufferView *);
     ///