diff options
author | Alexander Bergmann <myaddons@gmx.de> | 2012-01-26 16:00:09 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-01-26 17:41:07 +0000 |
commit | 0439af27e1f37b19d4409f34f974d6ade49f99bf (patch) | |
tree | 13bbb2549319d74a1a109bf2727aab37dca5b8c7 /cppu/inc/uno/current_context.hxx | |
parent | f1cb0a4ab4f11dc015be1696c7c7751802171915 (diff) |
Code cleanup: ( () ) replaced by (())
Diffstat (limited to 'cppu/inc/uno/current_context.hxx')
-rw-r--r-- | cppu/inc/uno/current_context.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cppu/inc/uno/current_context.hxx b/cppu/inc/uno/current_context.hxx index 80a7ad8d56b3..f1326e8108c3 100644 --- a/cppu/inc/uno/current_context.hxx +++ b/cppu/inc/uno/current_context.hxx @@ -50,7 +50,7 @@ namespace uno @return current context or null ref, if none is set */ inline Reference< XCurrentContext > SAL_CALL getCurrentContext() - SAL_THROW( () ) + SAL_THROW(()) { Reference< XCurrentContext > xRet; ::rtl::OUString aEnvTypeName( RTL_CONSTASCII_USTRINGPARAM(CPPU_CURRENT_LANGUAGE_BINDING_NAME) ); @@ -64,7 +64,7 @@ inline Reference< XCurrentContext > SAL_CALL getCurrentContext() */ inline bool SAL_CALL setCurrentContext( Reference< XCurrentContext > const & xContext ) - SAL_THROW( () ) + SAL_THROW(()) { ::rtl::OUString aEnvTypeName( RTL_CONSTASCII_USTRINGPARAM(CPPU_CURRENT_LANGUAGE_BINDING_NAME) ); return (::uno_setCurrentContext( xContext.get(), aEnvTypeName.pData, 0 ) != sal_False); @@ -90,22 +90,22 @@ public: */ inline ContextLayer( Reference< XCurrentContext > const & xNewContext = Reference< XCurrentContext >() ) - SAL_THROW( () ); + SAL_THROW(()); /** Destructor: restores the previous context. */ - inline ~ContextLayer() SAL_THROW( () ); + inline ~ContextLayer() SAL_THROW(()); /** Gets the previously set context. @return the previously set context */ inline Reference< XCurrentContext > SAL_CALL getPreviousContext() const - SAL_THROW( () ) + SAL_THROW(()) { return m_xPreviousContext; } }; //__________________________________________________________________________________________________ inline ContextLayer::ContextLayer( Reference< XCurrentContext > const & xNewContext ) - SAL_THROW( () ) + SAL_THROW(()) : m_aEnvTypeName( RTL_CONSTASCII_USTRINGPARAM(CPPU_CURRENT_LANGUAGE_BINDING_NAME) ) { ::uno_getCurrentContext( (void **)&m_xPreviousContext, m_aEnvTypeName.pData, 0 ); @@ -113,7 +113,7 @@ inline ContextLayer::ContextLayer( Reference< XCurrentContext > const & xNewCont } //__________________________________________________________________________________________________ inline ContextLayer::~ContextLayer() - SAL_THROW( () ) + SAL_THROW(()) { ::uno_setCurrentContext( m_xPreviousContext.get(), m_aEnvTypeName.pData, 0 ); } |