From 191bf98991e1934bfef115a1cec463ac250b0191 Mon Sep 17 00:00:00 2001 From: "Daniel Rentz [dr]" Date: Fri, 25 Mar 2011 10:40:25 +0100 Subject: calcvba: #164410# improve VBA compatibility implementation in various areas: Excel symbols, MSForms symbols, document and forms event handling Conflicts: sc/source/ui/docshell/docsh.cxx sc/source/ui/unoobj/docuno.cxx sc/source/ui/vba/vbaapplication.cxx sc/source/ui/vba/vbaapplication.hxx sc/source/ui/vba/vbaeventshelper.cxx sc/source/ui/vba/vbaglobals.cxx sc/source/ui/vba/vbarange.cxx sc/source/ui/vba/vbawindow.cxx sc/source/ui/vba/vbaworkbook.cxx sc/source/ui/vba/vbaworkbooks.cxx sc/source/ui/vba/vbaworksheets.cxx sc/util/makefile.mk --- sc/source/ui/vba/vbaeventshelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/ui/vba/vbaeventshelper.cxx') diff --git a/sc/source/ui/vba/vbaeventshelper.cxx b/sc/source/ui/vba/vbaeventshelper.cxx index b085bc385363..46ae7fb9010a 100644 --- a/sc/source/ui/vba/vbaeventshelper.cxx +++ b/sc/source/ui/vba/vbaeventshelper.cxx @@ -69,7 +69,7 @@ SCTAB lclGetTabFromArgs( const uno::Sequence< uno::Any >& rArgs, sal_Int32 nInde VbaEventsHelperBase::checkArgument( rArgs, nIndex ); // first try to extract a sheet index - sal_Int16 nTab = -1; + sal_Int32 nTab = -1; if( rArgs[ nIndex ] >>= nTab ) { if( (nTab < 0) || (nTab > MAXTAB) ) -- cgit