diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-03-02 16:22:53 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-03-02 18:40:41 -0600 |
commit | 17b56dc326e98a97f45f86d0010f06bd37e32091 (patch) | |
tree | fad9f7351eb51fc9a8f4037f24cc2e7ff7d66760 /editeng | |
parent | 20b8944cd4771f75564277a5144e96b7d9c3d616 (diff) |
WaE sign/unsigned comp
Change-Id: I12cb5aa89caa3670101f4632701e33851885c1db
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx index 68474fc3b82c..c0d432eda31f 100644 --- a/editeng/source/editeng/impedit2.cxx +++ b/editeng/source/editeng/impedit2.cxx @@ -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; |