summaryrefslogtreecommitdiffstats
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-05-18 16:24:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-05-18 16:24:45 +0200
commit9455c44d3f43d17b1d9150a1cd6c6f34e696c6ed (patch)
treebf02f84d0571b55cd6a4dd899d32172b58b169b8 /sc
parentand another wae ( that I missed ) (diff)
downloadcore-9455c44d3f43d17b1d9150a1cd6c6f34e696c6ed.tar.gz
core-9455c44d3f43d17b1d9150a1cd6c6f34e696c6ed.zip
Yet another -Werror=sign-compare
Change-Id: Ieb77f3b2da130edce01de61f86b1eba722fdb103
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/viewdata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index d2b839fba6dc..028ab832fa73 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 );