summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-11 12:51:29 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-11 12:51:29 +0200
commit4a1eddb6d7d27030b119cef147147d77c9a3ff5f (patch)
tree568ba1154bf8e7adbfdc40c61a35e1af25c44e90 /unoxml
parentad5daefda679ccbfb5b2759c970d34548bc2ba29 (diff)
loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: Ic046e96b395713336cb33ce48a003183f7648d36
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/source/dom/attr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/dom/attr.cxx b/unoxml/source/dom/attr.cxx
index ba0eef522b25..3a97fb73426b 100644
--- a/unoxml/source/dom/attr.cxx
+++ b/unoxml/source/dom/attr.cxx
@@ -192,7 +192,7 @@ namespace DOM
xmlStringGetNodeList(m_aAttrPtr->doc, buffer.get());
xmlNodePtr tmp = m_aAttrPtr->children;
while (tmp != NULL) {
- tmp->parent = (xmlNodePtr) m_aNodePtr;
+ tmp->parent = m_aNodePtr;
tmp->doc = m_aAttrPtr->doc;
if (tmp->next == NULL)
m_aNodePtr->last = tmp;