From 62f3f3d92aa204eaaa063b30d7ade44df501b997 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Mon, 9 Dec 2019 13:06:03 +0300 Subject: SbxArray: drop 16-bit indices Change-Id: I43b478187636b9bb53fdf7ab938436ae364bd7a7 Reviewed-on: https://gerrit.libreoffice.org/84733 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- basic/source/sbx/sbxexec.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'basic/source/sbx/sbxexec.cxx') diff --git a/basic/source/sbx/sbxexec.cxx b/basic/source/sbx/sbxexec.cxx index d5f46f06ac46..63f54b19d119 100644 --- a/basic/source/sbx/sbxexec.cxx +++ b/basic/source/sbx/sbxexec.cxx @@ -293,7 +293,7 @@ static SbxVariableRef Element { p++; auto refPar = tools::make_ref(); - sal_uInt16 nArg = 0; + sal_uInt32 nArg = 0; // We are once relaxed and accept as well // the line- or command end as delimiter // Search parameter always global! @@ -310,7 +310,7 @@ static SbxVariableRef Element // One copies the parameter, so that // one have the current status (triggers also // the call per access) - refPar->Put( new SbxVariable( *refArg ), ++nArg ); + refPar->Put32( new SbxVariable( *refArg ), ++nArg ); } p = SkipWhitespace( p ); if( *p == ',' ) -- cgit