diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-18 17:23:05 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-18 17:23:05 +0200 |
commit | 2ce4fa15e42faf0c2a33e338f195d04fe068a240 (patch) | |
tree | 8bfdc74cfe3ed53555c00ea87e1fa6ed4970401b /basic | |
parent | 43d9231f72cb95ccbe632cd8c0464b506103699d (diff) |
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
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/inc/runtime.hxx | 2 | ||||
-rw-r--r-- | basic/source/runtime/runtime.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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 ) |