diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 13:20:44 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 14:12:23 +0100 |
commit | 39ddeb53c04f7a8410a5146e2ce7b4acf204ad2b (patch) | |
tree | baa06f2e6f9ebabee235b7673a19e415cec5e4b1 /basic/source/runtime/runtime.cxx | |
parent | d9e2c2704466caaef52bdabf2689220ce6fa1cf7 (diff) |
basic: Use appropriate OUString functions on string constants
Change-Id: I43f99ba6759b0f8f633af784beaec583dbab0b9e
Diffstat (limited to 'basic/source/runtime/runtime.cxx')
-rw-r--r-- | basic/source/runtime/runtime.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index ec6b1f5e4b6c..85f35491cb1d 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -2653,7 +2653,7 @@ void SbiRuntime::StepENDCASE() void SbiRuntime::StepSTDERROR() { pError = NULL; bError = true; - pInst->aErrorMsg = ""; + pInst->aErrorMsg.clear(); pInst->nErr = 0L; pInst->nErl = 0; nError = 0L; @@ -2662,7 +2662,7 @@ void SbiRuntime::StepSTDERROR() void SbiRuntime::StepNOERROR() { - pInst->aErrorMsg = ""; + pInst->aErrorMsg.clear(); pInst->nErr = 0L; pInst->nErl = 0; nError = 0L; @@ -3143,7 +3143,7 @@ void SbiRuntime::StepERRHDL( sal_uInt32 nOp1 ) StepJUMP( nOp1 ); pError = pCode; pCode = p; - pInst->aErrorMsg = ""; + pInst->aErrorMsg.clear(); pInst->nErr = 0; pInst->nErl = 0; nError = 0; @@ -3173,7 +3173,7 @@ void SbiRuntime::StepRESUME( sal_uInt32 nOp1 ) if( nOp1 > 1 ) StepJUMP( nOp1 ); - pInst->aErrorMsg = ""; + pInst->aErrorMsg.clear(); pInst->nErr = 0; pInst->nErl = 0; nError = 0; @@ -4182,7 +4182,7 @@ void SbiRuntime::StepCALL( sal_uInt32 nOp1, sal_uInt32 nOp2 ) pArgs = refArgv; } DllCall( aName, aLibName, pArgs, (SbxDataType) nOp2, false ); - aLibName = ""; + aLibName.clear(); if( nOp1 & 0x8000 ) { PopArgv(); @@ -4200,7 +4200,7 @@ void SbiRuntime::StepCALLC( sal_uInt32 nOp1, sal_uInt32 nOp2 ) pArgs = refArgv; } DllCall( aName, aLibName, pArgs, (SbxDataType) nOp2, true ); - aLibName = ""; + aLibName.clear(); if( nOp1 & 0x8000 ) { PopArgv(); |