diff options
Diffstat (limited to 'basic/source')
-rw-r--r-- | basic/source/basmgr/vbahelper.cxx | 2 | ||||
-rw-r--r-- | basic/source/uno/namecont.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/basmgr/vbahelper.cxx b/basic/source/basmgr/vbahelper.cxx index 32e0041f77e3..ec8f57026f3b 100644 --- a/basic/source/basmgr/vbahelper.cxx +++ b/basic/source/basmgr/vbahelper.cxx @@ -42,7 +42,7 @@ namespace { */ uno::Reference< frame::XModuleManager2 > lclCreateModuleManager() { - uno::Reference< uno::XComponentContext > xContext( ::comphelper::getProcessComponentContext(), uno::UNO_QUERY_THROW ); + uno::Reference< uno::XComponentContext > xContext( ::comphelper::getProcessComponentContext(), uno::UNO_SET_THROW ); return frame::ModuleManager::create(xContext); } diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index d98b7364bdcd..080d35a6027d 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -1823,7 +1823,7 @@ void SfxLibraryContainer::storeLibraries_Impl( const uno::Reference< embed::XSto } } - xTargetLibrariesStor.set( i_rStorage->openStorageElement( sTargetLibrariesStoreName, embed::ElementModes::READWRITE ), UNO_QUERY_THROW ); + xTargetLibrariesStor.set( i_rStorage->openStorageElement( sTargetLibrariesStoreName, embed::ElementModes::READWRITE ), UNO_SET_THROW ); } catch( const uno::Exception& ) { @@ -2654,7 +2654,7 @@ void SfxLibraryContainer::initializeFromDocument( const Reference< XStorageBased Reference< XServiceInfo > xSI( _rxDocument, UNO_QUERY_THROW ); if ( xSI->supportsService("com.sun.star.document.OfficeDocument")) { - xDocStorage.set( _rxDocument->getDocumentStorage(), UNO_QUERY_THROW ); + xDocStorage.set( _rxDocument->getDocumentStorage(), UNO_SET_THROW ); } Reference< XModel > xDocument( _rxDocument, UNO_QUERY_THROW ); Reference< XComponent > xDocComponent( _rxDocument, UNO_QUERY_THROW ); |