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 /desktop/source/app/configinit.cxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'desktop/source/app/configinit.cxx')
-rw-r--r-- | desktop/source/app/configinit.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/source/app/configinit.cxx b/desktop/source/app/configinit.cxx index b53b93bf981e..ce7a2400890a 100644 --- a/desktop/source/app/configinit.cxx +++ b/desktop/source/app/configinit.cxx @@ -70,12 +70,12 @@ namespace // XCurrentContext virtual uno::Any SAL_CALL getValueByName( OUString const & aName) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); }; uno::Any SAL_CALL SimpleCurrentContext::getValueByName( OUString const & aName) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { return getChainedValueByName(aName); } @@ -98,7 +98,7 @@ public: // XCurrentContext virtual uno::Any SAL_CALL getValueByName( OUString const & aName) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); private: InteractionHandler m_xHandler; @@ -106,7 +106,7 @@ private: uno::Any SAL_CALL ConfigurationErrorHandler::Context::getValueByName( OUString const & aName) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { if ( aName == CONFIG_ERROR_HANDLER ) { |