diff options
author | Daniel Boelzle <dbo@openoffice.org> | 2001-02-14 09:17:32 +0000 |
---|---|---|
committer | Daniel Boelzle <dbo@openoffice.org> | 2001-02-14 09:17:32 +0000 |
commit | 09efcd82b4eefbc104d9a314d8bf5501b70bfd60 (patch) | |
tree | 274183d3254187b80dbb69b9f93d1d440cc1652d /cppuhelper | |
parent | 69c1470af53d1b3ff982442fa9110e213d66f97d (diff) |
incorrect exception decl
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/inc/cppuhelper/weak.hxx | 7 | ||||
-rw-r--r-- | cppuhelper/inc/cppuhelper/weakagg.hxx | 7 | ||||
-rw-r--r-- | cppuhelper/source/weak.cxx | 8 |
3 files changed, 13 insertions, 9 deletions
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) { } |