diff options
| author | Peter Moulder <peter.moulder@monash.edu> | 2008-06-11 08:09:07 +0000 |
|---|---|---|
| committer | pjrm <pjrm@users.sourceforge.net> | 2008-06-11 08:09:07 +0000 |
| commit | 0791eb2eac9820ca74cd01e0d5feeb5d3fa9eea5 (patch) | |
| tree | 3e2928e7c7c57eac26a2d801cacead728e3d77f8 /src/xml/simple-node.cpp | |
| parent | warning cleanup (diff) | |
| download | inkscape-0791eb2eac9820ca74cd01e0d5feeb5d3fa9eea5.tar.gz inkscape-0791eb2eac9820ca74cd01e0d5feeb5d3fa9eea5.zip | |
Back out the `document != NULL' assertions added to SimpleNode constructors in r18847 (see https://bugs.launchpad.net/inkscape/+bug/239101).
(bzr r5878)
Diffstat (limited to '')
| -rw-r--r-- | src/xml/simple-node.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xml/simple-node.cpp b/src/xml/simple-node.cpp index d4a412ae6..ba793721e 100644 --- a/src/xml/simple-node.cpp +++ b/src/xml/simple-node.cpp @@ -164,7 +164,7 @@ SimpleNode::SimpleNode(int code, Document *document) : Node(), _name(code), _attributes(), _child_count(0), _cached_positions_valid(false) { - g_assert(document != NULL); + //g_assert(document != NULL); // todo: We want to re-enable this, but it doesn't hold yet. this->_document = document; this->_parent = this->_next = NULL; @@ -180,7 +180,7 @@ SimpleNode::SimpleNode(SimpleNode const &node, Document *document) _child_count(node._child_count), _cached_positions_valid(node._cached_positions_valid) { - g_assert(document != NULL); + //g_assert(document != NULL); // todo: We want to re-enable this, but it doesn't hold yet. _document = document; _parent = _next = NULL; |
