diff options
| author | August Sodora <augsod@gmail.com> | 2012-01-16 20:42:36 -0500 |
|---|---|---|
| committer | August Sodora <augsod@gmail.com> | 2012-01-16 20:47:40 -0500 |
| commit | cd10d4e8a612f72bf2fa421bc1360d5230da505d (patch) | |
| tree | e87e384a49e051355f6ed7c899d106cf28fe2c0a /basic/source/runtime/runtime.cxx | |
| parent | 3c1ddd4de187363cf1c3f14c43b4a2c66b1de6d6 (diff) | |
Remove SbErrorStack[Entry]
Diffstat (limited to 'basic/source/runtime/runtime.cxx')
| -rw-r--r-- | basic/source/runtime/runtime.cxx | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index c76776eb8d68..39c48c35ebff 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -794,11 +794,6 @@ sal_Bool SbiRuntime::Step() if( pRtErrHdl ) { - SbErrorStack*& rErrStack = GetSbData()->pErrStack; - if( rErrStack ) - delete rErrStack; - rErrStack = new SbErrorStack(); - // manipulate all the RTs that are below in the call-stack pRt = this; do @@ -806,14 +801,9 @@ sal_Bool SbiRuntime::Step() pRt->nError = err; if( pRt != pRtErrHdl ) pRt->bRun = sal_False; - - SbErrorStackEntry *pEntry = new SbErrorStackEntry - ( pRt->pMeth, pRt->nLine, pRt->nCol1, pRt->nCol2 ); - rErrStack->C40_INSERT(SbErrorStackEntry, pEntry, rErrStack->Count() ); - - if( pRt == pRtErrHdl ) + else break; - pRt = pRt->pNext; + pRt = pRt->pNext; } while( pRt ); } |
