summaryrefslogtreecommitdiff
path: root/svx/source/xml/xmlxtimp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/xml/xmlxtimp.cxx')
-rw-r--r--svx/source/xml/xmlxtimp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/xml/xmlxtimp.cxx b/svx/source/xml/xmlxtimp.cxx
index 5f2f1dcc4f1a..c9b5ecf6481a 100644
--- a/svx/source/xml/xmlxtimp.cxx
+++ b/svx/source/xml/xmlxtimp.cxx
@@ -324,7 +324,7 @@ static void openStorageStream( xml::sax::InputSource *pParserInput,
rtl::Reference<SvXMLGraphicHelper>& rxGraphicHelper,
const uno::Reference < embed::XStorage >& xStorage )
{
- uno::Reference < io::XStream > xIStm( xStorage->openStreamElement( "Content.xml", embed::ElementModes::READ ), uno::UNO_QUERY_THROW );
+ uno::Reference < io::XStream > xIStm( xStorage->openStreamElement( "Content.xml", embed::ElementModes::READ ), uno::UNO_SET_THROW );
pParserInput->aInputStream = xIStm->getInputStream();
rxGraphicHelper = SvXMLGraphicHelper::Create( xStorage, SvXMLGraphicHelperMode::Read );
}
@@ -356,7 +356,7 @@ bool SvxXMLXTableImport::load( const OUString &rPath, const OUString &rReferer,
if( aMedium.IsStorage() )
{
- uno::Reference < embed::XStorage > xMediumStorage( aMedium.GetStorage( false ), uno::UNO_QUERY_THROW );
+ uno::Reference < embed::XStorage > xMediumStorage( aMedium.GetStorage( false ), uno::UNO_SET_THROW );
openStorageStream( &aParserInput, xGraphicHelper, xMediumStorage );
}
else