summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authornpower Developer <npower@openoffice.org>2010-04-20 13:21:03 +0100
committernpower Developer <npower@openoffice.org>2010-04-20 13:21:03 +0100
commitb9840e950dfbba863080dd0de76c75364261ecf9 (patch)
tree348d6fd8511888c1d681264a66087db161623ce9 /basic
parent72a7c8ea482842a63311bf00e39ff077776cc6a6 (diff)
ab75: #i110417# get rid of unnecessary tmp string
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/runtime.cxx4
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;
}
}