summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbaglobals.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/vba/vbaglobals.cxx')
-rw-r--r--sc/source/ui/vba/vbaglobals.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbaglobals.cxx b/sc/source/ui/vba/vbaglobals.cxx
index 62ac352756c6..d2872fdfed5a 100644
--- a/sc/source/ui/vba/vbaglobals.cxx
+++ b/sc/source/ui/vba/vbaglobals.cxx
@@ -75,7 +75,7 @@ ScVbaGlobals::getExcel()
uno::Reference< excel::XWorkbook > SAL_CALL
ScVbaGlobals::getActiveWorkbook()
{
- uno::Reference< excel::XWorkbook > xWorkbook( getApplication()->getActiveWorkbook(), uno::UNO_QUERY_THROW);
+ uno::Reference< excel::XWorkbook > xWorkbook( getApplication()->getActiveWorkbook(), uno::UNO_SET_THROW);
return xWorkbook;
}