[Libreoffice-commits] core.git: basic/source
Stephan Bergmann
sbergman at redhat.com
Tue Apr 18 15:25:09 UTC 2017
basic/source/inc/runtime.hxx | 2 +-
basic/source/runtime/runtime.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 2ce4fa15e42faf0c2a33e338f195d04fe068a240
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Apr 18 17:23:05 2017 +0200
Fix parameter types of SbiRuntime::StepSTATIC_Impl
...which had been like that ever since 78d40bcdf3b724954f29da348952153ed53bfa2d
"INTEGRATION: CWS npower10", for no apparent reason.
Change-Id: I4803d20fd81c37b55e10e4ea4ff1c5355b937161
diff --git a/basic/source/inc/runtime.hxx b/basic/source/inc/runtime.hxx
index db3b835cb5bd..d4e5b25c4353 100644
--- a/basic/source/inc/runtime.hxx
+++ b/basic/source/inc/runtime.hxx
@@ -338,7 +338,7 @@ class SbiRuntime
void StepCALL( sal_uInt32, sal_uInt32 ), StepCALLC( sal_uInt32, sal_uInt32 );
void StepCASEIS( sal_uInt32, sal_uInt32 ), StepSTMNT( sal_uInt32, sal_uInt32 );
SbxVariable* StepSTATIC_Impl(
- OUString& aName, SbxDataType& t, sal_uInt32 nOp2 );
+ OUString const & aName, SbxDataType t, sal_uInt32 nOp2 );
void StepOPEN( sal_uInt32, sal_uInt32 ), StepSTATIC( sal_uInt32, sal_uInt32 );
void StepTCREATE(sal_uInt32,sal_uInt32), StepDCREATE(sal_uInt32,sal_uInt32);
void StepGLOBAL_P( sal_uInt32, sal_uInt32 ),StepFIND_G( sal_uInt32, sal_uInt32 );
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index f4b7c38194cf..0e88e57ec9ec 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -4603,7 +4603,7 @@ void SbiRuntime::StepFIND_G( sal_uInt32 nOp1, sal_uInt32 nOp2 )
SbxVariable* SbiRuntime::StepSTATIC_Impl(
- OUString& aName, SbxDataType& t, sal_uInt32 nOp2 )
+ OUString const & aName, SbxDataType t, sal_uInt32 nOp2 )
{
SbxVariable* p = nullptr;
if ( pMeth )
More information about the Libreoffice-commits
mailing list