diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-25 21:31:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:22:20 +0100 |
commit | 5e21a413c788f839a66d9e4c14e745ed18058db8 (patch) | |
tree | d4451246461346a425ad6f796e08bf1514cdd942 /shell/source/unix/exec/shellexec.cxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'shell/source/unix/exec/shellexec.cxx')
-rw-r--r-- | shell/source/unix/exec/shellexec.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/source/unix/exec/shellexec.cxx b/shell/source/unix/exec/shellexec.cxx index 41af7b2059b6..e1a923d4a8e4 100644 --- a/shell/source/unix/exec/shellexec.cxx +++ b/shell/source/unix/exec/shellexec.cxx @@ -112,7 +112,7 @@ ShellExec::ShellExec( const Reference< XComponentContext >& xContext ) : void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aParameter, sal_Int32 nFlags ) - throw (IllegalArgumentException, SystemShellExecuteException, RuntimeException) + throw (IllegalArgumentException, SystemShellExecuteException, RuntimeException, std::exception) { OStringBuffer aBuffer, aLaunchBuffer; @@ -268,21 +268,21 @@ void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aPar // XServiceInfo OUString SAL_CALL ShellExec::getImplementationName( ) - throw( RuntimeException ) + throw( RuntimeException, std::exception ) { return OUString(SHELLEXEC_IMPL_NAME ); } // XServiceInfo sal_Bool SAL_CALL ShellExec::supportsService( const OUString& ServiceName ) - throw( RuntimeException ) + throw( RuntimeException, std::exception ) { return cppu::supportsService(this, ServiceName); } // XServiceInfo Sequence< OUString > SAL_CALL ShellExec::getSupportedServiceNames( ) - throw( RuntimeException ) + throw( RuntimeException, std::exception ) { return ShellExec_getSupportedServiceNames(); } |