summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/spinbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widget/spinbutton.cpp')
-rw-r--r--src/ui/widget/spinbutton.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/widget/spinbutton.cpp b/src/ui/widget/spinbutton.cpp
index 0c082d3ce..777a6edf4 100644
--- a/src/ui/widget/spinbutton.cpp
+++ b/src/ui/widget/spinbutton.cpp
@@ -35,7 +35,7 @@ int SpinButton::on_input(double* newvalue)
try {
Inkscape::Util::EvaluatorQuantity result;
if (_unit_menu || _unit_tracker) {
- Unit const *unit = NULL;
+ Unit const *unit = nullptr;
if (_unit_menu) {
unit = _unit_menu->getUnit();
} else {
@@ -48,7 +48,7 @@ int SpinButton::on_input(double* newvalue)
throw Inkscape::Util::EvaluatorException("Input dimensions do not match with parameter dimensions.","");
}
} else {
- Inkscape::Util::ExpressionEvaluator eval = Inkscape::Util::ExpressionEvaluator(get_text().c_str(), NULL);
+ Inkscape::Util::ExpressionEvaluator eval = Inkscape::Util::ExpressionEvaluator(get_text().c_str(), nullptr);
result = eval.evaluate();
}