summaryrefslogtreecommitdiff
path: root/cppuhelper/source/macro_expander.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/source/macro_expander.cxx')
-rw-r--r--cppuhelper/source/macro_expander.cxx16
1 files changed, 4 insertions, 12 deletions
diff --git a/cppuhelper/source/macro_expander.cxx b/cppuhelper/source/macro_expander.cxx
index 923ee4d67dc8..8180065b2207 100644
--- a/cppuhelper/source/macro_expander.cxx
+++ b/cppuhelper/source/macro_expander.cxx
@@ -131,15 +131,11 @@ public:
{}
// XMacroExpander impl
- virtual OUString SAL_CALL expandMacros( OUString const & exp )
- throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL expandMacros( OUString const & exp ) override;
// XServiceInfo impl
- virtual OUString SAL_CALL getImplementationName()
- throw (RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( OUString const & serviceName )
- throw (RuntimeException, std::exception) override;
- virtual Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw (RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService( OUString const & serviceName ) override;
+ virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
@@ -149,19 +145,16 @@ void Bootstrap_MacroExpander::disposing()
// XServiceInfo impl
OUString Bootstrap_MacroExpander::getImplementationName()
- throw (RuntimeException, std::exception)
{
return s_impl_name();
}
sal_Bool Bootstrap_MacroExpander::supportsService( OUString const & serviceName )
- throw (RuntimeException, std::exception)
{
return cppu::supportsService(this, serviceName);
}
Sequence< OUString > Bootstrap_MacroExpander::getSupportedServiceNames()
- throw (RuntimeException, std::exception)
{
return s_get_service_names();
}
@@ -169,7 +162,6 @@ Sequence< OUString > Bootstrap_MacroExpander::getSupportedServiceNames()
// XMacroExpander impl
OUString Bootstrap_MacroExpander::expandMacros( OUString const & exp )
- throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception)
{
return cppuhelper::detail::expandMacros( exp );
}