diff options
Diffstat (limited to 'cppuhelper/inc/cppuhelper/weakagg.hxx')
-rw-r--r-- | cppuhelper/inc/cppuhelper/weakagg.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cppuhelper/inc/cppuhelper/weakagg.hxx b/cppuhelper/inc/cppuhelper/weakagg.hxx index adc3b7987d04..aac14997e5a7 100644 --- a/cppuhelper/inc/cppuhelper/weakagg.hxx +++ b/cppuhelper/inc/cppuhelper/weakagg.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -33,14 +33,14 @@ namespace cppu -{ +{ /** Base class to implement an UNO object supporting weak references, i.e. the object can be held weakly (by a ::com::sun::star::uno::WeakReference) and aggregation, i.e. the object can be aggregated by another (delegator). This implementation copes with reference counting. Upon last release(), the virtual dtor is called. - + @derive Inherit from this class and delegate acquire()/ release() calls. Re-implement XAggregation::queryInterface(). @@ -54,7 +54,7 @@ public: */ inline OWeakAggObject() SAL_THROW( () ) {} - + /** If a delegator is set, then the delegators gets acquired. Otherwise call is delegated to base class ::cppu::OWeakObject. */ @@ -66,7 +66,7 @@ public: /** If a delegator is set, then the delegator is queried for the demanded interface. If the delegator cannot provide the demanded interface, it calls queryAggregation() on its aggregated objects. - + @param rType demanded interface type @return demanded type or empty any @see queryAggregation. @@ -75,14 +75,14 @@ public: throw(::com::sun::star::uno::RuntimeException); /** Set the delegator. The delegator member reference is a weak reference. - + @param Delegator the object that delegate its queryInterface to this aggregate. */ virtual void SAL_CALL setDelegator( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & Delegator ) throw(::com::sun::star::uno::RuntimeException); /** Called by the delegator or queryInterface. Re-implement this method instead of queryInterface. - + @see queryInterface */ virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type & rType ) @@ -96,7 +96,7 @@ protected: exception upon destruction! */ virtual ~OWeakAggObject() SAL_THROW( (::com::sun::star::uno::RuntimeException) ); - + /** weak reference to delegator. */ ::com::sun::star::uno::WeakReferenceHelper xDelegator; |