]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTabular.cpp
More requires --> required, for C++2a.
[lyx.git] / src / insets / InsetTabular.cpp
index ea76177ed27ddf40af444f4b1c6b438a3361bd12..7b4db191732032526bf4d72872f749744a16025b 100644 (file)
@@ -462,7 +462,7 @@ bool getTokenValue(string const & str, char const * token, Change & change, Buff
                if (changedata.size() != 3) {
                        Alert::warning(_("Change tracking data incomplete"),
                                       _("Change tracking information for tabular row/column "
-                                        "is incomplete. I will ignore this.\n"));
+                                        "is incomplete. I will ignore this."));
                        return false;
                }
                BufferParams::AuthorMap const & am = bp.author_map_;
@@ -3024,8 +3024,6 @@ void Tabular::TeXRow(otexstream & os, row_type row,
                     OutputParams const & runparams,
                     list<col_type> columns, list<col_type> logical_columns) const
 {
-       idx_type cell = cellIndex(row, 0);
-
        //output the top line
        TeXTopHLine(os, row, columns, logical_columns);
 
@@ -3061,7 +3059,7 @@ void Tabular::TeXRow(otexstream & os, row_type row,
                if (isPartOfMultiColumn(row, c))
                        continue;
 
-               cell = cellIndex(row, c);
+               idx_type cell = cellIndex(row, c);
 
                if (isPartOfMultiRow(row, c)
                    && column_info[c].alignment != LYX_ALIGN_DECIMAL) {