diff options
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; } |