summaryrefslogtreecommitdiff
path: root/scripting/source/provider
diff options
context:
space:
mode:
Diffstat (limited to 'scripting/source/provider')
-rw-r--r--scripting/source/provider/BrowseNodeFactoryImpl.cxx2
-rw-r--r--scripting/source/provider/MasterScriptProvider.cxx6
-rw-r--r--scripting/source/provider/MasterScriptProviderFactory.cxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.cxx b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
index 6621d5453737..d3fc898086b8 100644
--- a/scripting/source/provider/BrowseNodeFactoryImpl.cxx
+++ b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
@@ -293,7 +293,7 @@ std::vector< Reference< browse::XBrowseNode > > getAllBrowseNodes( const Referen
{
try
{
- Reference< frame::XModel > model( MiscUtils::tDocUrlToModel( openDocs[ i ] ), UNO_QUERY_THROW );
+ Reference< frame::XModel > model( MiscUtils::tDocUrlToModel( openDocs[ i ] ), UNO_SET_THROW );
// #i44599 Check if it's a real document or something special like Hidden/Preview
css::uno::Reference< css::frame::XController > xCurrentController = model->getCurrentController();
diff --git a/scripting/source/provider/MasterScriptProvider.cxx b/scripting/source/provider/MasterScriptProvider.cxx
index d3fd5a28f489..8daa183d5ec8 100644
--- a/scripting/source/provider/MasterScriptProvider.cxx
+++ b/scripting/source/provider/MasterScriptProvider.cxx
@@ -206,7 +206,7 @@ void MasterScriptProvider::createPkgProvider()
provider::theMasterScriptProviderFactory::get( m_xContext );
m_xMSPPkg.set(
- xFac->createScriptProvider( location ), UNO_QUERY_THROW );
+ xFac->createScriptProvider( location ), UNO_SET_THROW );
}
catch ( const Exception& e )
@@ -316,7 +316,7 @@ MasterScriptProvider::getScript( const OUString& scriptURI )
{
xScriptProvider.set(
providerCache()->getProvider( serviceName ),
- UNO_QUERY_THROW );
+ UNO_SET_THROW );
}
catch( const Exception& e )
{
@@ -334,7 +334,7 @@ MasterScriptProvider::getScript( const OUString& scriptURI )
provider::theMasterScriptProviderFactory::get( m_xContext );
Reference< provider::XScriptProvider > xSP(
- xFac_->createScriptProvider( makeAny( location ) ), UNO_QUERY_THROW );
+ xFac_->createScriptProvider( makeAny( location ) ), UNO_SET_THROW );
xScript = xSP->getScript( scriptURI );
}
diff --git a/scripting/source/provider/MasterScriptProviderFactory.cxx b/scripting/source/provider/MasterScriptProviderFactory.cxx
index f7798f8d195e..5cfb70e7d7f5 100644
--- a/scripting/source/provider/MasterScriptProviderFactory.cxx
+++ b/scripting/source/provider/MasterScriptProviderFactory.cxx
@@ -46,7 +46,7 @@ MasterScriptProviderFactory::~MasterScriptProviderFactory()
Reference< provider::XScriptProvider > SAL_CALL
MasterScriptProviderFactory::createScriptProvider( const Any& context )
{
- Reference< provider::XScriptProvider > xMsp( getActiveMSPList() ->getMSPFromAnyContext( context ), UNO_QUERY_THROW );
+ Reference< provider::XScriptProvider > xMsp( getActiveMSPList() ->getMSPFromAnyContext( context ), UNO_SET_THROW );
return xMsp;
}