diff options
-rw-r--r-- | sc/source/core/tool/interpr1.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index 34f027dd00b2..f54d2a0dbf2f 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -6609,6 +6609,9 @@ ScDBQueryParamBase* ScInterpreter::GetDBParams( bool& rMissingField ) SetError( errIllegalParameter ); } + if (nGlobalError) + return NULL; + SAL_WNODEPRECATED_DECLARATIONS_PUSH auto_ptr<ScDBRangeBase> pDBRef( PopDBDoubleRef() ); SAL_WNODEPRECATED_DECLARATIONS_POP |