From b993c5591e965de3b9e95e32007ea4231b2997d7 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 29 Apr 2013 10:44:59 +0200 Subject: [PATCH] RuntimeException missing from exception specification for UNO method ...which lead to std::unoexpected from sw/PythonTest_sw_python. Change-Id: I94bdbbe131a7c65c363f7aa66e8d8df7bd531449 --- desktop/source/deployment/manager/dp_extensionmanager.cxx | 2 +- desktop/source/deployment/manager/dp_extensionmanager.hxx | 2 +- sw/qa/python/var_fields.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/desktop/source/deployment/manager/dp_extensionmanager.cxx b/desktop/source/deployment/manager/dp_extensionmanager.cxx index ef539bcdeba8..55d980273f8c 100644 --- a/desktop/source/deployment/manager/dp_extensionmanager.cxx +++ b/desktop/source/deployment/manager/dp_extensionmanager.cxx @@ -212,7 +212,7 @@ Reference ExtensionManager::createAbortChannel() css::uno::Reference ExtensionManager::getPackageManager(OUString const & repository) - throw (css::lang::IllegalArgumentException) + throw (css::lang::IllegalArgumentException, css::uno::RuntimeException) { Reference xPackageManager; if (repository == "user") diff --git a/desktop/source/deployment/manager/dp_extensionmanager.hxx b/desktop/source/deployment/manager/dp_extensionmanager.hxx index db11f129765f..b23bf901b490 100644 --- a/desktop/source/deployment/manager/dp_extensionmanager.hxx +++ b/desktop/source/deployment/manager/dp_extensionmanager.hxx @@ -277,7 +277,7 @@ private: css::uno::Reference getPackageManager(OUString const & repository) - throw (css::lang::IllegalArgumentException); + throw (css::lang::IllegalArgumentException, css::uno::RuntimeException); bool doChecksForAddExtension( css::uno::Reference const & xPackageMgr, diff --git a/sw/qa/python/var_fields.py b/sw/qa/python/var_fields.py index 4924636831f8..92f2da1bde8f 100644 --- a/sw/qa/python/var_fields.py +++ b/sw/qa/python/var_fields.py @@ -113,7 +113,7 @@ class TestVarFields(unittest.TestCase): xDoc.refresh() # 18. store document url = os.path.join(os.environ["TestUserDir"], "VarFields.odt") - #xDoc.storeToURL(url, tuple(list(range(0)))) + xDoc.storeToURL(url, tuple(list(range(0)))) # 19. retrieve the section xPropSet = xDoc.getTextSections().getByIndex(0) # 20. retrieve the condition property of that section