From 8356e9e2c071dcaf376fde7662dc403692fed68e Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Sun, 8 May 2011 10:56:53 +0000 Subject: [PATCH] remove dead code git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38638 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathGrid.cpp | 11 ----------- src/mathed/InsetMathGrid.h | 2 -- 2 files changed, 13 deletions(-) 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;