diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 09:31:53 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 09:31:53 +0000 |
commit | 593ff1a5418a31fbad2b63822ecc2ffad6f46bff (patch) | |
tree | 738130d2a7592b9762cbafad364aa4d73b529fef /cppuhelper/inc | |
parent | 210731edd48382e0c6754777d14a18501a96aeec (diff) |
INTEGRATION: CWS warnings01 (1.7.164); FILE MERGED
2005/11/08 17:43:46 pl 1.7.164.3: #i53898# removed warnings
2005/09/22 15:34:40 sb 1.7.164.2: RESYNC: (1.7-1.8); FILE MERGED
2005/09/07 11:05:27 sb 1.7.164.1: #i53898# Made code warning-free.
Diffstat (limited to 'cppuhelper/inc')
-rw-r--r-- | cppuhelper/inc/cppuhelper/weak.hxx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/cppuhelper/inc/cppuhelper/weak.hxx b/cppuhelper/inc/cppuhelper/weak.hxx index 5fe1b44c0..8c05c36a0 100644 --- a/cppuhelper/inc/cppuhelper/weak.hxx +++ b/cppuhelper/inc/cppuhelper/weak.hxx @@ -4,9 +4,9 @@ * * $RCSfile: weak.hxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: rt $ $Date: 2005-09-08 09:22:44 $ + * last change: $Author: hr $ $Date: 2006-06-19 10:31:53 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -129,15 +129,17 @@ public: @param rObj dummy param */ - inline OWeakObject( const OWeakObject & rObj ) SAL_THROW( () ) - : m_refCount( 0 ) + inline OWeakObject( const OWeakObject & ) SAL_THROW( () ) + : com::sun::star::uno::XWeak() + , m_refCount( 0 ) , m_pWeakConnectionPoint( 0 ) {} /** Dummy assignment operator. Does not affect reference count. @return this OWeakObject */ - inline OWeakObject & SAL_CALL operator = ( const OWeakObject & rObj) SAL_THROW( () ) + inline OWeakObject & SAL_CALL operator = ( const OWeakObject &) + SAL_THROW( () ) { return *this; } /** Basic queryInterface() implementation supporting ::com::sun::star::uno::XWeak and |