[Libreoffice-commits] .: sc/source
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Fri May 18 07:24:52 PDT 2012
sc/source/ui/view/viewdata.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9455c44d3f43d17b1d9150a1cd6c6f34e696c6ed
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri May 18 16:24:45 2012 +0200
Yet another -Werror=sign-compare
Change-Id: Ieb77f3b2da130edce01de61f86b1eba722fdb103
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index d2b839f..028ab83 100644
--- a/sc/source/ui/view/viewdata.cxx
+++ b/sc/source/ui/view/viewdata.cxx
@@ -489,7 +489,7 @@ void ScViewData::DeleteTab( SCTAB nTab )
if ( nTab < static_cast<SCTAB>(maTabData.size()) )
{
delete maTabData.at(nTab);
- if ( nTab == maTabData.size() - 1 )
+ if ( nTab == static_cast<SCTAB>(maTabData.size()) - 1 )
maTabData.erase(maTabData.begin() + nTab);
UpdateCurrentTab();
mpMarkData->DeleteTab( nTab );
More information about the Libreoffice-commits
mailing list