summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/documentbuilder.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/dom/documentbuilder.cxx')
-rw-r--r--unoxml/source/dom/documentbuilder.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/dom/documentbuilder.cxx b/unoxml/source/dom/documentbuilder.cxx
index 8d434e74bf19..e3a7bac1d544 100644
--- a/unoxml/source/dom/documentbuilder.cxx
+++ b/unoxml/source/dom/documentbuilder.cxx
@@ -74,7 +74,7 @@ namespace DOM
is.aInputStream = aContent.openStream();
} catch (const com::sun::star::uno::Exception&) {
OSL_FAIL("exception in default entity resolver");
- is.aInputStream = Reference< XInputStream >();
+ is.aInputStream.clear();
}
return is;
}