Mercurial > hg > svgui
diff layer/ImageLayer.cpp @ 1414:fa986b91d77f
Merge from branch fix-static-analysis
author | Chris Cannam |
---|---|
date | Wed, 09 Jan 2019 15:24:51 +0000 |
parents | c8a6fd3f9dff |
children | 62e908518c71 |
line wrap: on
line diff
--- a/layer/ImageLayer.cpp Wed Jan 09 14:41:52 2019 +0000 +++ b/layer/ImageLayer.cpp Wed Jan 09 15:24:51 2019 +0000 @@ -44,11 +44,11 @@ ImageLayer::ImageLayer() : Layer(), - m_model(0), + m_model(nullptr), m_editing(false), m_originalPoint(0, "", ""), m_editingPoint(0, "", ""), - m_editingCommand(0) + m_editingCommand(nullptr) { } @@ -614,7 +614,7 @@ } finish(m_editingCommand); - m_editingCommand = 0; + m_editingCommand = nullptr; m_editing = false; } @@ -653,7 +653,7 @@ if (m_editingCommand) { finish(m_editingCommand); - m_editingCommand = 0; + m_editingCommand = nullptr; } m_editing = true; @@ -689,7 +689,7 @@ finish(m_editingCommand); } - m_editingCommand = 0; + m_editingCommand = nullptr; m_editing = false; }