diff options
author | Kai Sommerfeld <kso@openoffice.org> | 2001-05-29 06:12:19 +0000 |
---|---|---|
committer | Kai Sommerfeld <kso@openoffice.org> | 2001-05-29 06:12:19 +0000 |
commit | b93947b06a22f6e4f9f9ad068b694eaefd55f81b (patch) | |
tree | 904ec2ed4efac68fb7a9f861872f446285a0243a | |
parent | cf1555566e384d6fedfe7f5334c9b30dc66567ae (diff) |
#87187# - Corrected exception specification for acquire() and release().
-rw-r--r-- | ucbhelper/inc/ucbhelper/interactionrequest.hxx | 40 | ||||
-rw-r--r-- | ucbhelper/source/provider/interactionrequest.cxx | 28 |
2 files changed, 40 insertions, 28 deletions
diff --git a/ucbhelper/inc/ucbhelper/interactionrequest.hxx b/ucbhelper/inc/ucbhelper/interactionrequest.hxx index 35ab7b10e63d..68fef78e3b9b 100644 --- a/ucbhelper/inc/ucbhelper/interactionrequest.hxx +++ b/ucbhelper/inc/ucbhelper/interactionrequest.hxx @@ -2,9 +2,9 @@ * * $RCSfile: interactionrequest.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: kso $ $Date: 2001-05-28 12:58:03 $ + * last change: $Author: kso $ $Date: 2001-05-29 07:12:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -138,8 +138,10 @@ public: virtual com::sun::star::uno::Any SAL_CALL queryInterface( const com::sun::star::uno::Type & rType ) throw( com::sun::star::uno::RuntimeException ); - virtual void SAL_CALL acquire(); - virtual void SAL_CALL release(); + virtual void SAL_CALL acquire() + throw(); + virtual void SAL_CALL release() + throw(); // XTypeProvider virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > SAL_CALL @@ -234,8 +236,10 @@ public: virtual com::sun::star::uno::Any SAL_CALL queryInterface( const com::sun::star::uno::Type & rType ) throw( com::sun::star::uno::RuntimeException ); - virtual void SAL_CALL acquire(); - virtual void SAL_CALL release(); + virtual void SAL_CALL acquire() + throw(); + virtual void SAL_CALL release() + throw(); // XTypeProvider virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > SAL_CALL @@ -269,8 +273,10 @@ public: virtual com::sun::star::uno::Any SAL_CALL queryInterface( const com::sun::star::uno::Type & rType ) throw( com::sun::star::uno::RuntimeException ); - virtual void SAL_CALL acquire(); - virtual void SAL_CALL release(); + virtual void SAL_CALL acquire() + throw(); + virtual void SAL_CALL release() + throw(); // XTypeProvider virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > SAL_CALL @@ -304,8 +310,10 @@ public: virtual com::sun::star::uno::Any SAL_CALL queryInterface( const com::sun::star::uno::Type & rType ) throw( com::sun::star::uno::RuntimeException ); - virtual void SAL_CALL acquire(); - virtual void SAL_CALL release(); + virtual void SAL_CALL acquire() + throw(); + virtual void SAL_CALL release() + throw(); // XTypeProvider virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > SAL_CALL @@ -339,8 +347,10 @@ public: virtual com::sun::star::uno::Any SAL_CALL queryInterface( const com::sun::star::uno::Type & rType ) throw( com::sun::star::uno::RuntimeException ); - virtual void SAL_CALL acquire(); - virtual void SAL_CALL release(); + virtual void SAL_CALL acquire() + throw(); + virtual void SAL_CALL release() + throw(); // XTypeProvider virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > SAL_CALL @@ -456,8 +466,10 @@ public: virtual com::sun::star::uno::Any SAL_CALL queryInterface( const com::sun::star::uno::Type & rType ) throw( com::sun::star::uno::RuntimeException ); - virtual void SAL_CALL acquire(); - virtual void SAL_CALL release(); + virtual void SAL_CALL acquire() + throw(); + virtual void SAL_CALL release() + throw(); // XTypeProvider virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > SAL_CALL diff --git a/ucbhelper/source/provider/interactionrequest.cxx b/ucbhelper/source/provider/interactionrequest.cxx index 8fb271099f06..2267c114565f 100644 --- a/ucbhelper/source/provider/interactionrequest.cxx +++ b/ucbhelper/source/provider/interactionrequest.cxx @@ -2,9 +2,9 @@ * * $RCSfile: interactionrequest.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: kso $ $Date: 2001-05-28 12:42:46 $ + * last change: $Author: kso $ $Date: 2001-05-29 07:12:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -161,7 +161,7 @@ void InteractionRequest::setSelection( // virtual void SAL_CALL InteractionRequest::acquire() - throw( uno::RuntimeException ) + throw() { OWeakObject::acquire(); } @@ -169,7 +169,7 @@ void SAL_CALL InteractionRequest::acquire() //========================================================================= // virtual void SAL_CALL InteractionRequest::release() - throw( uno::RuntimeException ) + throw() { OWeakObject::release(); } @@ -311,7 +311,7 @@ void InteractionContinuation::recordSelection() // virtual void SAL_CALL InteractionAbort::acquire() - throw( uno::RuntimeException ) + throw() { OWeakObject::acquire(); } @@ -319,7 +319,7 @@ void SAL_CALL InteractionAbort::acquire() //========================================================================= // virtual void SAL_CALL InteractionAbort::release() - throw( uno::RuntimeException ) + throw() { OWeakObject::release(); } @@ -413,7 +413,7 @@ void SAL_CALL InteractionAbort::select() // virtual void SAL_CALL InteractionRetry::acquire() - throw( uno::RuntimeException ) + throw() { OWeakObject::acquire(); } @@ -421,7 +421,7 @@ void SAL_CALL InteractionRetry::acquire() //========================================================================= // virtual void SAL_CALL InteractionRetry::release() - throw( uno::RuntimeException ) + throw() { OWeakObject::release(); } @@ -515,7 +515,7 @@ void SAL_CALL InteractionRetry::select() // virtual void SAL_CALL InteractionApprove::acquire() - throw( uno::RuntimeException ) + throw() { OWeakObject::acquire(); } @@ -523,7 +523,7 @@ void SAL_CALL InteractionApprove::acquire() //========================================================================= // virtual void SAL_CALL InteractionApprove::release() - throw( uno::RuntimeException ) + throw() { OWeakObject::release(); } @@ -617,7 +617,7 @@ void SAL_CALL InteractionApprove::select() // virtual void SAL_CALL InteractionDisapprove::acquire() - throw( uno::RuntimeException ) + throw() { OWeakObject::acquire(); } @@ -625,7 +625,7 @@ void SAL_CALL InteractionDisapprove::acquire() //========================================================================= // virtual void SAL_CALL InteractionDisapprove::release() - throw( uno::RuntimeException ) + throw() { OWeakObject::release(); } @@ -719,7 +719,7 @@ void SAL_CALL InteractionDisapprove::select() // virtual void SAL_CALL InteractionSupplyAuthentication::acquire() - throw( uno::RuntimeException ) + throw() { OWeakObject::acquire(); } @@ -727,7 +727,7 @@ void SAL_CALL InteractionSupplyAuthentication::acquire() //========================================================================= // virtual void SAL_CALL InteractionSupplyAuthentication::release() - throw( uno::RuntimeException ) + throw() { OWeakObject::release(); } |