[Libreoffice-commits] core.git: dbaccess/source
Stephan Bergmann
sbergman at redhat.com
Tue Mar 8 13:43:36 UTC 2016
dbaccess/source/ui/querydesign/querycontroller.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 5c1234eac2b9f3a3ea032e4828a15bedca6b9ebe
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Mar 8 14:43:11 2016 +0100
loplugin:nullptr
Change-Id: I0c78ddab5efb7a295ccf42b6539b5aa3b7009bf9
diff --git a/dbaccess/source/ui/querydesign/querycontroller.cxx b/dbaccess/source/ui/querydesign/querycontroller.cxx
index 498a70b..399640c 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() )
{
More information about the Libreoffice-commits
mailing list