diff options
-rw-r--r-- | unoxml/source/dom/node.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/dom/node.cxx b/unoxml/source/dom/node.cxx index 50adabea55e0..c863a0eee1bb 100644 --- a/unoxml/source/dom/node.cxx +++ b/unoxml/source/dom/node.cxx @@ -905,7 +905,7 @@ namespace DOM if (pNew->next != nullptr) pNew->next->prev = pNew; pNew->parent = pOld->parent; - // coverity[var_deref_op] pNew->parent cannot be NULL here + assert(pNew->parent && "coverity[var_deref_op] pNew->parent cannot be NULL here"); if(pNew->parent->children == pOld) pNew->parent->children = pNew; if(pNew->parent->last == pOld) |