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 /vbahelper/inc | |
parent | f1cb0a4ab4f11dc015be1696c7c7751802171915 (diff) |
Code cleanup: ( () ) replaced by (())
Diffstat (limited to 'vbahelper/inc')
-rw-r--r-- | vbahelper/inc/vbahelper/weakreference.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vbahelper/inc/vbahelper/weakreference.hxx b/vbahelper/inc/vbahelper/weakreference.hxx index a2640e7ae91b..18d45561cf26 100644 --- a/vbahelper/inc/vbahelper/weakreference.hxx +++ b/vbahelper/inc/vbahelper/weakreference.hxx @@ -52,16 +52,16 @@ class WeakReference public: /** Default constructor. Creates an empty weak reference. */ - inline explicit WeakReference() SAL_THROW( () ) : mpObject( 0 ) {} + inline explicit WeakReference() SAL_THROW(()) : mpObject( 0 ) {} /** Initializes this weak reference with the passed reference to an object. */ - inline explicit WeakReference( const ::rtl::Reference< ObjectType >& rxObject ) SAL_THROW( () ) : + inline explicit WeakReference( const ::rtl::Reference< ObjectType >& rxObject ) SAL_THROW(()) : mxWeakRef( rxObject.get() ), mpObject( rxObject.get() ) {} /** Releases this weak reference and takes over the passed reference. */ - inline WeakReference& SAL_CALL operator=( const ::rtl::Reference< ObjectType >& rxObject ) SAL_THROW( () ) + inline WeakReference& SAL_CALL operator=( const ::rtl::Reference< ObjectType >& rxObject ) SAL_THROW(()) { mxWeakRef = ::com::sun::star::uno::Reference< ::com::sun::star::uno::XWeak >( rxObject.get() ); mpObject = rxObject.get(); @@ -72,7 +72,7 @@ public: @return Reference or null, if the weakly referenced object is gone. */ - inline SAL_CALL operator ::rtl::Reference< ObjectType >() SAL_THROW( () ) + inline SAL_CALL operator ::rtl::Reference< ObjectType >() SAL_THROW(()) { ::com::sun::star::uno::Reference< ::com::sun::star::uno::XWeak > xRef = mxWeakRef; ::rtl::Reference< ObjectType > xObject; |