diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:24:24 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:41 +0100 |
commit | 374b4f349f1d1cb3b33004580ebc903d206f28ff (patch) | |
tree | b26a69ad1287dc10f691cbb01504a0ba671dc591 /starmath/source/visitors.cxx | |
parent | e246e5e3cf2722beb8a633259c0c395b498f58c6 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: Ife1eef04d905f12308b64b971176c2f045a1b268
Diffstat (limited to 'starmath/source/visitors.cxx')
-rw-r--r-- | starmath/source/visitors.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/visitors.cxx b/starmath/source/visitors.cxx index 54e696188fb4..24c54462cd56 100644 --- a/starmath/source/visitors.cxx +++ b/starmath/source/visitors.cxx @@ -992,7 +992,7 @@ void SmCaretPosGraphBuildingVisitor::Visit( SmOperNode* pNode ) bodyRight->SetRight( right ); //Get subsup pNode if any - SmSubSupNode* pSubSup = pOper->GetType( ) == NSUBSUP ? static_cast<SmSubSupNode*>(pOper) : NULL; + SmSubSupNode* pSubSup = pOper->GetType( ) == NSUBSUP ? static_cast<SmSubSupNode*>(pOper) : nullptr; SmNode* pChild; SmCaretPosGraphEntry *childLeft; @@ -1638,10 +1638,10 @@ void SmCloningVisitor::CloneKids( SmStructureNode* pSource, SmStructureNode* pTa //Clone children for( sal_uInt16 i = 0; i < nSize; i++ ){ SmNode* pKid; - if( NULL != ( pKid = pSource->GetSubNode( i ) ) ) + if( nullptr != ( pKid = pSource->GetSubNode( i ) ) ) pKid->Accept( this ); else - pResult = NULL; + pResult = nullptr; aNodes[i] = pResult; } |