summaryrefslogtreecommitdiff
path: root/framework/source/dispatch/popupmenudispatcher.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 /framework/source/dispatch/popupmenudispatcher.cxx
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'framework/source/dispatch/popupmenudispatcher.cxx')
-rw-r--r--framework/source/dispatch/popupmenudispatcher.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/framework/source/dispatch/popupmenudispatcher.cxx b/framework/source/dispatch/popupmenudispatcher.cxx
index 0ba7e6c01888..bc12aa3c9d1d 100644
--- a/framework/source/dispatch/popupmenudispatcher.cxx
+++ b/framework/source/dispatch/popupmenudispatcher.cxx
@@ -79,19 +79,19 @@ PopupMenuDispatcher::~PopupMenuDispatcher()
// and a dtor isn't the best place to do that!
}
-OUString SAL_CALL PopupMenuDispatcher::getImplementationName() throw( css::uno::RuntimeException )
+OUString SAL_CALL PopupMenuDispatcher::getImplementationName() throw( css::uno::RuntimeException, std::exception )
{
return impl_getStaticImplementationName();
}
sal_Bool SAL_CALL PopupMenuDispatcher::supportsService( const OUString& sServiceName )
- throw( css::uno::RuntimeException )
+ throw( css::uno::RuntimeException, std::exception )
{
return cppu::supportsService(this, sServiceName);
}
css::uno::Sequence< OUString > SAL_CALL PopupMenuDispatcher::getSupportedServiceNames()
- throw( css::uno::RuntimeException )
+ throw( css::uno::RuntimeException, std::exception )
{
return impl_getStaticSupportedServiceNames();
}
@@ -145,7 +145,7 @@ DEFINE_INIT_SERVICE(PopupMenuDispatcher,
)
void SAL_CALL PopupMenuDispatcher::initialize( const css::uno::Sequence< css::uno::Any >& lArguments )
-throw( css::uno::Exception, css::uno::RuntimeException)
+throw( css::uno::Exception, css::uno::RuntimeException, std::exception)
{
css::uno::Reference< css::frame::XFrame > xFrame;
@@ -175,7 +175,7 @@ SAL_CALL PopupMenuDispatcher::queryDispatch(
const css::util::URL& rURL ,
const OUString& sTarget ,
sal_Int32 nFlags )
-throw( css::uno::RuntimeException )
+throw( css::uno::RuntimeException, std::exception )
{
css::uno::Reference< css::frame::XDispatch > xDispatch;
@@ -237,7 +237,7 @@ throw( css::uno::RuntimeException )
css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL
PopupMenuDispatcher::queryDispatches(
const css::uno::Sequence< css::frame::DispatchDescriptor >& lDescriptor )
-throw( css::uno::RuntimeException )
+throw( css::uno::RuntimeException, std::exception )
{
sal_Int32 nCount = lDescriptor.getLength();
css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > lDispatcher( nCount );
@@ -252,13 +252,13 @@ throw( css::uno::RuntimeException )
}
void SAL_CALL PopupMenuDispatcher::dispatch( const URL& /*aURL*/, const Sequence< PropertyValue >& /*seqProperties*/ )
-throw( RuntimeException )
+throw( RuntimeException, std::exception )
{
}
void SAL_CALL PopupMenuDispatcher::addStatusListener( const uno::Reference< XStatusListener >& xControl,
const URL& aURL )
-throw( RuntimeException )
+throw( RuntimeException, std::exception )
{
// Ready for multithreading
ResetableGuard aGuard( m_aLock );
@@ -269,7 +269,7 @@ throw( RuntimeException )
void SAL_CALL PopupMenuDispatcher::removeStatusListener( const uno::Reference< XStatusListener >& xControl,
const URL& aURL )
-throw( RuntimeException )
+throw( RuntimeException, std::exception )
{
// Ready for multithreading
ResetableGuard aGuard( m_aLock );
@@ -279,7 +279,7 @@ throw( RuntimeException )
}
void SAL_CALL PopupMenuDispatcher::frameAction( const FrameActionEvent& aEvent )
-throw ( RuntimeException )
+throw ( RuntimeException, std::exception )
{
ResetableGuard aGuard( m_aLock );
@@ -291,7 +291,7 @@ throw ( RuntimeException )
}
}
-void SAL_CALL PopupMenuDispatcher::disposing( const EventObject& ) throw( RuntimeException )
+void SAL_CALL PopupMenuDispatcher::disposing( const EventObject& ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
ResetableGuard aGuard( m_aLock );