]> git.lyx.org Git - lyx.git/blobdiff - src/text2.C
* src/tabular.[Ch]: simplify plaintext methods, because there
[lyx.git] / src / text2.C
index 4b905d6f6f71f5813dfcb2ff82cb2bf88e96e5bc..d27f5e1dbdb4fcdfe5b8580174c4e20014816fdd 100644 (file)
@@ -1246,7 +1246,7 @@ bool LyXText::deleteEmptyParagraphMechanism(LCursor & cur,
 
 void LyXText::deleteEmptyParagraphMechanism(pit_type first, pit_type last, bool trackChanges)
 {
-       BOOST_ASSERT(first >= 0 && first <= last && last < pars_.size());
+       BOOST_ASSERT(first >= 0 && first <= last && last < (int) pars_.size());
 
        for (pit_type pit = first; pit <= last; ++pit) {
                Paragraph & par = pars_[pit];