]> git.lyx.org Git - lyx.git/commitdiff
gcc compile fix.
authorAbdelrazak Younes <younes@lyx.org>
Tue, 14 Sep 2010 14:01:44 +0000 (14:01 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 14 Sep 2010 14:01:44 +0000 (14:01 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35372 a592a061-630c-0410-9148-cb99ea01b6c8

src/Paragraph.cpp

index 971501f4aee034fca8247615abe2497cd2c86d71..0b2aa87175c1c60881ac4621f3cf472e6b5b9a85 100644 (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();