summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dbaccess/source/ui/querydesign/QueryDesignView.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
index 5bb7a8d7c443..e21cfe7135ce 100644
--- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
@@ -1546,8 +1546,8 @@ namespace
}
}
}
- else if( eOk != ( eErrorCode = FillDragInfo(_pView,pParamNode,aDragLeft))
- && SQL_ISRULE(pParamNode,num_value_exp) )
+ else if (pParamNode && eOk != (eErrorCode = FillDragInfo(_pView,pParamNode,aDragLeft))
+ && SQL_ISRULE(pParamNode,num_value_exp))
{
OUString sParameterValue;
pParamNode->parseNodeToStr( sParameterValue,