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 /cli_ure/source | |
parent | f1cb0a4ab4f11dc015be1696c7c7751802171915 (diff) |
Code cleanup: ( () ) replaced by (())
Diffstat (limited to 'cli_ure/source')
-rw-r--r-- | cli_ure/source/uno_bridge/cli_base.h | 2 | ||||
-rw-r--r-- | cli_ure/source/uno_bridge/cli_bridge.cxx | 6 | ||||
-rw-r--r-- | cli_ure/source/uno_bridge/cli_bridge.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/cli_ure/source/uno_bridge/cli_base.h b/cli_ure/source/uno_bridge/cli_base.h index 8d70d228dc1e..20a88d144872 100644 --- a/cli_ure/source/uno_bridge/cli_base.h +++ b/cli_ure/source/uno_bridge/cli_base.h @@ -157,7 +157,7 @@ class TypeDescr public: inline explicit TypeDescr( typelib_TypeDescriptionReference * td_ref ); - inline ~TypeDescr() SAL_THROW( () ) + inline ~TypeDescr() SAL_THROW(()) { TYPELIB_DANGER_RELEASE( m_td ); } inline typelib_TypeDescription * get() const diff --git a/cli_ure/source/uno_bridge/cli_bridge.cxx b/cli_ure/source/uno_bridge/cli_bridge.cxx index 19ed2e503754..c910d8e5953f 100644 --- a/cli_ure/source/uno_bridge/cli_bridge.cxx +++ b/cli_ure/source/uno_bridge/cli_bridge.cxx @@ -199,7 +199,7 @@ namespace cli_uno calls acquire then they must have kept an unacquired pointer which is illegal. */ -void Bridge::acquire() const SAL_THROW( () ) +void Bridge::acquire() const SAL_THROW(()) { if (1 == osl_incrementInterlockedCount( &m_ref )) { @@ -218,7 +218,7 @@ void Bridge::acquire() const SAL_THROW( () ) } } //__________________________________________________________________________________________________ -void Bridge::release() const SAL_THROW( () ) +void Bridge::release() const SAL_THROW(()) { if (! osl_decrementInterlockedCount( &m_ref )) { @@ -255,7 +255,7 @@ Bridge::Bridge( } //__________________________________________________________________________________________________ -Bridge::~Bridge() SAL_THROW( () ) +Bridge::~Bridge() SAL_THROW(()) { //System::GC::Collect(); (*m_uno_cli_env->release)( m_uno_cli_env ); diff --git a/cli_ure/source/uno_bridge/cli_bridge.h b/cli_ure/source/uno_bridge/cli_bridge.h index 34d6ed294d4d..0306e4dd6357 100644 --- a/cli_ure/source/uno_bridge/cli_bridge.h +++ b/cli_ure/source/uno_bridge/cli_bridge.h @@ -74,7 +74,7 @@ struct Bridge Mapping m_uno2cli; bool m_registered_cli2uno; - ~Bridge() SAL_THROW( () ); + ~Bridge() SAL_THROW(()); Bridge( uno_Environment * java_env, uno_ExtEnvironment * uno_env, bool registered_java2uno ); void acquire() const; |