loplugin:nullptr

Change-Id: I0c78ddab5efb7a295ccf42b6539b5aa3b7009bf9
This commit is contained in:
Stephan Bergmann
2016-03-08 14:43:11 +01:00
parent 576ab77255
commit 5c1234eac2

View File

@@ -141,7 +141,7 @@ namespace dbaui
#if OSL_DEBUG_LEVEL > 0 #if OSL_DEBUG_LEVEL > 0
namespace namespace
{ {
void insertParseTree(SvTreeListBox* _pBox,::connectivity::OSQLParseNode* _pNode,SvTreeListEntry* _pParent = NULL) void insertParseTree(SvTreeListBox* _pBox,::connectivity::OSQLParseNode* _pNode,SvTreeListEntry* _pParent = nullptr)
{ {
OUString rString; OUString rString;
if (!_pNode->isToken()) if (!_pNode->isToken())
@@ -767,7 +767,7 @@ void OQueryController::Execute(sal_uInt16 _nId, const Sequence< PropertyValue >&
if ( _nId == ID_EDIT_QUERY_DESIGN ) 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 // no where clause found
if ( pTemp && !pTemp->isLeaf() ) if ( pTemp && !pTemp->isLeaf() )
{ {