diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-05-18 16:24:45 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-05-18 16:24:45 +0200 |
commit | 9455c44d3f43d17b1d9150a1cd6c6f34e696c6ed (patch) | |
tree | bf02f84d0571b55cd6a4dd899d32172b58b169b8 | |
parent | and another wae ( that I missed ) (diff) | |
download | core-9455c44d3f43d17b1d9150a1cd6c6f34e696c6ed.tar.gz core-9455c44d3f43d17b1d9150a1cd6c6f34e696c6ed.zip |
Yet another -Werror=sign-compare
Change-Id: Ieb77f3b2da130edce01de61f86b1eba722fdb103
-rw-r--r-- | sc/source/ui/view/viewdata.cxx | 2 |
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 ); |