[Libreoffice-commits] .: sc/source

Noel Power noelp at kemper.freedesktop.org
Fri May 18 07:10:33 PDT 2012


 sc/source/ui/view/viewdata.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2f5885765445d8a8f50037da3420dbcd19d5634f
Author: Noel Power <noel.power at novell.com>
Date:   Fri May 18 15:09:38 2012 +0100

    fix wae
    
    Change-Id: I9b774486e47484ada0c4f84ad8a4c23ed338da0d

diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index b15a961..918960d 100644
--- a/sc/source/ui/view/viewdata.cxx
+++ b/sc/source/ui/view/viewdata.cxx
@@ -503,7 +503,7 @@ void ScViewData::DeleteTabs( SCTAB nTab, SCTAB nSheets )
         mpMarkData->DeleteTab( nTab + i );
         delete maTabData.at(nTab + i);
     }
-    if ( ( nTab + nSheets ) == maTabData.size() - 1 )
+    if ( ( nTab + nSheets ) == static_cast<SCTAB>( maTabData.size() - 1 ) )
         maTabData.erase(maTabData.begin() + nTab, maTabData.begin()+ nTab+nSheets);
     UpdateCurrentTab();
 }


More information about the Libreoffice-commits mailing list