RuntimeException missing from exception specification for UNO method
...which lead to std::unoexpected from sw/PythonTest_sw_python. Change-Id: I94bdbbe131a7c65c363f7aa66e8d8df7bd531449
This commit is contained in:
@@ -212,7 +212,7 @@ Reference<task::XAbortChannel> ExtensionManager::createAbortChannel()
|
||||
|
||||
css::uno::Reference<css::deployment::XPackageManager>
|
||||
ExtensionManager::getPackageManager(OUString const & repository)
|
||||
throw (css::lang::IllegalArgumentException)
|
||||
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException)
|
||||
{
|
||||
Reference<deploy::XPackageManager> xPackageManager;
|
||||
if (repository == "user")
|
||||
|
@@ -277,7 +277,7 @@ private:
|
||||
|
||||
css::uno::Reference<css::deployment::XPackageManager>
|
||||
getPackageManager(OUString const & repository)
|
||||
throw (css::lang::IllegalArgumentException);
|
||||
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
|
||||
|
||||
bool doChecksForAddExtension(
|
||||
css::uno::Reference<css::deployment::XPackageManager> const & xPackageMgr,
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user