Kaydet (Commit) a1dd3f71 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#704622 Explicit null dereferenced

Change-Id: Ibde2c27791d1be30d6207a338367b6c433acfc0b
üst 380d4600
......@@ -2184,8 +2184,8 @@ namespace
if ( nColumnRefPos >= 0 && static_cast<sal_uInt32>(nColumnRefPos) < pColumnRef->count() )
pParamRef = pColumnRef->getChild(nColumnRefPos);
if ( SQL_ISRULE(pColumnRef,general_set_fct)
&& SQL_ISRULE(pParamRef,column_ref) )
if ( SQL_ISRULE(pColumnRef,general_set_fct)
&& pParamRef && SQL_ISRULE(pParamRef,column_ref) )
{
// Check the parameters for Column references
InsertColumnRef(_pView,pParamRef,aColumnName,aColumnAlias,aTableRange,aInfo,pTabList);
......
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