From 5c1234eac2b9f3a3ea032e4828a15bedca6b9ebe Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 8 Mar 2016 14:43:11 +0100 Subject: [PATCH] loplugin:nullptr Change-Id: I0c78ddab5efb7a295ccf42b6539b5aa3b7009bf9 --- dbaccess/source/ui/querydesign/querycontroller.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbaccess/source/ui/querydesign/querycontroller.cxx b/dbaccess/source/ui/querydesign/querycontroller.cxx index 498a70b35b30..399640cdf0d1 100644 --- a/dbaccess/source/ui/querydesign/querycontroller.cxx +++ b/dbaccess/source/ui/querydesign/querycontroller.cxx @@ -141,7 +141,7 @@ namespace dbaui #if OSL_DEBUG_LEVEL > 0 namespace { - void insertParseTree(SvTreeListBox* _pBox,::connectivity::OSQLParseNode* _pNode,SvTreeListEntry* _pParent = NULL) + void insertParseTree(SvTreeListBox* _pBox,::connectivity::OSQLParseNode* _pNode,SvTreeListEntry* _pParent = nullptr) { OUString rString; if (!_pNode->isToken()) @@ -767,7 +767,7 @@ void OQueryController::Execute(sal_uInt16 _nId, const Sequence< PropertyValue >& if ( _nId == ID_EDIT_QUERY_DESIGN ) { - ::connectivity::OSQLParseNode* pTemp = pNode ? pNode->getChild(3)->getChild(1) : NULL; + ::connectivity::OSQLParseNode* pTemp = pNode ? pNode->getChild(3)->getChild(1) : nullptr; // no where clause found if ( pTemp && !pTemp->isLeaf() ) {