summaryrefslogtreecommitdiffstats
path: root/sw/source/ui/vba/vbaaddins.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbaaddins.cxx')
-rw-r--r--sw/source/ui/vba/vbaaddins.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/vba/vbaaddins.cxx b/sw/source/ui/vba/vbaaddins.cxx
index dc7e032a0563..1451e5b77396 100644
--- a/sw/source/ui/vba/vbaaddins.cxx
+++ b/sw/source/ui/vba/vbaaddins.cxx
@@ -31,7 +31,7 @@ static uno::Reference< container::XIndexAccess > lcl_getAddinCollection( const u
XNamedObjectCollectionHelper< word::XAddin >::XNamedVec aAddins;
// first get the autoload addins in the directory STARTUP
- uno::Reference< lang::XMultiComponentFactory > xMCF( xContext->getServiceManager(), uno::UNO_QUERY_THROW );
+ uno::Reference< lang::XMultiComponentFactory > xMCF( xContext->getServiceManager(), uno::UNO_SET_THROW );
uno::Reference<ucb::XSimpleFileAccess3> xSFA(ucb::SimpleFileAccess::create(xContext));
SvtPathOptions aPathOpt;
// FIXME: temporary the STARTUP path is located in $OO/basic3.1/program/addin