summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2002-01-22 15:34:01 +0000
committerSascha Ballach <sab@openoffice.org>2002-01-22 15:34:01 +0000
commit18041b0f8e8531ae0bced5e07e4598d7f2830eec (patch)
tree675ee702d7bd4f73bd79816e7bf106581617c973
parent316345ae015b245842377128d4647fcc6bd7f009 (diff)
#95584#; add all necessary throws
-rw-r--r--sc/source/ui/Accessibility/AccessibleDocument.cxx9
-rw-r--r--sc/source/ui/Accessibility/AccessibleTableBase.cxx12
-rw-r--r--sc/source/ui/inc/AccessibleDocument.hxx11
-rw-r--r--sc/source/ui/inc/AccessibleTableBase.hxx11
4 files changed, 23 insertions, 20 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx
index e4d9bc00c9ce..4011ac465ae9 100644
--- a/sc/source/ui/Accessibility/AccessibleDocument.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: AccessibleDocument.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: sab $ $Date: 2002-01-22 14:19:45 $
+ * last change: $Author: sab $ $Date: 2002-01-22 16:34:01 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -104,6 +104,7 @@ ScAccessibleDocument::~ScAccessibleDocument(void)
/// Return the number of currently visible children.
long SAL_CALL
ScAccessibleDocument::getAccessibleChildCount (void)
+ throw (uno::RuntimeException)
{
sal_Int32 nTab(getVisibleTable());
sal_Int32 nShapes (0);
@@ -149,8 +150,8 @@ long SAL_CALL
/// Return the specified child or NULL if index is invalid.
uno::Reference<XAccessible> SAL_CALL
ScAccessibleDocument::getAccessibleChild (long nIndex)
- throw (uno::RuntimeException,
- lang::IndexOutOfBoundsException)
+ throw (uno::RuntimeException/*,
+ lang::IndexOutOfBoundsException*/)
{
uno::Reference<XAccessible> xAccessible = GetChild(nIndex);
if (!xAccessible.is())
diff --git a/sc/source/ui/Accessibility/AccessibleTableBase.cxx b/sc/source/ui/Accessibility/AccessibleTableBase.cxx
index efea9afe5046..7829869725a9 100644
--- a/sc/source/ui/Accessibility/AccessibleTableBase.cxx
+++ b/sc/source/ui/Accessibility/AccessibleTableBase.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: AccessibleTableBase.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: sab $ $Date: 2002-01-22 08:52:35 $
+ * last change: $Author: sab $ $Date: 2002-01-22 16:34:01 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -329,6 +329,7 @@ sal_Int32 SAL_CALL ScAccessibleTableBase::getAccessibleColumn( sal_Int32 nChildI
long SAL_CALL
ScAccessibleTableBase::getAccessibleChildCount (void)
+ throw (uno::RuntimeException)
{
DBG_ERROR("not implemented yet");
return 0;
@@ -336,8 +337,8 @@ long SAL_CALL
uno::Reference< XAccessible > SAL_CALL
ScAccessibleTableBase::getAccessibleChild (long nIndex)
- throw (uno::RuntimeException,
- lang::IndexOutOfBoundsException)
+ throw (uno::RuntimeException/*,
+ lang::IndexOutOfBoundsException*/)
{
DBG_ERROR("not implemented yet");
return SvAccessibleContextBase::getAccessibleChild(nIndex);
@@ -437,7 +438,6 @@ uno::Sequence<sal_Int8> SAL_CALL ScAccessibleTableBase::getImplementationId (voi
::rtl::OUString SAL_CALL ScAccessibleTableBase::getServiceName (void)
throw (uno::RuntimeException)
{
- return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM (
- "drafts.com.sun.star.accessibility.AccessibleTable"));
+ return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM ("drafts.com.sun.star.accessibility.AccessibleTable"));
}
diff --git a/sc/source/ui/inc/AccessibleDocument.hxx b/sc/source/ui/inc/AccessibleDocument.hxx
index 4e3bff762e58..bc03972137fc 100644
--- a/sc/source/ui/inc/AccessibleDocument.hxx
+++ b/sc/source/ui/inc/AccessibleDocument.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: AccessibleDocument.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: sab $ $Date: 2002-01-22 14:17:14 $
+ * last change: $Author: sab $ $Date: 2002-01-22 16:33:13 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -97,13 +97,14 @@ public:
/// Return the number of currently visible children.
virtual long SAL_CALL
- getAccessibleChildCount (void);
+ getAccessibleChildCount (void)
+ throw (::com::sun::star::uno::RuntimeException);
/// Return the specified child or NULL if index is invalid.
virtual ::com::sun::star::uno::Reference< ::drafts::com::sun::star::accessibility::XAccessible> SAL_CALL
getAccessibleChild (long nIndex)
- throw (::com::sun::star::uno::RuntimeException,
- ::com::sun::star::lang::IndexOutOfBoundsException);
+ throw (::com::sun::star::uno::RuntimeException/*,
+ ::com::sun::star::lang::IndexOutOfBoundsException*/);
/// Return the set of current states.
virtual ::com::sun::star::uno::Reference<
diff --git a/sc/source/ui/inc/AccessibleTableBase.hxx b/sc/source/ui/inc/AccessibleTableBase.hxx
index cacb38d5ce30..de7aa49b99a9 100644
--- a/sc/source/ui/inc/AccessibleTableBase.hxx
+++ b/sc/source/ui/inc/AccessibleTableBase.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: AccessibleTableBase.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: sab $ $Date: 2002-01-22 14:17:14 $
+ * last change: $Author: sab $ $Date: 2002-01-22 16:33:13 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -222,14 +222,15 @@ public:
/// Return the number of currently visible children.
// is overloaded to calculate this on demand
virtual long SAL_CALL
- getAccessibleChildCount (void);
+ getAccessibleChildCount (void)
+ throw (::com::sun::star::uno::RuntimeException);
/// Return the specified child or NULL if index is invalid.
// is overloaded to calculate this on demand
virtual ::com::sun::star::uno::Reference< ::drafts::com::sun::star::accessibility::XAccessible> SAL_CALL
getAccessibleChild (long nIndex)
- throw (::com::sun::star::uno::RuntimeException,
- ::com::sun::star::lang::IndexOutOfBoundsException);
+ throw (::com::sun::star::uno::RuntimeException/*,
+ ::com::sun::star::lang::IndexOutOfBoundsException*/);
protected:
/// Return this object's description.