summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/document.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/dom/document.cxx')
-rw-r--r--unoxml/source/dom/document.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/dom/document.cxx b/unoxml/source/dom/document.cxx
index 85cfdcc4e8a2..cd5dda474c22 100644
--- a/unoxml/source/dom/document.cxx
+++ b/unoxml/source/dom/document.cxx
@@ -942,7 +942,7 @@ namespace DOM
if (nullptr == m_aNodePtr) {
return nullptr;
}
- xmlDocPtr const pClone(xmlCopyDoc(m_aDocPtr, (bDeep) ? 1 : 0));
+ xmlDocPtr const pClone(xmlCopyDoc(m_aDocPtr, bDeep ? 1 : 0));
if (nullptr == pClone) { return nullptr; }
Reference< XNode > const xRet(
static_cast<CNode*>(CDocument::CreateCDocument(pClone).get()));