summaryrefslogtreecommitdiffstats
path: root/src/selection-chemistry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/selection-chemistry.cpp')
-rw-r--r--src/selection-chemistry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp
index beafc59a5..d94b085a0 100644
--- a/src/selection-chemistry.cpp
+++ b/src/selection-chemistry.cpp
@@ -3765,7 +3765,7 @@ void sp_selection_unset_mask(SPDesktop *desktop, bool apply_clip_path) {
}
// collect distinct mask object (and associate with item to apply transform)
- if (NULL != uri_ref && NULL != uri_ref->getObject()) {
+ if ((NULL != uri_ref) && (NULL != uri_ref->getObject())) {
referenced_objects[uri_ref->getObject()] = item;
}
}