summaryrefslogtreecommitdiffstats
path: root/src/guide-snapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guide-snapper.cpp')
-rw-r--r--src/guide-snapper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guide-snapper.cpp b/src/guide-snapper.cpp
index 96864f8e5..1842f3763 100644
--- a/src/guide-snapper.cpp
+++ b/src/guide-snapper.cpp
@@ -40,7 +40,7 @@ Inkscape::GuideSnapper::LineList Inkscape::GuideSnapper::_getSnapLines(Geom::Poi
{
LineList s;
- if ( NULL == _snapmanager->getNamedView() || ThisSnapperMightSnap() == false) {
+ if ( nullptr == _snapmanager->getNamedView() || ThisSnapperMightSnap() == false) {
return s;
}
@@ -60,7 +60,7 @@ Inkscape::GuideSnapper::LineList Inkscape::GuideSnapper::_getSnapLines(Geom::Poi
*/
bool Inkscape::GuideSnapper::ThisSnapperMightSnap() const
{
- if (_snapmanager->getNamedView() == NULL) {
+ if (_snapmanager->getNamedView() == nullptr) {
return false;
}