WaE sign/unsigned comp

Change-Id: I12cb5aa89caa3670101f4632701e33851885c1db
This commit is contained in:
Norbert Thiebaud 2014-03-02 16:22:53 -06:00
parent 20b8944cd4
commit 17b56dc326

View File

@ -2814,14 +2814,14 @@ EditPaM ImpEditEngine::ImpInsertParaBreak( EditPaM& rPaM, bool bKeepEndingAttrib
{
// Correct only if really a word gets overlapped in the process of
// Spell checking
if (i->mnStart > nEnd)
if (i->mnStart > (size_t)nEnd)
{
pRWrongs->push_back(*i);
editeng::MisspellRange& rRWrong = pRWrongs->back();
rRWrong.mnStart = rRWrong.mnStart - nEnd;
rRWrong.mnEnd = rRWrong.mnEnd - nEnd;
}
else if (i->mnStart < nEnd && i->mnEnd > nEnd)
else if (i->mnStart < (size_t)nEnd && i->mnEnd > (size_t)nEnd)
i->mnEnd = nEnd;
}
sal_Int32 nInv = nEnd ? nEnd-1 : nEnd;