]> git.lyx.org Git - features.git/commitdiff
get rid of two compiler warnings.
authorJürgen Spitzmüller <spitz@lyx.org>
Thu, 18 Sep 2008 16:29:27 +0000 (16:29 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Thu, 18 Sep 2008 16:29:27 +0000 (16:29 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26444 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetTabular.cpp

index ca41cd91efde10c856db137085dd6af01d009b71..456bc5faee032e7dc84887c48cdbf3b1c459f306 100644 (file)
@@ -1818,7 +1818,7 @@ int Tabular::TeXTopHLine(odocstream & os, row_type row) const
        // get for each column the topline (if any)
        col_type const ncols = column_info.size();
        vector<bool> topline;
-       int nset = 0;
+       col_type nset = 0;
        for (col_type c = 0; c < ncols; ++c) {
                topline.push_back(topLine(cellIndex(row, c)));
                if (topline[c])
@@ -1869,7 +1869,7 @@ int Tabular::TeXBottomHLine(odocstream & os, row_type row) const
        }
 
        // combine this row's bottom lines and next row's toplines if necessary
-       int nset = 0;
+       col_type nset = 0;
        for (col_type c = 0; c < ncols; ++c) {
                if (!nextrowset)
                        bottomline[c] = bottomline[c] || topline[c];