incorrect exception decl

This commit is contained in:
Daniel Boelzle
2001-02-14 09:17:32 +00:00
parent 69c1470af5
commit 09efcd82b4
3 changed files with 13 additions and 9 deletions

View File

@@ -2,9 +2,9 @@
* *
* $RCSfile: weak.hxx,v $ * $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 * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@@ -146,7 +146,8 @@ public:
virtual void SAL_CALL release() throw(); virtual void SAL_CALL release() throw();
// XWeak // 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. /// Avoid ambigous cast error from compiler.
inline SAL_CALL operator ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > () throw() inline SAL_CALL operator ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > () throw()

View File

@@ -2,9 +2,9 @@
* *
* $RCSfile: weakagg.hxx,v $ * $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 * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@@ -131,7 +131,8 @@ protected:
/** /**
* Call the destructor is only allowed if the reference count is zero. * 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. * The delegator set with setDelegator.

View File

@@ -2,9 +2,9 @@
* *
* $RCSfile: weak.cxx,v $ * $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 * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@@ -257,7 +257,8 @@ OWeakObject::~OWeakObject() throw(::com::sun::star::uno::RuntimeException)
} }
// XWeak // XWeak
Reference< XAdapter > SAL_CALL OWeakObject::queryAdapter(void) throw() Reference< XAdapter > SAL_CALL OWeakObject::queryAdapter()
throw (::com::sun::star::uno::RuntimeException)
{ {
if (!m_pWeakConnectionPoint) if (!m_pWeakConnectionPoint)
{ {
@@ -278,6 +279,7 @@ Reference< XAdapter > SAL_CALL OWeakObject::queryAdapter(void) throw()
//-- OWeakAggObject ---------------------------------------------------- //-- OWeakAggObject ----------------------------------------------------
//------------------------------------------------------------------------ //------------------------------------------------------------------------
OWeakAggObject::~OWeakAggObject() OWeakAggObject::~OWeakAggObject()
throw (::com::sun::star::uno::RuntimeException)
{ {
} }