summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterAccessibility.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterAccessibility.cxx')
-rw-r--r--sdext/source/presenter/PresenterAccessibility.cxx228
1 files changed, 114 insertions, 114 deletions
diff --git a/sdext/source/presenter/PresenterAccessibility.cxx b/sdext/source/presenter/PresenterAccessibility.cxx
index 8b93a27fbe1c..01e997a2b76f 100644
--- a/sdext/source/presenter/PresenterAccessibility.cxx
+++ b/sdext/source/presenter/PresenterAccessibility.cxx
@@ -98,115 +98,115 @@ public:
//----- XComponent ---------------------------------------------------
- virtual void SAL_CALL dispose()throw (cssu::RuntimeException)
+ virtual void SAL_CALL dispose()throw (cssu::RuntimeException, std::exception)
{ WeakComponentImplHelperBase::dispose(); }
- virtual void SAL_CALL addEventListener(const cssu::Reference< ::com::sun::star::lang::XEventListener > & xListener)throw (cssu::RuntimeException)
+ virtual void SAL_CALL addEventListener(const cssu::Reference< ::com::sun::star::lang::XEventListener > & xListener)throw (cssu::RuntimeException, std::exception)
{ WeakComponentImplHelperBase::addEventListener(xListener); }
- virtual void SAL_CALL removeEventListener(const cssu::Reference< ::com::sun::star::lang::XEventListener > & xListener)throw (cssu::RuntimeException)
+ virtual void SAL_CALL removeEventListener(const cssu::Reference< ::com::sun::star::lang::XEventListener > & xListener)throw (cssu::RuntimeException, std::exception)
{ WeakComponentImplHelperBase::removeEventListener(xListener); }
//----- XAccessible -------------------------------------------------------
virtual cssu::Reference<cssa::XAccessibleContext> SAL_CALL
getAccessibleContext (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
//----- XAccessibleContext ----------------------------------------------
virtual sal_Int32 SAL_CALL getAccessibleChildCount (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual cssu::Reference< cssa::XAccessible> SAL_CALL
getAccessibleChild (sal_Int32 nIndex)
- throw (css::lang::IndexOutOfBoundsException, cssu::RuntimeException);
+ throw (css::lang::IndexOutOfBoundsException, cssu::RuntimeException, std::exception);
virtual cssu::Reference< cssa::XAccessible> SAL_CALL getAccessibleParent (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual sal_Int32 SAL_CALL getAccessibleIndexInParent (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual sal_Int16 SAL_CALL getAccessibleRole (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual OUString SAL_CALL getAccessibleDescription (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual OUString SAL_CALL getAccessibleName (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual cssu::Reference<cssa::XAccessibleRelationSet> SAL_CALL
getAccessibleRelationSet (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual cssu::Reference<cssa::XAccessibleStateSet> SAL_CALL
getAccessibleStateSet (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual css::lang::Locale SAL_CALL getLocale (void)
throw (cssu::RuntimeException,
- cssa::IllegalAccessibleComponentStateException);
+ cssa::IllegalAccessibleComponentStateException, std::exception);
//----- XAccessibleComponent --------------------------------------------
virtual sal_Bool SAL_CALL containsPoint (
const css::awt::Point& aPoint)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual cssu::Reference<cssa::XAccessible> SAL_CALL
getAccessibleAtPoint (
const css::awt::Point& aPoint)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual css::awt::Rectangle SAL_CALL getBounds (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual css::awt::Point SAL_CALL getLocation (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual css::awt::Point SAL_CALL getLocationOnScreen (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual css::awt::Size SAL_CALL getSize (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual void SAL_CALL grabFocus (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual sal_Int32 SAL_CALL getForeground (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual sal_Int32 SAL_CALL getBackground (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
//----- XAccessibleEventBroadcaster --------------------------------------
virtual void SAL_CALL addAccessibleEventListener (
const cssu::Reference<cssa::XAccessibleEventListener>& rxListener)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual void SAL_CALL removeAccessibleEventListener (
const cssu::Reference<cssa::XAccessibleEventListener>& rxListener)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
//----- XWindowListener ---------------------------------------------------
virtual void SAL_CALL windowResized (const css::awt::WindowEvent& rEvent)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual void SAL_CALL windowMoved (const css::awt::WindowEvent& rEvent)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual void SAL_CALL windowShown (const css::lang::EventObject& rEvent)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual void SAL_CALL windowHidden (const css::lang::EventObject& rEvent)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
//----- XEventListener ----------------------------------------------------
virtual void SAL_CALL disposing (const css::lang::EventObject& rEvent)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
protected:
OUString msName;
@@ -258,16 +258,16 @@ public:
//----- XAccessibleStateSet -----------------------------------------------
virtual sal_Bool SAL_CALL isEmpty (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual sal_Bool SAL_CALL contains (sal_Int16 nState)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual sal_Bool SAL_CALL containsAll (const cssu::Sequence<sal_Int16>& rStateSet)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual cssu::Sequence<sal_Int16> SAL_CALL getStates (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
private:
const sal_Int32 mnStateSet;
@@ -296,16 +296,16 @@ public:
//----- XAccessibleRelationSet --------------------------------------------
virtual sal_Int32 SAL_CALL getRelationCount (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual AccessibleRelation SAL_CALL getRelation (sal_Int32 nIndex)
- throw (cssu::RuntimeException, css::lang::IndexOutOfBoundsException);
+ throw (cssu::RuntimeException, css::lang::IndexOutOfBoundsException, std::exception);
virtual sal_Bool SAL_CALL containsRelation (sal_Int16 nRelationType)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual AccessibleRelation SAL_CALL getRelationByType (sal_Int16 nRelationType)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
private:
::std::vector<AccessibleRelation> maRelations;
@@ -337,77 +337,77 @@ public:
virtual cssu::Reference<cssa::XAccessibleRelationSet> SAL_CALL
getAccessibleRelationSet (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
//----- XAccessibleText ---------------------------------------------------
virtual sal_Int32 SAL_CALL getCaretPosition (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual sal_Bool SAL_CALL setCaretPosition (sal_Int32 nIndex)
- throw (::com::sun::star::lang::IndexOutOfBoundsException, cssu::RuntimeException);
+ throw (::com::sun::star::lang::IndexOutOfBoundsException, cssu::RuntimeException, std::exception);
virtual sal_Unicode SAL_CALL getCharacter (sal_Int32 nIndex)
- throw (::com::sun::star::lang::IndexOutOfBoundsException, cssu::RuntimeException);
+ throw (::com::sun::star::lang::IndexOutOfBoundsException, cssu::RuntimeException, std::exception);
virtual cssu::Sequence<css::beans::PropertyValue> SAL_CALL
getCharacterAttributes (
::sal_Int32 nIndex,
const cssu::Sequence<OUString>& rRequestedAttributes)
- throw (css::lang::IndexOutOfBoundsException, cssu::RuntimeException);
+ throw (css::lang::IndexOutOfBoundsException, cssu::RuntimeException, std::exception);
virtual css::awt::Rectangle SAL_CALL getCharacterBounds (sal_Int32 nIndex)
- throw (css::lang::IndexOutOfBoundsException, cssu::RuntimeException);
+ throw (css::lang::IndexOutOfBoundsException, cssu::RuntimeException, std::exception);
virtual sal_Int32 SAL_CALL getCharacterCount (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual sal_Int32 SAL_CALL getIndexAtPoint (const css::awt::Point& rPoint)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual OUString SAL_CALL getSelectedText (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual sal_Int32 SAL_CALL getSelectionStart (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual sal_Int32 SAL_CALL getSelectionEnd (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual sal_Bool SAL_CALL setSelection (sal_Int32 nStartIndex, sal_Int32 nEndIndex)
- throw (css::lang::IndexOutOfBoundsException, cssu::RuntimeException);
+ throw (css::lang::IndexOutOfBoundsException, cssu::RuntimeException, std::exception);
virtual OUString SAL_CALL getText (void)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
virtual OUString SAL_CALL getTextRange (
sal_Int32 nStartIndex,
sal_Int32 nEndIndex)
- throw (css::lang::IndexOutOfBoundsException, cssu::RuntimeException);
+ throw (css::lang::IndexOutOfBoundsException, cssu::RuntimeException, std::exception);
virtual cssa::TextSegment SAL_CALL getTextAtIndex (
sal_Int32 nIndex,
sal_Int16 nTextType)
throw (css::lang::IndexOutOfBoundsException,
css::lang::IllegalArgumentException,
- cssu::RuntimeException);
+ cssu::RuntimeException, std::exception);
virtual cssa::TextSegment SAL_CALL getTextBeforeIndex (
sal_Int32 nIndex,
sal_Int16 nTextType)
throw (css::lang::IndexOutOfBoundsException,
css::lang::IllegalArgumentException,
- cssu::RuntimeException);
+ cssu::RuntimeException, std::exception);
virtual cssa::TextSegment SAL_CALL getTextBehindIndex (
sal_Int32 nIndex,
sal_Int16 nTextType)
throw (css::lang::IndexOutOfBoundsException,
css::lang::IllegalArgumentException,
- cssu::RuntimeException);
+ cssu::RuntimeException, std::exception);
virtual ::sal_Bool SAL_CALL copyText (sal_Int32 nStartIndex, sal_Int32 nEndIndex)
- throw (css::lang::IndexOutOfBoundsException, cssu::RuntimeException);
+ throw (css::lang::IndexOutOfBoundsException, cssu::RuntimeException, std::exception);
protected:
virtual awt::Point GetRelativeLocation (void);
@@ -743,7 +743,7 @@ void SAL_CALL PresenterAccessible::disposing (void)
//----- XAccessible -----------------------------------------------------------
Reference<XAccessibleContext> SAL_CALL PresenterAccessible::getAccessibleContext (void)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
if ( ! mpAccessibleConsole.is())
{
@@ -767,7 +767,7 @@ Reference<XAccessibleContext> SAL_CALL PresenterAccessible::getAccessibleContext
//----- XFocusListener ----------------------------------------------------
void SAL_CALL PresenterAccessible::focusGained (const css::awt::FocusEvent& rEvent)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
(void)rEvent;
SAL_INFO("sdext.presenter", OSL_THIS_FUNC << ": PresenterAccessible::focusGained at " << this
@@ -776,7 +776,7 @@ void SAL_CALL PresenterAccessible::focusGained (const css::awt::FocusEvent& rEve
}
void SAL_CALL PresenterAccessible::focusLost (const css::awt::FocusEvent& rEvent)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
(void)rEvent;
SAL_INFO("sdext.presenter", OSL_THIS_FUNC << ": PresenterAccessible::focusLost at " << this);
@@ -786,7 +786,7 @@ void SAL_CALL PresenterAccessible::focusLost (const css::awt::FocusEvent& rEvent
//----- XEventListener ----------------------------------------------------
void SAL_CALL PresenterAccessible::disposing (const css::lang::EventObject& rEvent)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
if (rEvent.Source == mxMainWindow)
mxMainWindow = NULL;
@@ -795,7 +795,7 @@ void SAL_CALL PresenterAccessible::disposing (const css::lang::EventObject& rEve
//----- XInitialize -----------------------------------------------------------
void SAL_CALL PresenterAccessible::initialize (const cssu::Sequence<cssu::Any>& rArguments)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
if (rArguments.getLength() >= 1)
{
@@ -875,7 +875,7 @@ void SAL_CALL PresenterAccessible::AccessibleObject::disposing (void)
Reference<XAccessibleContext> SAL_CALL
PresenterAccessible::AccessibleObject::getAccessibleContext (void)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -885,7 +885,7 @@ Reference<XAccessibleContext> SAL_CALL
//----- XAccessibleContext ----------------------------------------------
sal_Int32 SAL_CALL PresenterAccessible::AccessibleObject::getAccessibleChildCount (void)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -896,7 +896,7 @@ sal_Int32 SAL_CALL PresenterAccessible::AccessibleObject::getAccessibleChildCoun
Reference<XAccessible> SAL_CALL
PresenterAccessible::AccessibleObject::getAccessibleChild (sal_Int32 nIndex)
- throw (lang::IndexOutOfBoundsException, RuntimeException)
+ throw (lang::IndexOutOfBoundsException, RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -908,7 +908,7 @@ Reference<XAccessible> SAL_CALL
Reference<XAccessible> SAL_CALL
PresenterAccessible::AccessibleObject::getAccessibleParent (void)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -917,7 +917,7 @@ Reference<XAccessible> SAL_CALL
sal_Int32 SAL_CALL
PresenterAccessible::AccessibleObject::getAccessibleIndexInParent (void)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -939,7 +939,7 @@ sal_Int32 SAL_CALL
sal_Int16 SAL_CALL
PresenterAccessible::AccessibleObject::getAccessibleRole (void)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -948,7 +948,7 @@ sal_Int16 SAL_CALL
OUString SAL_CALL
PresenterAccessible::AccessibleObject::getAccessibleDescription (void)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -957,7 +957,7 @@ OUString SAL_CALL
OUString SAL_CALL
PresenterAccessible::AccessibleObject::getAccessibleName (void)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -966,7 +966,7 @@ OUString SAL_CALL
Reference<XAccessibleRelationSet> SAL_CALL
PresenterAccessible::AccessibleObject::getAccessibleRelationSet (void)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -975,7 +975,7 @@ Reference<XAccessibleRelationSet> SAL_CALL
Reference<XAccessibleStateSet> SAL_CALL
PresenterAccessible::AccessibleObject::getAccessibleStateSet (void)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -985,7 +985,7 @@ Reference<XAccessibleStateSet> SAL_CALL
lang::Locale SAL_CALL
PresenterAccessible::AccessibleObject::getLocale (void)
throw (RuntimeException,
- IllegalAccessibleComponentStateException)
+ IllegalAccessibleComponentStateException, std::exception)
{
ThrowIfDisposed();
@@ -1002,7 +1002,7 @@ lang::Locale SAL_CALL
sal_Bool SAL_CALL PresenterAccessible::AccessibleObject::containsPoint (
const awt::Point& rPoint)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -1020,7 +1020,7 @@ sal_Bool SAL_CALL PresenterAccessible::AccessibleObject::containsPoint (
Reference<XAccessible> SAL_CALL
PresenterAccessible::AccessibleObject::getAccessibleAtPoint (const awt::Point& rPoint)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
(void)rPoint;
ThrowIfDisposed();
@@ -1029,7 +1029,7 @@ Reference<XAccessible> SAL_CALL
}
awt::Rectangle SAL_CALL PresenterAccessible::AccessibleObject::getBounds (void)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -1042,7 +1042,7 @@ awt::Rectangle SAL_CALL PresenterAccessible::AccessibleObject::getBounds (void)
}
awt::Point SAL_CALL PresenterAccessible::AccessibleObject::getLocation (void)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -1052,7 +1052,7 @@ awt::Point SAL_CALL PresenterAccessible::AccessibleObject::getLocation (void)
}
awt::Point SAL_CALL PresenterAccessible::AccessibleObject::getLocationOnScreen (void)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -1065,7 +1065,7 @@ awt::Point SAL_CALL PresenterAccessible::AccessibleObject::getLocationOnScreen (
}
awt::Size SAL_CALL PresenterAccessible::AccessibleObject::getSize (void)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -1075,7 +1075,7 @@ awt::Size SAL_CALL PresenterAccessible::AccessibleObject::getSize (void)
}
void SAL_CALL PresenterAccessible::AccessibleObject::grabFocus (void)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
if (mxBorderWindow.is())
@@ -1085,7 +1085,7 @@ void SAL_CALL PresenterAccessible::AccessibleObject::grabFocus (void)
}
sal_Int32 SAL_CALL PresenterAccessible::AccessibleObject::getForeground (void)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -1093,7 +1093,7 @@ sal_Int32 SAL_CALL PresenterAccessible::AccessibleObject::getForeground (void)
}
sal_Int32 SAL_CALL PresenterAccessible::AccessibleObject::getBackground (void)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -1104,7 +1104,7 @@ sal_Int32 SAL_CALL PresenterAccessible::AccessibleObject::getBackground (void)
void SAL_CALL PresenterAccessible::AccessibleObject::addAccessibleEventListener (
const Reference<XAccessibleEventListener>& rxListener)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
if (rxListener.is())
{
@@ -1124,7 +1124,7 @@ void SAL_CALL PresenterAccessible::AccessibleObject::addAccessibleEventListener
void SAL_CALL PresenterAccessible::AccessibleObject::removeAccessibleEventListener (
const Reference<XAccessibleEventListener>& rxListener)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
if (rxListener.is())
@@ -1139,7 +1139,7 @@ void SAL_CALL PresenterAccessible::AccessibleObject::removeAccessibleEventListen
void SAL_CALL PresenterAccessible::AccessibleObject::windowResized (
const css::awt::WindowEvent& rEvent)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
(void)rEvent;
@@ -1148,7 +1148,7 @@ void SAL_CALL PresenterAccessible::AccessibleObject::windowResized (
void SAL_CALL PresenterAccessible::AccessibleObject::windowMoved (
const css::awt::WindowEvent& rEvent)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
(void)rEvent;
@@ -1157,7 +1157,7 @@ void SAL_CALL PresenterAccessible::AccessibleObject::windowMoved (
void SAL_CALL PresenterAccessible::AccessibleObject::windowShown (
const css::lang::EventObject& rEvent)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
(void)rEvent;
UpdateStateSet();
@@ -1165,7 +1165,7 @@ void SAL_CALL PresenterAccessible::AccessibleObject::windowShown (
void SAL_CALL PresenterAccessible::AccessibleObject::windowHidden (
const css::lang::EventObject& rEvent)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
(void)rEvent;
UpdateStateSet();
@@ -1174,7 +1174,7 @@ void SAL_CALL PresenterAccessible::AccessibleObject::windowHidden (
//----- XEventListener --------------------------------------------------------
void SAL_CALL PresenterAccessible::AccessibleObject::disposing (const css::lang::EventObject& rEvent)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
if (rEvent.Source == mxContentWindow)
{
@@ -1413,19 +1413,19 @@ sal_uInt32 AccessibleStateSet::GetStateMask (const sal_Int16 nState)
//----- XAccessibleStateSet ---------------------------------------------------
sal_Bool SAL_CALL AccessibleStateSet::isEmpty (void)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
return mnStateSet==0;
}
sal_Bool SAL_CALL AccessibleStateSet::contains (sal_Int16 nState)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
return (mnStateSet & GetStateMask(nState)) != 0;
}
sal_Bool SAL_CALL AccessibleStateSet::containsAll (const cssu::Sequence<sal_Int16>& rStateSet)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
for (sal_Int32 nIndex=0,nCount=rStateSet.getLength(); nIndex<nCount; ++nIndex)
{
@@ -1436,7 +1436,7 @@ sal_Bool SAL_CALL AccessibleStateSet::containsAll (const cssu::Sequence<sal_Int1
}
cssu::Sequence<sal_Int16> SAL_CALL AccessibleStateSet::getStates (void)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
::std::vector<sal_Int16> aStates;
aStates.reserve(sizeof(mnStateSet)*8);
@@ -1471,13 +1471,13 @@ void AccessibleRelationSet::AddRelation (
//----- XAccessibleRelationSet ------------------------------------------------
sal_Int32 SAL_CALL AccessibleRelationSet::getRelationCount (void)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
return maRelations.size();
}
AccessibleRelation SAL_CALL AccessibleRelationSet::getRelation (sal_Int32 nIndex)
- throw (cssu::RuntimeException, css::lang::IndexOutOfBoundsException)
+ throw (cssu::RuntimeException, css::lang::IndexOutOfBoundsException, std::exception)
{
if (nIndex<0 && sal_uInt32(nIndex)>=maRelations.size())
return AccessibleRelation();
@@ -1486,7 +1486,7 @@ AccessibleRelation SAL_CALL AccessibleRelationSet::getRelation (sal_Int32 nIndex
}
sal_Bool SAL_CALL AccessibleRelationSet::containsRelation (sal_Int16 nRelationType)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
for (::std::vector<AccessibleRelation>::const_iterator iRelation(maRelations.begin());
iRelation!=maRelations.end();
@@ -1499,7 +1499,7 @@ sal_Bool SAL_CALL AccessibleRelationSet::containsRelation (sal_Int16 nRelationTy
}
AccessibleRelation SAL_CALL AccessibleRelationSet::getRelationByType (sal_Int16 nRelationType)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
for (::std::vector<AccessibleRelation>::const_iterator iRelation(maRelations.begin());
iRelation!=maRelations.end();
@@ -1533,7 +1533,7 @@ PresenterAccessible::AccessibleParagraph::~AccessibleParagraph (void)
Reference<XAccessibleRelationSet> SAL_CALL
PresenterAccessible::AccessibleParagraph::getAccessibleRelationSet (void)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -1562,7 +1562,7 @@ Reference<XAccessibleRelationSet> SAL_CALL
//----- XAccessibleText -------------------------------------------------------
sal_Int32 SAL_CALL PresenterAccessible::AccessibleParagraph::getCaretPosition (void)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -1574,7 +1574,7 @@ sal_Int32 SAL_CALL PresenterAccessible::AccessibleParagraph::getCaretPosition (v
}
sal_Bool SAL_CALL PresenterAccessible::AccessibleParagraph::setCaretPosition (sal_Int32 nIndex)
- throw (::com::sun::star::lang::IndexOutOfBoundsException, cssu::RuntimeException)
+ throw (::com::sun::star::lang::IndexOutOfBoundsException, cssu::RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -1588,7 +1588,7 @@ sal_Bool SAL_CALL PresenterAccessible::AccessibleParagraph::setCaretPosition (sa
}
sal_Unicode SAL_CALL PresenterAccessible::AccessibleParagraph::getCharacter (sal_Int32 nIndex)
- throw (::com::sun::star::lang::IndexOutOfBoundsException, cssu::RuntimeException)
+ throw (::com::sun::star::lang::IndexOutOfBoundsException, cssu::RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -1601,7 +1601,7 @@ Sequence<css::beans::PropertyValue> SAL_CALL
PresenterAccessible::AccessibleParagraph::getCharacterAttributes (
::sal_Int32 nIndex,
const cssu::Sequence<OUString>& rRequestedAttributes)
- throw (css::lang::IndexOutOfBoundsException, cssu::RuntimeException)
+ throw (css::lang::IndexOutOfBoundsException, cssu::RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -1626,7 +1626,7 @@ Sequence<css::beans::PropertyValue> SAL_CALL
awt::Rectangle SAL_CALL PresenterAccessible::AccessibleParagraph::getCharacterBounds (
sal_Int32 nIndex)
- throw (css::lang::IndexOutOfBoundsException, cssu::RuntimeException)
+ throw (css::lang::IndexOutOfBoundsException, cssu::RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -1653,7 +1653,7 @@ awt::Rectangle SAL_CALL PresenterAccessible::AccessibleParagraph::getCharacterBo
}
sal_Int32 SAL_CALL PresenterAccessible::AccessibleParagraph::getCharacterCount (void)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -1666,7 +1666,7 @@ sal_Int32 SAL_CALL PresenterAccessible::AccessibleParagraph::getCharacterCount (
sal_Int32 SAL_CALL PresenterAccessible::AccessibleParagraph::getIndexAtPoint (
const css::awt::Point& rPoint)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -1678,7 +1678,7 @@ sal_Int32 SAL_CALL PresenterAccessible::AccessibleParagraph::getIndexAtPoint (
}
OUString SAL_CALL PresenterAccessible::AccessibleParagraph::getSelectedText (void)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -1686,7 +1686,7 @@ OUString SAL_CALL PresenterAccessible::AccessibleParagraph::getSelectedText (voi
}
sal_Int32 SAL_CALL PresenterAccessible::AccessibleParagraph::getSelectionStart (void)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -1694,7 +1694,7 @@ sal_Int32 SAL_CALL PresenterAccessible::AccessibleParagraph::getSelectionStart (
}
sal_Int32 SAL_CALL PresenterAccessible::AccessibleParagraph::getSelectionEnd (void)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -1704,7 +1704,7 @@ sal_Int32 SAL_CALL PresenterAccessible::AccessibleParagraph::getSelectionEnd (vo
sal_Bool SAL_CALL PresenterAccessible::AccessibleParagraph::setSelection (
sal_Int32 nStartIndex,
sal_Int32 nEndIndex)
- throw (css::lang::IndexOutOfBoundsException, cssu::RuntimeException)
+ throw (css::lang::IndexOutOfBoundsException, cssu::RuntimeException, std::exception)
{
(void)nEndIndex;
ThrowIfDisposed();
@@ -1713,7 +1713,7 @@ sal_Bool SAL_CALL PresenterAccessible::AccessibleParagraph::setSelection (
}
OUString SAL_CALL PresenterAccessible::AccessibleParagraph::getText (void)
- throw (cssu::RuntimeException)
+ throw (cssu::RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -1727,7 +1727,7 @@ OUString SAL_CALL PresenterAccessible::AccessibleParagraph::getText (void)
OUString SAL_CALL PresenterAccessible::AccessibleParagraph::getTextRange (
sal_Int32 nLocalStartIndex,
sal_Int32 nLocalEndIndex)
- throw (css::lang::IndexOutOfBoundsException, cssu::RuntimeException)
+ throw (css::lang::IndexOutOfBoundsException, cssu::RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -1747,7 +1747,7 @@ TextSegment SAL_CALL PresenterAccessible::AccessibleParagraph::getTextAtIndex (
sal_Int16 nTextType)
throw (css::lang::IndexOutOfBoundsException,
css::lang::IllegalArgumentException,
- cssu::RuntimeException)
+ cssu::RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -1763,7 +1763,7 @@ TextSegment SAL_CALL PresenterAccessible::AccessibleParagraph::getTextBeforeInde
sal_Int16 nTextType)
throw (css::lang::IndexOutOfBoundsException,
css::lang::IllegalArgumentException,
- cssu::RuntimeException)
+ cssu::RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -1779,7 +1779,7 @@ TextSegment SAL_CALL PresenterAccessible::AccessibleParagraph::getTextBehindInde
sal_Int16 nTextType)
throw (css::lang::IndexOutOfBoundsException,
css::lang::IllegalArgumentException,
- cssu::RuntimeException)
+ cssu::RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -1793,7 +1793,7 @@ TextSegment SAL_CALL PresenterAccessible::AccessibleParagraph::getTextBehindInde
sal_Bool SAL_CALL PresenterAccessible::AccessibleParagraph::copyText (
sal_Int32 nStartIndex,
sal_Int32 nEndIndex)
- throw (css::lang::IndexOutOfBoundsException, cssu::RuntimeException)
+ throw (css::lang::IndexOutOfBoundsException, cssu::RuntimeException, std::exception)
{
ThrowIfDisposed();