From: Georg Baum Date: Sun, 8 May 2011 10:56:53 +0000 (+0000) Subject: remove dead code X-Git-Tag: 2.1.0beta1~3316 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=8356e9e2c071dcaf376fde7662dc403692fed68e;p=features.git remove dead code git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38638 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/InsetMathGrid.cpp b/src/mathed/InsetMathGrid.cpp index c9f9ed2537..6d3d97cc0d 100644 --- a/src/mathed/InsetMathGrid.cpp +++ b/src/mathed/InsetMathGrid.cpp @@ -688,17 +688,6 @@ void InsetMathGrid::addRow(row_type row) } -void InsetMathGrid::appendRow() -{ - rowinfo_.push_back(RowInfo()); - //cells_.insert(cells_.end(), ncols(), MathData()); - for (col_type col = 0; col < ncols(); ++col) { - cells_.push_back(cells_type::value_type()); - cellinfo_.push_back(CellInfo()); - } -} - - void InsetMathGrid::delRow(row_type row) { if (nrows() == 1) diff --git a/src/mathed/InsetMathGrid.h b/src/mathed/InsetMathGrid.h index ba5ebeacd4..96e525319b 100644 --- a/src/mathed/InsetMathGrid.h +++ b/src/mathed/InsetMathGrid.h @@ -185,8 +185,6 @@ public: /// swap two columns virtual void swapCol(col_type c); /// - virtual void appendRow(); - /// idx_type index(row_type r, col_type c) const; /// bool idxBetween(idx_type idx, idx_type from, idx_type to) const;