diff --git a/src/extension/dbus/document-interface.cpp b/src/extension/dbus/document-interface.cpp index 9011b0dfc8c3af4772be9f96bee279888163a742..0da1188c353b01c8f1f5369f9ccdc8d784fede5e 100644 --- a/src/extension/dbus/document-interface.cpp +++ b/src/extension/dbus/document-interface.cpp @@ -474,7 +474,7 @@ document_interface_spiral (DocumentInterface *doc_interface, int cx, int cy, newNode->setAttributeInt("sodipodi:expansion", 1); gchar * retval = finish_create_shape (doc_interface, error, newNode, (gchar *)"create spiral"); //Makes sure there is no fill for spirals by default. - gchar* newString = g_strconcat(newNode->attribute("style"), ";fill:none", NULL); + gchar* newString = g_strconcat(newNode->attribute("style"), ";fill:none", nullptr); newNode->setAttribute("style", newString); g_free(newString); return retval;