X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FText2.cpp;h=66dd083d4ad6896f86152e535237609b204adb79;hb=5c055034c2076160bcb6ea7ae6d42de694cc2ca7;hp=cc5340317a0956e688fa87537b6fdb2ec6941003;hpb=e2f3dd5f6a2b736ed457c1b13361b2892aa54338;p=lyx.git diff --git a/src/Text2.cpp b/src/Text2.cpp index cc5340317a..66dd083d4a 100644 --- a/src/Text2.cpp +++ b/src/Text2.cpp @@ -934,7 +934,7 @@ bool Text::deleteEmptyParagraphMechanism(Cursor & cur, void Text::deleteEmptyParagraphMechanism(pit_type first, pit_type last, bool trackChanges) { - pos_type last_pos = static_cast(pars_[last].size() - 1); + pos_type last_pos = pars_[last].size() - 1; deleteEmptyParagraphMechanism(first, last, 0, last_pos, trackChanges); }