diff options
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/runtime/runtime.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index 0cf478a329d3..047c25cf5f5e 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -2268,7 +2268,7 @@ void SbiRuntime::StepREDIMP() { StarBASIC::Error( SbERR_OUT_OF_RANGE ); } - else + else if (nDims > 0) { // Store dims to use them for copying later sal_Int32* pLowerBounds = new sal_Int32[nDims]; |