From: Edwin Leuven Date: Fri, 21 Mar 2008 09:53:25 +0000 (+0000) Subject: remove unused code X-Git-Tag: 1.6.10~5524 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ed58c7dcd9a68b6a9f69db24bc2127b403f00579;p=features.git remove unused code git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23860 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index b874311ecf..2115fbb94b 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -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 { diff --git a/src/insets/InsetTabular.h b/src/insets/InsetTabular.h index a54099ea9d..9f7ed5bb23 100644 --- a/src/insets/InsetTabular.h +++ b/src/insets/InsetTabular.h @@ -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);