summaryrefslogtreecommitdiff
path: root/desktop/source/deployment
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/deployment')
-rw-r--r--desktop/source/deployment/gui/dp_gui_theextmgr.cxx2
-rw-r--r--desktop/source/deployment/registry/component/dp_component.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_theextmgr.cxx b/desktop/source/deployment/gui/dp_gui_theextmgr.cxx
index 96a9a0881d39..2693d44836ce 100644
--- a/desktop/source/deployment/gui/dp_gui_theextmgr.cxx
+++ b/desktop/source/deployment/gui/dp_gui_theextmgr.cxx
@@ -97,7 +97,7 @@ TheExtensionManager::TheExtensionManager( const uno::Reference< awt::XWindow > &
{
// the registration should be done after the construction has been ended
// otherwise an exception prevents object creation, but it is registered as a listener
- m_xDesktop.set( frame::Desktop::create(xContext), uno::UNO_QUERY_THROW );
+ m_xDesktop.set( frame::Desktop::create(xContext), uno::UNO_SET_THROW );
m_xDesktop->addTerminateListener( this );
}
}
diff --git a/desktop/source/deployment/registry/component/dp_component.cxx b/desktop/source/deployment/registry/component/dp_component.cxx
index 22d4931080b2..7167d2d1748a 100644
--- a/desktop/source/deployment/registry/component/dp_component.cxx
+++ b/desktop/source/deployment/registry/component/dp_component.cxx
@@ -1110,7 +1110,7 @@ void extractComponentData(
css::uno::Sequence< css::uno::Reference< css::registry::XRegistryKey > >
keys(registry->openKeys());
css::uno::Reference< css::lang::XMultiComponentFactory > smgr(
- context->getServiceManager(), css::uno::UNO_QUERY_THROW);
+ context->getServiceManager(), css::uno::UNO_SET_THROW);
for (sal_Int32 i = 0; i < keys.getLength(); ++i) {
OUString name(keys[i]->getKeyName().copy(prefix));
data->implementationNames.push_back(name);