summaryrefslogtreecommitdiffstats
path: root/src/attributes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/attributes.cpp')
-rw-r--r--src/attributes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/attributes.cpp b/src/attributes.cpp
index fb9b97a15..0c16916f9 100644
--- a/src/attributes.cpp
+++ b/src/attributes.cpp
@@ -25,7 +25,7 @@ typedef struct {
*/
static SPStyleProp const props[] = {
- {SP_ATTR_INVALID, NULL},
+ {SP_ATTR_INVALID, nullptr},
/* SPObject */
{SP_ATTR_ID, "id"},
{SP_ATTR_STYLE, "style"},
@@ -579,7 +579,7 @@ unsigned char const *
sp_attribute_name(unsigned int id)
{
if (id >= n_attrs) {
- return NULL;
+ return nullptr;
}
return (unsigned char*)props[id].name;