summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbaeventshelper.cxx
diff options
context:
space:
mode:
authorDaniel Rentz [dr] <daniel.rentz@oracle.com>2011-03-25 10:40:25 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-12-04 07:17:06 +0000
commit191bf98991e1934bfef115a1cec463ac250b0191 (patch)
tree75e1947351d726a2c999ffbb614c9ec143f4f7b7 /sc/source/ui/vba/vbaeventshelper.cxx
parent1b39a9b8dc6023b50f266a4ab07ed43ebee16ea2 (diff)
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
Diffstat (limited to 'sc/source/ui/vba/vbaeventshelper.cxx')
-rw-r--r--sc/source/ui/vba/vbaeventshelper.cxx2
1 files changed, 1 insertions, 1 deletions
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) )