Kaydet (Commit) 885506ba authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: C4245: 'argument' : conversion from 'int' to 'size_t'

Change-Id: I43d15b84f78d9904b09e8df9e36013878e7a4147
üst b409ca53
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment