summaryrefslogtreecommitdiff
path: root/sc/qa/extras/scheaderfootercontentobj.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/extras/scheaderfootercontentobj.cxx')
-rw-r--r--sc/qa/extras/scheaderfootercontentobj.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/extras/scheaderfootercontentobj.cxx b/sc/qa/extras/scheaderfootercontentobj.cxx
index 3c3b9aeea971..454a402da4d7 100644
--- a/sc/qa/extras/scheaderfootercontentobj.cxx
+++ b/sc/qa/extras/scheaderfootercontentobj.cxx
@@ -60,7 +60,7 @@ uno::Reference<uno::XInterface> ScHeaderFooterContentObj::init()
uno::Reference<style::XStyleFamiliesSupplier> xStyleFamSupp(xDoc, UNO_QUERY_THROW);
uno::Reference<container::XNameAccess> xStyleFamiliesNames(xStyleFamSupp->getStyleFamilies(),
- UNO_QUERY_THROW);
+ UNO_SET_THROW);
uno::Reference<container::XNameAccess> xPageStyles(xStyleFamiliesNames->getByName("PageStyles"),
UNO_QUERY_THROW);
uno::Any aDefaultStyle = xPageStyles->getByName("Default");