diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-01-08 03:09:34 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-01-08 04:19:12 +0100 |
commit | baed170c416fd5bcae4d17362f0efd0e6284efdc (patch) | |
tree | 0c6a889024a0e643c599aa3e4b7040a91c555a6e /sc | |
parent | 7922d1d8b65fa18822eaba8d38460d76c1e7a2c8 (diff) |
return earlier from ScInterpreter::GetDBParams on error, fdo#44442
Diffstat (limited to 'sc')
-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 |