]> git.lyx.org Git - features.git/commitdiff
remove unused code
authorEdwin Leuven <e.leuven@gmail.com>
Fri, 21 Mar 2008 09:53:25 +0000 (09:53 +0000)
committerEdwin Leuven <e.leuven@gmail.com>
Fri, 21 Mar 2008 09:53:25 +0000 (09:53 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23860 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetTabular.cpp
src/insets/InsetTabular.h

index b874311ecf7a5d4fe7a2fa35891b47a6da53ecb3..2115fbb94b59692ae19b7cd21680b80ba5b25c0c 100644 (file)
@@ -1696,26 +1696,6 @@ Tabular::idx_type Tabular::getCellBelow(idx_type cell) const
 }
 
 
-Tabular::idx_type Tabular::getLastCellAbove(idx_type cell) const
-{
-       if (cellRow(cell) == 0)
-               return cell;
-       if (!isMultiColumn(cell))
-               return getCellAbove(cell);
-       return cell_info[cellRow(cell) - 1][cellRightColumn(cell)].cellno;
-}
-
-
-Tabular::idx_type Tabular::getLastCellBelow(idx_type cell) const
-{
-       if (cellRow(cell) + 1 >= rowCount())
-               return cell;
-       if (!isMultiColumn(cell))
-               return getCellBelow(cell);
-       return cell_info[cellRow(cell) + 1][cellRightColumn(cell)].cellno;
-}
-
-
 Tabular::idx_type Tabular::cellIndex(row_type row,
                                               col_type column) const
 {
index a54099ea9d34c400e69dbf9ed96b25a78427cfa2..9f7ed5bb23e9641fd519f37c099628dff499f67a 100644 (file)
@@ -405,10 +405,6 @@ public:
        ///
        idx_type getCellBelow(idx_type cell) const;
        ///
-       idx_type getLastCellAbove(idx_type cell) const;
-       ///
-       idx_type getLastCellBelow(idx_type cell) const;
-       ///
        idx_type cellIndex(row_type row, col_type column) const;
        ///
        void setUsebox(idx_type cell, BoxType);