diff options
Diffstat (limited to 'unoxml/source/dom/saxbuilder.cxx')
-rw-r--r-- | unoxml/source/dom/saxbuilder.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unoxml/source/dom/saxbuilder.cxx b/unoxml/source/dom/saxbuilder.cxx index a6e189b4b475..a8d1210c9c83 100644 --- a/unoxml/source/dom/saxbuilder.cxx +++ b/unoxml/source/dom/saxbuilder.cxx @@ -359,12 +359,12 @@ namespace DOM ::osl::MutexGuard g(m_Mutex); // append text node to the current top element - if (m_aState != SAXDocumentBuilderState_BUILDING_DOCUMENT && + if (m_aState != SAXDocumentBuilderState_BUILDING_DOCUMENT && m_aState != SAXDocumentBuilderState_BUILDING_FRAGMENT) throw SAXException(); - Reference< XText > aText = m_aDocument->createTextNode(rChars); - m_aNodeStack.top()->appendChild(aText); + Reference< XText > aText = m_aDocument->createTextNode(rChars); + m_aNodeStack.top()->appendChild(aText); } } |