summaryrefslogtreecommitdiff
path: root/starmath/source/caret.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/caret.cxx')
-rw-r--r--starmath/source/caret.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/caret.cxx b/starmath/source/caret.cxx
index 25b4f843382d..5801fea30e6a 100644
--- a/starmath/source/caret.cxx
+++ b/starmath/source/caret.cxx
@@ -17,7 +17,7 @@ SmCaretPosGraphEntry* SmCaretPosGraphIterator::Next(){
nOffset = 0;
pEntry = Next();
}else
- pEntry = NULL;
+ pEntry = nullptr;
}else
pEntry = pGraph->Graph + nOffset++;
return pEntry;
@@ -40,7 +40,7 @@ SmCaretPosGraphEntry* SmCaretPosGraph::Add(SmCaretPosGraphEntry entry){
SmCaretPosGraph::~SmCaretPosGraph(){
delete pNext;
- pNext = NULL;
+ pNext = nullptr;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */