summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/saxbuilder.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-05 12:42:10 +0200
committerNoel Grandin <noel@peralex.com>2015-11-05 12:42:42 +0200
commit94268513eeded3952972d7efe0a9bc689605421b (patch)
tree5994adbdba4ca18b8c326e70db2a73a18527caa0 /unoxml/source/dom/saxbuilder.cxx
parentc89ba1dedc511ec17df1e35f8e0696bc20121491 (diff)
use uno::Reference::set method instead of assignment
Change-Id: Id57ccff7ea6cf5c7053b51268b1190f5459bb357
Diffstat (limited to 'unoxml/source/dom/saxbuilder.cxx')
-rw-r--r--unoxml/source/dom/saxbuilder.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/unoxml/source/dom/saxbuilder.cxx b/unoxml/source/dom/saxbuilder.cxx
index 47371312994c..be04b5fae7db 100644
--- a/unoxml/source/dom/saxbuilder.cxx
+++ b/unoxml/source/dom/saxbuilder.cxx
@@ -256,9 +256,7 @@ namespace DOM
// no URI for prefix
aElement = m_aDocument->createElement(aName);
}
- aElement = Reference< XElement > (
- m_aNodeStack.top()->appendChild(aElement),
- UNO_QUERY);
+ aElement.set( m_aNodeStack.top()->appendChild(aElement), UNO_QUERY);
m_aNodeStack.push(aElement);
// set non xmlns attributes