From 47cf32b67e0e994efb30b68fa4dd99fda3eda80e Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Tue, 14 Sep 2010 14:01:44 +0000 Subject: [PATCH] gcc compile fix. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35372 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Paragraph.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index 971501f4ae..0b2aa87175 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -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(); -- 2.39.2