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 /svl/source/uno | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'svl/source/uno')
-rw-r--r-- | svl/source/uno/pathservice.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/svl/source/uno/pathservice.cxx b/svl/source/uno/pathservice.cxx index a3b704697eab..d6e7d2029da2 100644 --- a/svl/source/uno/pathservice.cxx +++ b/svl/source/uno/pathservice.cxx @@ -37,20 +37,20 @@ public: {} virtual OUString SAL_CALL getImplementationName() - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { return OUString("com.sun.star.comp.svl.PathService"); } virtual sal_Bool SAL_CALL supportsService ( const OUString & rName) - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { return rName.equalsAscii("com.sun.star.config.SpecialConfigManager"); } virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { css::uno::Sequence< OUString > aRet(1); aRet.getArray()[0] = "com.sun.star.config.SpecialConfigManager"; @@ -59,23 +59,23 @@ public: virtual OUString SAL_CALL substituteVariables ( const OUString& sText) - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { return m_aOptions.SubstituteVariable( sText ); } virtual void SAL_CALL addPropertyChangeListener ( const OUString &, const css::uno::Reference< css::beans::XPropertyChangeListener > &) - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) {} virtual void SAL_CALL removePropertyChangeListener ( const OUString &, const css::uno::Reference< css::beans::XPropertyChangeListener > &) - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) {} virtual void SAL_CALL flush() - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) {} }; |