gcc compile fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35372 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2010-09-14 14:01:44 +00:00
parent 504b893ec8
commit 47cf32b67e

View File

@ -364,7 +364,7 @@ public:
}
int countSoftbreaks(PositionsIterator & it, PositionsIterator const et,
pos_type & start) const
int & start) const
{
int numbreaks = 0;
while (it != et && *it < start) {
@ -3519,7 +3519,7 @@ void Paragraph::Private::markMisspelledWords(
setMisspelled(first, last, SpellChecker::WORD_OK);
return;
}
pos_type snext = first;
int snext = first;
SpellChecker * speller = theSpellChecker();
// locate and enumerate the error positions
int nerrors = speller->numMisspelledWords();