summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-05-18 09:06:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-05-18 09:08:02 +0200
commitabb26f51eea0399754cc8f5b7d7a7d648d68f630 (patch)
treeb28d032bd947b29f6fbcc8ddd1790360c1adf2f2
parentbc229ca1abf8b179631ae563ef77f565a1a9d496 (diff)
One more -Werror=sign-compare
Change-Id: I302da3fdb78bcc298aebb6f7c831bdea75f7b053
-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 e7f88827249b..3775d850c9f0 100644
--- a/sc/source/ui/view/viewdata.cxx
+++ b/sc/source/ui/view/viewdata.cxx
@@ -486,7 +486,7 @@ void ScViewData::InsertTabs( SCTAB nTab, SCTAB nNewSheets )
void ScViewData::DeleteTab( SCTAB nTab )
{
- if ( nTab < maTabData.size() )
+ if ( nTab < static_cast<SCTAB>(maTabData.size()) )
{
delete maTabData.at(nTab);