summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/saxbuilder.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/dom/saxbuilder.cxx')
-rw-r--r--unoxml/source/dom/saxbuilder.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unoxml/source/dom/saxbuilder.cxx b/unoxml/source/dom/saxbuilder.cxx
index 4568e745e008..8d2ad2b4f797 100644
--- a/unoxml/source/dom/saxbuilder.cxx
+++ b/unoxml/source/dom/saxbuilder.cxx
@@ -95,8 +95,8 @@ namespace DOM
{
::osl::MutexGuard g(m_Mutex);
- m_aDocument = Reference< XDocument >();
- m_aFragment = Reference< XDocumentFragment >();
+ m_aDocument.clear();
+ m_aFragment.clear();
while (!m_aNodeStack.empty()) m_aNodeStack.pop();
while (!m_aNSStack.empty()) m_aNSStack.pop();
m_aState = SAXDocumentBuilderState_READY;