[Libreoffice-commits] .: sc/source
Noel Power
noelp at kemper.freedesktop.org
Fri May 18 07:11:30 PDT 2012
sc/source/ui/view/viewdata.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a1faa06b415f54c0e8ff8a8f1e580e8a57b9296a
Author: Noel Power <noel.power at novell.com>
Date: Fri May 18 15:11:08 2012 +0100
and another wae ( that I missed )
Change-Id: Ie4e41d8d7c5c598595aeef49091ebc7fc3cf300f
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index 918960d..d2b839f 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 );
}
More information about the Libreoffice-commits
mailing list