diff --git a/cppuhelper/inc/cppuhelper/weak.hxx b/cppuhelper/inc/cppuhelper/weak.hxx index a7886b725984..b023c14b0056 100644 --- a/cppuhelper/inc/cppuhelper/weak.hxx +++ b/cppuhelper/inc/cppuhelper/weak.hxx @@ -2,9 +2,9 @@ * * $RCSfile: weak.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 15:26:09 $ + * last change: $Author: dbo $ $Date: 2001-02-14 10:17:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -146,7 +146,8 @@ public: virtual void SAL_CALL release() throw(); // XWeak - virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XAdapter > SAL_CALL queryAdapter() throw(); + virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XAdapter > SAL_CALL queryAdapter() + throw (::com::sun::star::uno::RuntimeException); /// Avoid ambigous cast error from compiler. inline SAL_CALL operator ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > () throw() diff --git a/cppuhelper/inc/cppuhelper/weakagg.hxx b/cppuhelper/inc/cppuhelper/weakagg.hxx index 4d87996a9f57..8dc106abe665 100644 --- a/cppuhelper/inc/cppuhelper/weakagg.hxx +++ b/cppuhelper/inc/cppuhelper/weakagg.hxx @@ -2,9 +2,9 @@ * * $RCSfile: weakagg.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 15:26:09 $ + * last change: $Author: dbo $ $Date: 2001-02-14 10:17:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -131,7 +131,8 @@ protected: /** * Call the destructor is only allowed if the reference count is zero. */ - virtual ~OWeakAggObject(); + virtual ~OWeakAggObject() + throw (::com::sun::star::uno::RuntimeException); /** * The delegator set with setDelegator. diff --git a/cppuhelper/source/weak.cxx b/cppuhelper/source/weak.cxx index c2cc7a0faa0a..14ea962d5171 100644 --- a/cppuhelper/source/weak.cxx +++ b/cppuhelper/source/weak.cxx @@ -2,9 +2,9 @@ * * $RCSfile: weak.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: dbo $ $Date: 2000-12-06 16:48:11 $ + * last change: $Author: dbo $ $Date: 2001-02-14 10:17:32 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -257,7 +257,8 @@ OWeakObject::~OWeakObject() throw(::com::sun::star::uno::RuntimeException) } // XWeak -Reference< XAdapter > SAL_CALL OWeakObject::queryAdapter(void) throw() +Reference< XAdapter > SAL_CALL OWeakObject::queryAdapter() + throw (::com::sun::star::uno::RuntimeException) { if (!m_pWeakConnectionPoint) { @@ -278,6 +279,7 @@ Reference< XAdapter > SAL_CALL OWeakObject::queryAdapter(void) throw() //-- OWeakAggObject ---------------------------------------------------- //------------------------------------------------------------------------ OWeakAggObject::~OWeakAggObject() + throw (::com::sun::star::uno::RuntimeException) { }