summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbawsfunction.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/vba/vbawsfunction.cxx')
-rw-r--r--sc/source/ui/vba/vbawsfunction.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbawsfunction.cxx b/sc/source/ui/vba/vbawsfunction.cxx
index a7fbd65c16da..8f6b3ffe824b 100644
--- a/sc/source/ui/vba/vbawsfunction.cxx
+++ b/sc/source/ui/vba/vbawsfunction.cxx
@@ -173,7 +173,7 @@ ScVbaWSFunction::invoke(const OUString& FunctionName, const uno::Sequence< uno::
if( !aRet.hasValue() )
{
- uno::Reference< lang::XMultiComponentFactory > xSMgr( mxContext->getServiceManager(), uno::UNO_QUERY_THROW );
+ uno::Reference< lang::XMultiComponentFactory > xSMgr( mxContext->getServiceManager(), uno::UNO_SET_THROW );
uno::Reference< sheet::XFunctionAccess > xFunctionAccess( xSMgr->createInstanceWithContext(
"com.sun.star.sheet.FunctionAccess", mxContext ),
uno::UNO_QUERY_THROW );