fix MSVC warning.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17567 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-03-26 10:33:27 +00:00
parent 925c17c058
commit 7c9f34d0b5

View File

@ -1144,7 +1144,7 @@ void LyXText::changeCase(LCursor & cur, LyXText::TextCase action)
pos++; // step behind the changing area
}
int erasePos = pos - changes.size();
for (int i = 0; i < changes.size(); i++) {
for (size_t i = 0; i < changes.size(); i++) {
pars_[pit].insertChar(pos, changes[i],
pars_[pit].getFontSettings(cur.buffer().params(),
erasePos),