openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1409132 - /incubator/ooo/trunk/main/sd/source/ui/slidesorter/model/SlideSorterModel.cxx
Date Wed, 14 Nov 2012 10:04:10 GMT
Author: alg
Date: Wed Nov 14 10:04:09 2012
New Revision: 1409132

URL: http://svn.apache.org/viewvc?rev=1409132&view=rev
Log:
Corrected signed/unsigned mix

Modified:
    incubator/ooo/trunk/main/sd/source/ui/slidesorter/model/SlideSorterModel.cxx

Modified: incubator/ooo/trunk/main/sd/source/ui/slidesorter/model/SlideSorterModel.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sd/source/ui/slidesorter/model/SlideSorterModel.cxx?rev=1409132&r1=1409131&r2=1409132&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sd/source/ui/slidesorter/model/SlideSorterModel.cxx (original)
+++ incubator/ooo/trunk/main/sd/source/ui/slidesorter/model/SlideSorterModel.cxx Wed Nov 14
10:04:09 2012
@@ -687,7 +687,7 @@ void SlideSorterModel::DeleteSlide (cons
     else
     {
         // if not inserted, search for page
-        for(; nIndex < maPageDescriptors.size(); nIndex++)
+        for(; nIndex < static_cast<sal_Int32>(maPageDescriptors.size()); nIndex++)
         {
             if(maPageDescriptors[nIndex]->GetPage() == pPage)
             {
@@ -696,7 +696,7 @@ void SlideSorterModel::DeleteSlide (cons
         }
     }
 
-    if(nIndex >= 0 && nIndex < maPageDescriptors.size())
+    if(nIndex >= 0 && nIndex < static_cast<sal_Int32>(maPageDescriptors.size()))
     {
         if (maPageDescriptors[nIndex])
             if (maPageDescriptors[nIndex]->GetPage() != pPage)



Mime
View raw message