summaryrefslogtreecommitdiff
path: root/sdext/source/minimizer/pppoptimizerdialog.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/minimizer/pppoptimizerdialog.cxx
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'sdext/source/minimizer/pppoptimizerdialog.cxx')
-rw-r--r--sdext/source/minimizer/pppoptimizerdialog.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sdext/source/minimizer/pppoptimizerdialog.cxx b/sdext/source/minimizer/pppoptimizerdialog.cxx
index 479896de1dfd..57f21930e39c 100644
--- a/sdext/source/minimizer/pppoptimizerdialog.cxx
+++ b/sdext/source/minimizer/pppoptimizerdialog.cxx
@@ -43,7 +43,7 @@ PPPOptimizerDialog::~PPPOptimizerDialog()
}
void SAL_CALL PPPOptimizerDialog::initialize( const Sequence< Any >& aArguments )
- throw ( Exception, RuntimeException )
+ throw ( Exception, RuntimeException, std::exception )
{
if( aArguments.getLength() != 1 )
throw IllegalArgumentException();
@@ -54,25 +54,25 @@ void SAL_CALL PPPOptimizerDialog::initialize( const Sequence< Any >& aArguments
}
OUString SAL_CALL PPPOptimizerDialog::getImplementationName()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return PPPOptimizerDialog_getImplementationName();
}
sal_Bool SAL_CALL PPPOptimizerDialog::supportsService( const OUString& ServiceName )
- throw ( RuntimeException )
+ throw ( RuntimeException, std::exception )
{
return cppu::supportsService(this, ServiceName);
}
Sequence< OUString > SAL_CALL PPPOptimizerDialog::getSupportedServiceNames()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return PPPOptimizerDialog_getSupportedServiceNames();
}
Reference< com::sun::star::frame::XDispatch > SAL_CALL PPPOptimizerDialog::queryDispatch(
- const URL& aURL, const OUString& /* aTargetFrameName */, sal_Int32 /* nSearchFlags */ ) throw( RuntimeException )
+ const URL& aURL, const OUString& /* aTargetFrameName */, sal_Int32 /* nSearchFlags */ ) throw( RuntimeException, std::exception )
{
Reference < XDispatch > xRet;
if ( aURL.Protocol.equalsAscii( "vnd.com.sun.star.comp.PresentationMinimizer:" ) )
@@ -82,7 +82,7 @@ Reference< com::sun::star::frame::XDispatch > SAL_CALL PPPOptimizerDialog::query
}
Sequence< Reference< com::sun::star::frame::XDispatch > > SAL_CALL PPPOptimizerDialog::queryDispatches(
- const Sequence< com::sun::star::frame::DispatchDescriptor >& aDescripts ) throw( RuntimeException )
+ const Sequence< com::sun::star::frame::DispatchDescriptor >& aDescripts ) throw( RuntimeException, std::exception )
{
Sequence< Reference< com::sun::star::frame::XDispatch> > aReturn( aDescripts.getLength() );
Reference< com::sun::star::frame::XDispatch>* pReturn = aReturn.getArray();
@@ -96,7 +96,7 @@ Sequence< Reference< com::sun::star::frame::XDispatch > > SAL_CALL PPPOptimizerD
void SAL_CALL PPPOptimizerDialog::dispatch( const URL& rURL,
const Sequence< PropertyValue >& rArguments )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
if ( mxController.is() && rURL.Protocol.equalsAscii( "vnd.com.sun.star.comp.PresentationMinimizer:" ) )
@@ -143,14 +143,14 @@ void SAL_CALL PPPOptimizerDialog::dispatch( const URL& rURL,
}
void SAL_CALL PPPOptimizerDialog::addStatusListener( const Reference< XStatusListener >&, const URL& )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
// TODO
// OSL_FAIL( "PPPOptimizerDialog::addStatusListener()\nNot implemented yet!" );
}
void SAL_CALL PPPOptimizerDialog::removeStatusListener( const Reference< XStatusListener >&, const URL& )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
// TODO
// OSL_FAIL( "PPPOptimizerDialog::removeStatusListener()\nNot implemented yet!" );