[Libreoffice-commits] core.git: editeng/source

Tor Lillqvist tml at collabora.com
Wed Aug 13 09:52:35 PDT 2014


 editeng/source/editeng/impedit2.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 885506bafbab12db992ac79d921101b412257cae
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Aug 13 19:21:34 2014 +0300

    WaE: C4245: 'argument' : conversion from 'int' to 'size_t'
    
    Change-Id: I43d15b84f78d9904b09e8df9e36013878e7a4147

diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index 339b102..63ccd0e 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();


More information about the Libreoffice-commits mailing list