summaryrefslogtreecommitdiffstats
path: root/src/style.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/style.cpp')
-rw-r--r--src/style.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/style.cpp b/src/style.cpp
index 4244798bf..93bd5ac76 100644
--- a/src/style.cpp
+++ b/src/style.cpp
@@ -506,7 +506,7 @@ sp_style_new_from_object(SPObject *object)
style->object = object;
style->release_connection = object->connectRelease(sigc::bind<1>(sigc::ptr_fun(&sp_style_object_release), style));
- if (object && object->cloned) {
+ if (object->cloned) {
style->cloned = true;
}