summaryrefslogtreecommitdiff
path: root/scripting/source/provider/URIHelper.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 21:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-26 18:22:20 +0100
commit5e21a413c788f839a66d9e4c14e745ed18058db8 (patch)
treed4451246461346a425ad6f796e08bf1514cdd942 /scripting/source/provider/URIHelper.cxx
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'scripting/source/provider/URIHelper.cxx')
-rw-r--r--scripting/source/provider/URIHelper.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/scripting/source/provider/URIHelper.cxx b/scripting/source/provider/URIHelper.cxx
index c42931208960..9343aa329f27 100644
--- a/scripting/source/provider/URIHelper.cxx
+++ b/scripting/source/provider/URIHelper.cxx
@@ -82,7 +82,7 @@ ScriptingFrameworkURIHelper::~ScriptingFrameworkURIHelper()
void SAL_CALL
ScriptingFrameworkURIHelper::initialize(
const uno::Sequence < uno::Any >& args )
-throw ( uno::Exception, uno::RuntimeException )
+throw ( uno::Exception, uno::RuntimeException, std::exception )
{
if ( args.getLength() != 2 ||
args[0].getValueType() != ::getCppuType((const OUString*)NULL) ||
@@ -211,7 +211,7 @@ ScriptingFrameworkURIHelper::getLanguagePath(const OUString& rLanguagePart)
OUString SAL_CALL
ScriptingFrameworkURIHelper::getScriptURI(const OUString& rStorageURI)
- throw( lang::IllegalArgumentException, uno::RuntimeException )
+ throw( lang::IllegalArgumentException, uno::RuntimeException, std::exception )
{
OUStringBuffer buf(120);
@@ -227,7 +227,7 @@ ScriptingFrameworkURIHelper::getScriptURI(const OUString& rStorageURI)
OUString SAL_CALL
ScriptingFrameworkURIHelper::getStorageURI(const OUString& rScriptURI)
- throw( lang::IllegalArgumentException, uno::RuntimeException )
+ throw( lang::IllegalArgumentException, uno::RuntimeException, std::exception )
{
OUString sLanguagePart;
try
@@ -255,14 +255,14 @@ ScriptingFrameworkURIHelper::getStorageURI(const OUString& rScriptURI)
OUString SAL_CALL
ScriptingFrameworkURIHelper::getRootStorageURI()
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
return m_sBaseURI;
}
OUString SAL_CALL
ScriptingFrameworkURIHelper::getImplementationName()
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
return OUString(
"com.sun.star.script.provider.ScriptURIHelper" );
@@ -270,7 +270,7 @@ ScriptingFrameworkURIHelper::getImplementationName()
sal_Bool SAL_CALL
ScriptingFrameworkURIHelper::supportsService( const OUString& serviceName )
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
OUString m_sServiceName(
"com.sun.star.script.provider.ScriptURIHelper" );
@@ -284,7 +284,7 @@ ScriptingFrameworkURIHelper::supportsService( const OUString& serviceName )
uno::Sequence< OUString > SAL_CALL
ScriptingFrameworkURIHelper::getSupportedServiceNames()
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
OUString serviceNameList[] = {
OUString(