diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-08-13 19:21:34 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-08-13 19:21:34 +0300 |
commit | 885506bafbab12db992ac79d921101b412257cae (patch) | |
tree | 704249e191b0557433e6ec611c989077d44bb764 /editeng | |
parent | b409ca53a59b5fb9978a81f6e395775b3577e179 (diff) |
WaE: C4245: 'argument' : conversion from 'int' to 'size_t'
Change-Id: I43d15b84f78d9904b09e8df9e36013878e7a4147
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx index 339b102e9299..63ccd0e36aec 100644 --- a/editeng/source/editeng/impedit2.cxx +++ b/editeng/source/editeng/impedit2.cxx @@ -2225,7 +2225,7 @@ EditPaM ImpEditEngine::ImpConnectParagraphs( ContentNode* pLeft, ContentNode* pR { sal_Int32 nEnd = pLeft->Len(); sal_Int32 nInv = nEnd ? nEnd-1 : nEnd; - pLeft->GetWrongList()->ClearWrongs( nInv, -1, pLeft ); // Possibly remove one + pLeft->GetWrongList()->ClearWrongs( nInv, static_cast<size_t>(-1), pLeft ); // Possibly remove one pLeft->GetWrongList()->SetInvalidRange(nInv, nEnd+1); // Take over misspelled words WrongList* pRWrongs = pRight->GetWrongList(); |