summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterSlideSorter.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 21:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-26 18:22:20 +0100
commit5e21a413c788f839a66d9e4c14e745ed18058db8 (patch)
treed4451246461346a425ad6f796e08bf1514cdd942 /sdext/source/presenter/PresenterSlideSorter.cxx
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'sdext/source/presenter/PresenterSlideSorter.cxx')
-rw-r--r--sdext/source/presenter/PresenterSlideSorter.cxx36
1 files changed, 18 insertions, 18 deletions
diff --git a/sdext/source/presenter/PresenterSlideSorter.cxx b/sdext/source/presenter/PresenterSlideSorter.cxx
index a330949aeb9b..6611712c7ff9 100644
--- a/sdext/source/presenter/PresenterSlideSorter.cxx
+++ b/sdext/source/presenter/PresenterSlideSorter.cxx
@@ -431,7 +431,7 @@ void PresenterSlideSorter::SetActiveState (const bool bIsActive)
//----- lang::XEventListener --------------------------------------------------
void SAL_CALL PresenterSlideSorter::disposing (const lang::EventObject& rEventObject)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
if (rEventObject.Source == mxWindow)
{
@@ -456,7 +456,7 @@ void SAL_CALL PresenterSlideSorter::disposing (const lang::EventObject& rEventOb
//----- XWindowListener -------------------------------------------------------
void SAL_CALL PresenterSlideSorter::windowResized (const awt::WindowEvent& rEvent)
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
(void)rEvent;
ThrowIfDisposed();
@@ -465,14 +465,14 @@ void SAL_CALL PresenterSlideSorter::windowResized (const awt::WindowEvent& rEven
}
void SAL_CALL PresenterSlideSorter::windowMoved (const awt::WindowEvent& rEvent)
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
(void)rEvent;
ThrowIfDisposed();
}
void SAL_CALL PresenterSlideSorter::windowShown (const lang::EventObject& rEvent)
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
(void)rEvent;
ThrowIfDisposed();
@@ -481,7 +481,7 @@ void SAL_CALL PresenterSlideSorter::windowShown (const lang::EventObject& rEvent
}
void SAL_CALL PresenterSlideSorter::windowHidden (const lang::EventObject& rEvent)
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
(void)rEvent;
ThrowIfDisposed();
@@ -490,7 +490,7 @@ void SAL_CALL PresenterSlideSorter::windowHidden (const lang::EventObject& rEven
//----- XPaintListener --------------------------------------------------------
void SAL_CALL PresenterSlideSorter::windowPaint (const css::awt::PaintEvent& rEvent)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
(void)rEvent;
@@ -508,7 +508,7 @@ void SAL_CALL PresenterSlideSorter::windowPaint (const css::awt::PaintEvent& rEv
//----- XMouseListener --------------------------------------------------------
void SAL_CALL PresenterSlideSorter::mousePressed (const css::awt::MouseEvent& rEvent)
- throw(css::uno::RuntimeException)
+ throw(css::uno::RuntimeException, std::exception)
{
css::awt::MouseEvent rTemp =rEvent;
/// check whether RTL interface or not
@@ -521,7 +521,7 @@ void SAL_CALL PresenterSlideSorter::mousePressed (const css::awt::MouseEvent& rE
}
void SAL_CALL PresenterSlideSorter::mouseReleased (const css::awt::MouseEvent& rEvent)
- throw(css::uno::RuntimeException)
+ throw(css::uno::RuntimeException, std::exception)
{
css::awt::MouseEvent rTemp =rEvent;
/// check whether RTL interface or not
@@ -552,13 +552,13 @@ void SAL_CALL PresenterSlideSorter::mouseReleased (const css::awt::MouseEvent& r
}
void SAL_CALL PresenterSlideSorter::mouseEntered (const css::awt::MouseEvent& rEvent)
- throw(css::uno::RuntimeException)
+ throw(css::uno::RuntimeException, std::exception)
{
(void)rEvent;
}
void SAL_CALL PresenterSlideSorter::mouseExited (const css::awt::MouseEvent& rEvent)
- throw(css::uno::RuntimeException)
+ throw(css::uno::RuntimeException, std::exception)
{
(void)rEvent;
mnSlideIndexMousePressed = -1;
@@ -569,7 +569,7 @@ void SAL_CALL PresenterSlideSorter::mouseExited (const css::awt::MouseEvent& rEv
//----- XMouseMotionListener --------------------------------------------------
void SAL_CALL PresenterSlideSorter::mouseMoved (const css::awt::MouseEvent& rEvent)
- throw (css::uno::RuntimeException)
+ throw (css::uno::RuntimeException, std::exception)
{
if (mpMouseOverManager.get() != NULL)
{
@@ -599,7 +599,7 @@ void SAL_CALL PresenterSlideSorter::mouseMoved (const css::awt::MouseEvent& rEve
}
void SAL_CALL PresenterSlideSorter::mouseDragged (const css::awt::MouseEvent& rEvent)
- throw (css::uno::RuntimeException)
+ throw (css::uno::RuntimeException, std::exception)
{
(void)rEvent;
}
@@ -607,14 +607,14 @@ void SAL_CALL PresenterSlideSorter::mouseDragged (const css::awt::MouseEvent& rE
//----- XResourceId -----------------------------------------------------------
Reference<XResourceId> SAL_CALL PresenterSlideSorter::getResourceId (void)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
return mxViewId;
}
sal_Bool SAL_CALL PresenterSlideSorter::isAnchorOnly (void)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return false;
}
@@ -623,7 +623,7 @@ sal_Bool SAL_CALL PresenterSlideSorter::isAnchorOnly (void)
void SAL_CALL PresenterSlideSorter::propertyChange (
const css::beans::PropertyChangeEvent& rEvent)
- throw(css::uno::RuntimeException)
+ throw(css::uno::RuntimeException, std::exception)
{
(void)rEvent;
}
@@ -632,7 +632,7 @@ void SAL_CALL PresenterSlideSorter::propertyChange (
void SAL_CALL PresenterSlideSorter::notifyPreviewCreation (
sal_Int32 nSlideIndex)
- throw(css::uno::RuntimeException)
+ throw(css::uno::RuntimeException, std::exception)
{
OSL_ASSERT(mpLayout.get()!=NULL);
@@ -643,7 +643,7 @@ void SAL_CALL PresenterSlideSorter::notifyPreviewCreation (
//----- XDrawView -------------------------------------------------------------
void SAL_CALL PresenterSlideSorter::setCurrentPage (const Reference<drawing::XDrawPage>& rxSlide)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
(void)rxSlide;
@@ -675,7 +675,7 @@ void SAL_CALL PresenterSlideSorter::setCurrentPage (const Reference<drawing::XDr
}
Reference<drawing::XDrawPage> SAL_CALL PresenterSlideSorter::getCurrentPage (void)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
return NULL;