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:
Stephan Bergmann
2013-04-29 10:44:59 +02:00
parent 1c2862e8d1
commit b993c5591e
3 changed files with 3 additions and 3 deletions

View File

@@ -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")

View File

@@ -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,

View File

@@ -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