diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-05 08:08:06 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-05 08:17:46 +0200 |
commit | da906ab93781928adc51c605825f91b16fe8dd19 (patch) | |
tree | d66505e7ca1c9894dd4fb10503f78a4edbd1be74 /cppuhelper/source/macro_expander.cxx | |
parent | 41066fef1ca94723615838fd521d08c5d37aac5b (diff) |
cppuhelper: remove SAL_THROW macro
Change-Id: I54141071396d04e7bead56da14a665b8556ba6d2
Diffstat (limited to 'cppuhelper/source/macro_expander.cxx')
-rw-r--r-- | cppuhelper/source/macro_expander.cxx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/cppuhelper/source/macro_expander.cxx b/cppuhelper/source/macro_expander.cxx index 65bff1004b8b..857e62d02dad 100644 --- a/cppuhelper/source/macro_expander.cxx +++ b/cppuhelper/source/macro_expander.cxx @@ -49,7 +49,7 @@ using rtl::OUString; namespace cppu { -Bootstrap const & get_unorc() SAL_THROW(()) +Bootstrap const & get_unorc() { static rtlBootstrapHandle s_bstrap = 0; if (! s_bstrap) @@ -126,11 +126,10 @@ protected: virtual void SAL_CALL disposing() SAL_OVERRIDE; public: - inline Bootstrap_MacroExpander() SAL_THROW(()) + inline Bootstrap_MacroExpander() : t_uno_impl( m_mutex ) {} - virtual ~Bootstrap_MacroExpander() - SAL_THROW(()); + virtual ~Bootstrap_MacroExpander(); // XMacroExpander impl virtual OUString SAL_CALL expandMacros( OUString const & exp ) @@ -148,7 +147,7 @@ public: void Bootstrap_MacroExpander::disposing() {} -Bootstrap_MacroExpander::~Bootstrap_MacroExpander() SAL_THROW(()) +Bootstrap_MacroExpander::~Bootstrap_MacroExpander() {} // XServiceInfo impl @@ -182,7 +181,6 @@ OUString Bootstrap_MacroExpander::expandMacros( OUString const & exp ) Reference< XInterface > SAL_CALL service_create( SAL_UNUSED_PARAMETER Reference< XComponentContext > const & ) - SAL_THROW( (RuntimeException) ) { return static_cast< ::cppu::OWeakObject * >( new Bootstrap_MacroExpander ); } @@ -191,7 +189,7 @@ Reference< XInterface > SAL_CALL service_create( namespace cppuhelper { namespace detail { -Reference< lang::XSingleComponentFactory > create_bootstrap_macro_expander_factory() SAL_THROW(()) +Reference< lang::XSingleComponentFactory > create_bootstrap_macro_expander_factory() { Reference< lang::XSingleComponentFactory > free(::cppu::createSingleComponentFactory( service_create, |