diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2001-10-24 15:20:07 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2001-10-24 15:20:07 +0000 |
commit | 680020d77c866a5cbbbce203104ba081f953af17 (patch) | |
tree | 13be4832f9f44a95321200526ddab1c26d16cf1f /ucb | |
parent | 1a6c74f37203072027c8aac00eaa3ec0e228b8ad (diff) |
#92924#: exception specifications
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/file/bc.cxx | 8 | ||||
-rw-r--r-- | ucb/source/ucp/file/bc.hxx | 8 | ||||
-rw-r--r-- | ucb/source/ucp/file/filcmd.cxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/file/filcmd.hxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/file/filid.cxx | 8 | ||||
-rw-r--r-- | ucb/source/ucp/file/filid.hxx | 8 | ||||
-rw-r--r-- | ucb/source/ucp/file/filinpstr.cxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/file/filinpstr.hxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/file/filprp.cxx | 8 | ||||
-rw-r--r-- | ucb/source/ucp/file/filprp.hxx | 8 | ||||
-rw-r--r-- | ucb/source/ucp/file/filrow.cxx | 8 | ||||
-rw-r--r-- | ucb/source/ucp/file/filrow.hxx | 8 | ||||
-rw-r--r-- | ucb/source/ucp/file/filrset.cxx | 8 | ||||
-rw-r--r-- | ucb/source/ucp/file/filrset.hxx | 8 | ||||
-rw-r--r-- | ucb/source/ucp/file/prov.cxx | 18 | ||||
-rw-r--r-- | ucb/source/ucp/file/prov.hxx | 8 |
16 files changed, 62 insertions, 60 deletions
diff --git a/ucb/source/ucp/file/bc.cxx b/ucb/source/ucp/file/bc.cxx index b204c051d7d3..7245eb266f35 100644 --- a/ucb/source/ucp/file/bc.cxx +++ b/ucb/source/ucp/file/bc.cxx @@ -2,9 +2,9 @@ * * $RCSfile: bc.cxx,v $ * - * $Revision: 1.23 $ + * $Revision: 1.24 $ * - * last change: $Author: abi $ $Date: 2001-09-06 08:43:14 $ + * last change: $Author: hr $ $Date: 2001-10-24 16:20:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -222,7 +222,7 @@ BaseContent::~BaseContent( ) void SAL_CALL BaseContent::acquire( void ) - throw( RuntimeException ) + throw() { OWeakObject::acquire(); } @@ -230,7 +230,7 @@ BaseContent::acquire( void ) void SAL_CALL BaseContent::release( void ) - throw( RuntimeException ) + throw() { OWeakObject::release(); } diff --git a/ucb/source/ucp/file/bc.hxx b/ucb/source/ucp/file/bc.hxx index 3e0bc83ca90a..7928cf658691 100644 --- a/ucb/source/ucp/file/bc.hxx +++ b/ucb/source/ucp/file/bc.hxx @@ -2,9 +2,9 @@ * * $RCSfile: bc.hxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: kso $ $Date: 2001-07-27 13:28:35 $ + * last change: $Author: hr $ $Date: 2001-10-24 16:20:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -198,12 +198,12 @@ namespace fileaccess { virtual void SAL_CALL acquire( void ) - throw( com::sun::star::uno::RuntimeException); + throw(); virtual void SAL_CALL release( void ) - throw( com::sun::star::uno::RuntimeException); + throw(); // XComponent diff --git a/ucb/source/ucp/file/filcmd.cxx b/ucb/source/ucp/file/filcmd.cxx index db5e36b99990..e5251befe2b6 100644 --- a/ucb/source/ucp/file/filcmd.cxx +++ b/ucb/source/ucp/file/filcmd.cxx @@ -29,7 +29,7 @@ XCommandInfo_impl::~XCommandInfo_impl() void SAL_CALL XCommandInfo_impl::acquire( void ) - throw( uno::RuntimeException ) + throw() { OWeakObject::acquire(); } @@ -38,7 +38,7 @@ XCommandInfo_impl::acquire( void SAL_CALL XCommandInfo_impl::release( void ) - throw( uno::RuntimeException ) + throw() { OWeakObject::release(); } diff --git a/ucb/source/ucp/file/filcmd.hxx b/ucb/source/ucp/file/filcmd.hxx index c260591b7ba9..78d50d30c8db 100644 --- a/ucb/source/ucp/file/filcmd.hxx +++ b/ucb/source/ucp/file/filcmd.hxx @@ -44,12 +44,12 @@ namespace fileaccess { virtual void SAL_CALL acquire( void ) - throw( com::sun::star::uno::RuntimeException); + throw(); virtual void SAL_CALL release( void ) - throw( com::sun::star::uno::RuntimeException); + throw(); // XCommandInfo diff --git a/ucb/source/ucp/file/filid.cxx b/ucb/source/ucp/file/filid.cxx index 4522615d5b88..9f733b47b4e7 100644 --- a/ucb/source/ucp/file/filid.cxx +++ b/ucb/source/ucp/file/filid.cxx @@ -2,9 +2,9 @@ * * $RCSfile: filid.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: hro $ $Date: 2001-06-01 10:15:22 $ + * last change: $Author: hr $ $Date: 2001-10-24 16:20:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -113,7 +113,7 @@ FileContentIdentifier::~FileContentIdentifier() void SAL_CALL FileContentIdentifier::acquire( void ) - throw( uno::RuntimeException ) + throw() { OWeakObject::acquire(); } @@ -122,7 +122,7 @@ FileContentIdentifier::acquire( void SAL_CALL FileContentIdentifier::release( void ) - throw( uno::RuntimeException ) + throw() { OWeakObject::release(); } diff --git a/ucb/source/ucp/file/filid.hxx b/ucb/source/ucp/file/filid.hxx index 84445e1a448f..20f1c738cd54 100644 --- a/ucb/source/ucp/file/filid.hxx +++ b/ucb/source/ucp/file/filid.hxx @@ -2,9 +2,9 @@ * * $RCSfile: filid.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: abi $ $Date: 2001-06-22 12:23:38 $ + * last change: $Author: hr $ $Date: 2001-10-24 16:20:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -101,12 +101,12 @@ namespace fileaccess { virtual void SAL_CALL acquire( void ) - throw( com::sun::star::uno::RuntimeException ); + throw(); virtual void SAL_CALL release( void ) - throw( com::sun::star::uno::RuntimeException ); + throw(); // XTypeProvider virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > SAL_CALL diff --git a/ucb/source/ucp/file/filinpstr.cxx b/ucb/source/ucp/file/filinpstr.cxx index e268389a57bb..ae754ffb6d52 100644 --- a/ucb/source/ucp/file/filinpstr.cxx +++ b/ucb/source/ucp/file/filinpstr.cxx @@ -73,7 +73,7 @@ XInputStream_impl::queryInterface( void SAL_CALL XInputStream_impl::acquire( void ) - throw( uno::RuntimeException ) + throw() { OWeakObject::acquire(); } @@ -82,7 +82,7 @@ XInputStream_impl::acquire( void SAL_CALL XInputStream_impl::release( void ) - throw( uno::RuntimeException ) + throw() { OWeakObject::release(); } diff --git a/ucb/source/ucp/file/filinpstr.hxx b/ucb/source/ucp/file/filinpstr.hxx index 33788b0a9dd5..3f38922dab48 100644 --- a/ucb/source/ucp/file/filinpstr.hxx +++ b/ucb/source/ucp/file/filinpstr.hxx @@ -58,12 +58,12 @@ namespace fileaccess { virtual void SAL_CALL acquire( void ) - throw( com::sun::star::uno::RuntimeException); + throw(); virtual void SAL_CALL release( void ) - throw( com::sun::star::uno::RuntimeException ); + throw(); virtual sal_Int32 SAL_CALL readBytes( diff --git a/ucb/source/ucp/file/filprp.cxx b/ucb/source/ucp/file/filprp.cxx index d034c8b1a81e..c07b3a991d51 100644 --- a/ucb/source/ucp/file/filprp.cxx +++ b/ucb/source/ucp/file/filprp.cxx @@ -2,9 +2,9 @@ * * $RCSfile: filprp.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: kso $ $Date: 2001-07-23 13:05:55 $ + * last change: $Author: hr $ $Date: 2001-10-24 16:20:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -123,7 +123,7 @@ XPropertySetInfo_impl::~XPropertySetInfo_impl() void SAL_CALL XPropertySetInfo_impl::acquire( void ) - throw( RuntimeException ) + throw() { OWeakObject::acquire(); } @@ -132,7 +132,7 @@ XPropertySetInfo_impl::acquire( void SAL_CALL XPropertySetInfo_impl::release( void ) - throw( RuntimeException ) + throw() { OWeakObject::release(); } diff --git a/ucb/source/ucp/file/filprp.hxx b/ucb/source/ucp/file/filprp.hxx index 65f4db3e78f2..8078a82dd13d 100644 --- a/ucb/source/ucp/file/filprp.hxx +++ b/ucb/source/ucp/file/filprp.hxx @@ -2,9 +2,9 @@ * * $RCSfile: filprp.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: abi $ $Date: 2001-06-22 12:23:38 $ + * last change: $Author: hr $ $Date: 2001-10-24 16:20:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -102,12 +102,12 @@ namespace fileaccess { virtual void SAL_CALL acquire( void ) - throw( com::sun::star::uno::RuntimeException); + throw(); virtual void SAL_CALL release( void ) - throw( com::sun::star::uno::RuntimeException ); + throw(); // XTypeProvider diff --git a/ucb/source/ucp/file/filrow.cxx b/ucb/source/ucp/file/filrow.cxx index 40617cb2ded8..a06196266712 100644 --- a/ucb/source/ucp/file/filrow.cxx +++ b/ucb/source/ucp/file/filrow.cxx @@ -2,9 +2,9 @@ * * $RCSfile: filrow.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: kso $ $Date: 2001-07-23 13:05:55 $ + * last change: $Author: hr $ $Date: 2001-10-24 16:20:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -132,7 +132,7 @@ XRow_impl::~XRow_impl() void SAL_CALL XRow_impl::acquire( void ) - throw( uno::RuntimeException ) + throw() { OWeakObject::acquire(); } @@ -140,7 +140,7 @@ XRow_impl::acquire( void SAL_CALL XRow_impl::release( void ) - throw( uno::RuntimeException ) + throw() { OWeakObject::release(); } diff --git a/ucb/source/ucp/file/filrow.hxx b/ucb/source/ucp/file/filrow.hxx index e8f85d378d45..e0a4d83aa89d 100644 --- a/ucb/source/ucp/file/filrow.hxx +++ b/ucb/source/ucp/file/filrow.hxx @@ -2,9 +2,9 @@ * * $RCSfile: filrow.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: abi $ $Date: 2001-06-22 12:23:38 $ + * last change: $Author: hr $ $Date: 2001-10-24 16:20:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -105,12 +105,12 @@ namespace fileaccess { virtual void SAL_CALL acquire( void ) - throw( com::sun::star::uno::RuntimeException); + throw(); virtual void SAL_CALL release( void ) - throw( com::sun::star::uno::RuntimeException); + throw(); // XTypeProvider diff --git a/ucb/source/ucp/file/filrset.cxx b/ucb/source/ucp/file/filrset.cxx index b32e483e337c..50f5757c6b59 100644 --- a/ucb/source/ucp/file/filrset.cxx +++ b/ucb/source/ucp/file/filrset.cxx @@ -2,9 +2,9 @@ * * $RCSfile: filrset.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: kso $ $Date: 2001-07-23 13:05:55 $ + * last change: $Author: hr $ $Date: 2001-10-24 16:20:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -183,7 +183,7 @@ sal_Int32 SAL_CALL XResultSet_impl::getMinorError() void SAL_CALL XResultSet_impl::acquire( void ) - throw( RuntimeException ) + throw() { OWeakObject::acquire(); } @@ -192,7 +192,7 @@ XResultSet_impl::acquire( void SAL_CALL XResultSet_impl::release( void ) - throw( RuntimeException ) + throw() { OWeakObject::release(); } diff --git a/ucb/source/ucp/file/filrset.hxx b/ucb/source/ucp/file/filrset.hxx index 358763f90507..c036066e42c7 100644 --- a/ucb/source/ucp/file/filrset.hxx +++ b/ucb/source/ucp/file/filrset.hxx @@ -2,9 +2,9 @@ * * $RCSfile: filrset.hxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: abi $ $Date: 2001-06-29 15:00:12 $ + * last change: $Author: hr $ $Date: 2001-10-24 16:20:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -188,12 +188,12 @@ namespace fileaccess { virtual void SAL_CALL acquire( void ) - throw( com::sun::star::uno::RuntimeException); + throw(); virtual void SAL_CALL release( void ) - throw( com::sun::star::uno::RuntimeException); + throw(); // XTypeProvider diff --git a/ucb/source/ucp/file/prov.cxx b/ucb/source/ucp/file/prov.cxx index 8b5ed7d51710..a829c3c7c2ba 100644 --- a/ucb/source/ucp/file/prov.cxx +++ b/ucb/source/ucp/file/prov.cxx @@ -2,9 +2,9 @@ * * $RCSfile: prov.cxx,v $ * - * $Revision: 1.31 $ + * $Revision: 1.32 $ * - * last change: $Author: abi $ $Date: 2001-10-15 15:45:40 $ + * last change: $Author: hr $ $Date: 2001-10-24 16:20:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -106,6 +106,8 @@ #include <unotools/configmgr.hxx> +#include <algorithm> + using namespace fileaccess; using namespace com::sun::star; using namespace com::sun::star::uno; @@ -381,7 +383,7 @@ FileProvider::~FileProvider() void SAL_CALL FileProvider::acquire( void ) - throw( RuntimeException ) + throw() { OWeakObject::acquire(); } @@ -390,7 +392,7 @@ FileProvider::acquire( void SAL_CALL FileProvider::release( void ) - throw( RuntimeException ) + throw() { OWeakObject::release(); } @@ -608,12 +610,12 @@ public: virtual void SAL_CALL acquire( void ) - throw( RuntimeException); + throw(); virtual void SAL_CALL release( void ) - throw( RuntimeException ); + throw(); virtual Sequence< Property > SAL_CALL @@ -661,7 +663,7 @@ XPropertySetInfoImpl2::~XPropertySetInfoImpl2() void SAL_CALL XPropertySetInfoImpl2::acquire( void ) - throw( RuntimeException ) + throw() { OWeakObject::acquire(); } @@ -670,7 +672,7 @@ XPropertySetInfoImpl2::acquire( void SAL_CALL XPropertySetInfoImpl2::release( void ) - throw( RuntimeException ) + throw() { OWeakObject::release(); } diff --git a/ucb/source/ucp/file/prov.hxx b/ucb/source/ucp/file/prov.hxx index d5350ffd56f8..caa10d968720 100644 --- a/ucb/source/ucp/file/prov.hxx +++ b/ucb/source/ucp/file/prov.hxx @@ -2,9 +2,9 @@ * * $RCSfile: prov.hxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: as $ $Date: 2001-07-30 12:47:28 $ + * last change: $Author: hr $ $Date: 2001-10-24 16:20:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -134,12 +134,12 @@ namespace fileaccess { virtual void SAL_CALL acquire( void ) - throw( com::sun::star::uno::RuntimeException); + throw(); virtual void SAL_CALL release( void ) - throw( com::sun::star::uno::RuntimeException); + throw(); // XServiceInfo virtual rtl::OUString SAL_CALL |