summaryrefslogtreecommitdiffstats
path: root/src/libnr/nr-rect-l.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnr/nr-rect-l.cpp')
-rw-r--r--src/libnr/nr-rect-l.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnr/nr-rect-l.cpp b/src/libnr/nr-rect-l.cpp
index 3b00acd03..fa3c687c5 100644
--- a/src/libnr/nr-rect-l.cpp
+++ b/src/libnr/nr-rect-l.cpp
@@ -1,7 +1,7 @@
#include <libnr/nr-rect-l.h>
NR::Maybe<NR::Rect> NRRectL::upgrade() const {
- if (nr_rect_l_test_empty(this)) {
+ if (nr_rect_l_test_empty_ptr(this)) {
return NR::Nothing();
} else {
return NR::Rect(NR::Point(x0, y0), NR::Point(x1, y1));