diff options
author | npower Developer <npower@openoffice.org> | 2010-04-20 13:21:03 +0100 |
---|---|---|
committer | npower Developer <npower@openoffice.org> | 2010-04-20 13:21:03 +0100 |
commit | b9840e950dfbba863080dd0de76c75364261ecf9 (patch) | |
tree | 348d6fd8511888c1d681264a66087db161623ce9 /basic | |
parent | 72a7c8ea482842a63311bf00e39ff077776cc6a6 (diff) |
ab75: #i110417# get rid of unnecessary tmp string
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/runtime/runtime.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index 59129d0db9b9..761955f6e877 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -819,9 +819,7 @@ void SbiRuntime::Error( SbError n ) } // no num? most likely then it *is* really a vba err SbxErrObject::getUnoErrObject()->setNumber( ( StarBASIC::GetVBErrorCode( n ) == 0 ) ? n : StarBASIC::GetVBErrorCode( n ) ); - //SbxErrObject::getUnoErrObject()->setDescription( aMsg ); - String aTmp = aMsg; - pInst->aErrorMsg = aTmp; + pInst->aErrorMsg = aMsg; nError = SbERR_BASIC_COMPAT; } } |