]> git.lyx.org Git - features.git/commitdiff
remove dead code
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sun, 8 May 2011 10:56:53 +0000 (10:56 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sun, 8 May 2011 10:56:53 +0000 (10:56 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38638 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathGrid.cpp
src/mathed/InsetMathGrid.h

index c9f9ed2537f8c0377ceebfa5e8ba54aab7ece50d..6d3d97cc0dcb3b6d12be0106df1555e2a02559f1 100644 (file)
@@ -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)
index ba5ebeacd418cad05b0343b0b686b0b510b67ea1..96e525319bec807ad182f50c0d9d5f643c63214a 100644 (file)
@@ -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;