summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xltoolbar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/excel/xltoolbar.cxx')
-rw-r--r--sc/source/filter/excel/xltoolbar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xltoolbar.cxx b/sc/source/filter/excel/xltoolbar.cxx
index d8c1dc900814..ff71859ebb6d 100644
--- a/sc/source/filter/excel/xltoolbar.cxx
+++ b/sc/source/filter/excel/xltoolbar.cxx
@@ -144,7 +144,7 @@ bool ScCTB::ImportCustomToolBar( ScCTBWrapper& rWrapper, CustomToolBarImportHelp
return true; // didn't fail, just ignoring
// Create default setting
- uno::Reference< container::XIndexContainer > xIndexContainer( helper.getCfgManager()->createSettings(), uno::UNO_QUERY_THROW );
+ uno::Reference< container::XIndexContainer > xIndexContainer( helper.getCfgManager()->createSettings(), uno::UNO_SET_THROW );
uno::Reference< container::XIndexAccess > xIndexAccess( xIndexContainer, uno::UNO_QUERY_THROW );
uno::Reference< beans::XPropertySet > xProps( xIndexContainer, uno::UNO_QUERY_THROW );
WString& name = tb.getName();