summaryrefslogtreecommitdiffstats
path: root/src/sp-object.h
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2014-03-03 21:21:55 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2014-03-03 21:21:55 +0000
commit7c4b51c7574844efd991df787e9be4c96fb031b3 (patch)
tree812bb7bf2313247b69ce49d6e701385f22e779f2 /src/sp-object.h
parent- fix memleak (diff)
downloadinkscape-7c4b51c7574844efd991df787e9be4c96fb031b3.tar.gz
inkscape-7c4b51c7574844efd991df787e9be4c96fb031b3.zip
change 0 to NULL for pointers
(bzr r13102)
Diffstat (limited to 'src/sp-object.h')
-rw-r--r--src/sp-object.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sp-object.h b/src/sp-object.h
index 3faadb404..cf18d4523 100644
--- a/src/sp-object.h
+++ b/src/sp-object.h
@@ -685,18 +685,18 @@ public:
unsigned getPosition();
- gchar const * getAttribute(gchar const *name,SPException *ex=0) const;
+ gchar const * getAttribute(gchar const *name,SPException *ex=NULL) const;
void appendChild(Inkscape::XML::Node *child);
- void addChild(Inkscape::XML::Node *child,Inkscape::XML::Node *prev=0);
+ void addChild(Inkscape::XML::Node *child,Inkscape::XML::Node *prev=NULL);
/**
* Call virtual set() function of object.
*/
void setKeyValue(unsigned int key, gchar const *value);
- void setAttribute(gchar const *key, gchar const *value, SPException *ex=0);
+ void setAttribute(gchar const *key, gchar const *value, SPException *ex=NULL);
/**
* Read value of key attribute from XML node into object.
@@ -705,7 +705,7 @@ public:
gchar const *getTagName(SPException *ex) const;
- void removeAttribute(gchar const *key, SPException *ex=0);
+ void removeAttribute(gchar const *key, SPException *ex=NULL);
/**
* Returns an object style property.