summaryrefslogtreecommitdiff
path: root/sc/qa/extras/sceditfieldobj-header.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/extras/sceditfieldobj-header.cxx')
-rw-r--r--sc/qa/extras/sceditfieldobj-header.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/extras/sceditfieldobj-header.cxx b/sc/qa/extras/sceditfieldobj-header.cxx
index f8d1e5d5a0d4..16dadbf08017 100644
--- a/sc/qa/extras/sceditfieldobj-header.cxx
+++ b/sc/qa/extras/sceditfieldobj-header.cxx
@@ -119,7 +119,7 @@ uno::Reference<uno::XInterface> ScEditFieldObj_Header::init()
uno::Reference<style::XStyleFamiliesSupplier> xSFS(mxComponent, uno::UNO_QUERY_THROW);
uno::Reference<container::XNameAccess> xStyleFamilies(xSFS->getStyleFamilies(),
- uno::UNO_QUERY_THROW);
+ uno::UNO_SET_THROW);
uno::Reference<container::XNameAccess> xPageStyles(xStyleFamilies->getByName("PageStyles"),
uno::UNO_QUERY_THROW);
uno::Reference<beans::XPropertySet> xPropSet(xPageStyles->getByName("Default"),