Kaydet (Commit) baed170c authored tarafından Markus Mohrhard's avatar Markus Mohrhard

return earlier from ScInterpreter::GetDBParams on error, fdo#44442

üst 7922d1d8
...@@ -6609,6 +6609,9 @@ ScDBQueryParamBase* ScInterpreter::GetDBParams( bool& rMissingField ) ...@@ -6609,6 +6609,9 @@ ScDBQueryParamBase* ScInterpreter::GetDBParams( bool& rMissingField )
SetError( errIllegalParameter ); SetError( errIllegalParameter );
} }
if (nGlobalError)
return NULL;
SAL_WNODEPRECATED_DECLARATIONS_PUSH SAL_WNODEPRECATED_DECLARATIONS_PUSH
auto_ptr<ScDBRangeBase> pDBRef( PopDBDoubleRef() ); auto_ptr<ScDBRangeBase> pDBRef( PopDBDoubleRef() );
SAL_WNODEPRECATED_DECLARATIONS_POP SAL_WNODEPRECATED_DECLARATIONS_POP
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment