diff options
author | Noel Power <noel.power@novell.com> | 2012-05-18 15:11:08 +0100 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2012-05-18 15:11:08 +0100 |
commit | a1faa06b415f54c0e8ff8a8f1e580e8a57b9296a (patch) | |
tree | 48adf9afdaecf1d7759bfdb23a568b4e7ca792b1 /sc | |
parent | 2f5885765445d8a8f50037da3420dbcd19d5634f (diff) |
and another wae ( that I missed )
Change-Id: Ie4e41d8d7c5c598595aeef49091ebc7fc3cf300f
Diffstat (limited to 'sc')
-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 918960d47026..d2b839fba6dc 100644 --- a/sc/source/ui/view/viewdata.cxx +++ b/sc/source/ui/view/viewdata.cxx @@ -541,7 +541,7 @@ void ScViewData::MoveTab( SCTAB nSrcTab, SCTAB nDestTab ) if (nSrcTab < static_cast<SCTAB>(maTabData.size())) { pTab = maTabData[nSrcTab]; - if ( nSrcTab == maTabData.size() - 1 ) + if ( nSrcTab == static_cast<SCTAB>( maTabData.size() - 1 ) ) maTabData.erase( maTabData.begin() + nSrcTab ); } |