summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2001-11-02 09:50:21 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2001-11-02 09:50:21 +0000
commitc35474d2dba8d2a0e2666c576f3f2463ad6d0f78 (patch)
tree469474aac599ed742facc0e6e723dd9681af4d06
parentc1d86d7da7bbd269ff0a89f1688c123076614941 (diff)
#92924#: exception specifications
-rw-r--r--extensions/source/scanner/sane.hxx8
-rw-r--r--extensions/source/scanner/scanner.cxx8
-rw-r--r--extensions/source/scanner/scanner.hxx8
3 files changed, 12 insertions, 12 deletions
diff --git a/extensions/source/scanner/sane.hxx b/extensions/source/scanner/sane.hxx
index 8d9a3eb86..6e2674f3e 100644
--- a/extensions/source/scanner/sane.hxx
+++ b/extensions/source/scanner/sane.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sane.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: pl $ $Date: 2001-09-11 12:15:09 $
+ * last change: $Author: hr $ $Date: 2001-11-02 10:50:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -84,8 +84,8 @@ public:
// XInterface
virtual ANY SAL_CALL queryInterface( const Type & rType ) throw( RuntimeException );
- virtual void SAL_CALL acquire() throw( RuntimeException ) { OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw( RuntimeException ) { OWeakObject::release(); }
+ virtual void SAL_CALL acquire() throw() { OWeakObject::acquire(); }
+ virtual void SAL_CALL release() throw() { OWeakObject::release(); }
virtual AWT::Size SAL_CALL getSize() throw();
virtual SEQ( sal_Int8 ) SAL_CALL getDIB() throw();
diff --git a/extensions/source/scanner/scanner.cxx b/extensions/source/scanner/scanner.cxx
index c6e6861d9..c0535c6c7 100644
--- a/extensions/source/scanner/scanner.cxx
+++ b/extensions/source/scanner/scanner.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: scanner.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: pl $ $Date: 2001-09-11 12:15:09 $
+ * last change: $Author: hr $ $Date: 2001-11-02 10:50:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -96,14 +96,14 @@ ANY SAL_CALL ScannerManager::queryInterface( const Type& rType ) throw( RuntimeE
// -----------------------------------------------------------------------------
-void SAL_CALL ScannerManager::acquire() throw( RuntimeException )
+void SAL_CALL ScannerManager::acquire() throw()
{
OWeakObject::acquire();
}
// -----------------------------------------------------------------------------
-void SAL_CALL ScannerManager::release() throw( RuntimeException )
+void SAL_CALL ScannerManager::release() throw()
{
OWeakObject::release();
}
diff --git a/extensions/source/scanner/scanner.hxx b/extensions/source/scanner/scanner.hxx
index d0f4637c2..773d44800 100644
--- a/extensions/source/scanner/scanner.hxx
+++ b/extensions/source/scanner/scanner.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: scanner.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: pl $ $Date: 2001-09-11 12:15:09 $
+ * last change: $Author: hr $ $Date: 2001-11-02 10:50:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -136,8 +136,8 @@ public:
// XInterface
virtual ANY SAL_CALL queryInterface( const Type & rType ) throw( RuntimeException );
- virtual void SAL_CALL acquire() throw( RuntimeException );
- virtual void SAL_CALL release() throw( RuntimeException );
+ virtual void SAL_CALL acquire() throw();
+ virtual void SAL_CALL release() throw();
// XScannerManager
virtual SEQ( ScannerContext ) SAL_CALL getAvailableScanners() throw();