summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/macromgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/docshell/macromgr.cxx')
-rw-r--r--sc/source/ui/docshell/macromgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/macromgr.cxx b/sc/source/ui/docshell/macromgr.cxx
index 40b9e61ecef2..6f262bc5b35b 100644
--- a/sc/source/ui/docshell/macromgr.cxx
+++ b/sc/source/ui/docshell/macromgr.cxx
@@ -139,7 +139,7 @@ void ScMacroManager::InitUserFuncData()
}
try
{
- Reference< script::XLibraryContainer > xLibraries( pShell->GetBasicContainer(), uno::UNO_QUERY_THROW );
+ Reference< script::XLibraryContainer > xLibraries( pShell->GetBasicContainer(), uno::UNO_SET_THROW );
xModuleContainer.set( xLibraries->getByName( sProjectName ), uno::UNO_QUERY_THROW );
// remove old listener ( if there was one )