summaryrefslogtreecommitdiff
path: root/svtools/source/filter
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 /svtools/source/filter
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'svtools/source/filter')
-rw-r--r--svtools/source/filter/SvFilterOptionsDialog.cxx36
1 files changed, 18 insertions, 18 deletions
diff --git a/svtools/source/filter/SvFilterOptionsDialog.cxx b/svtools/source/filter/SvFilterOptionsDialog.cxx
index 481b135622f0..d25f281ff8fe 100644
--- a/svtools/source/filter/SvFilterOptionsDialog.cxx
+++ b/svtools/source/filter/SvFilterOptionsDialog.cxx
@@ -84,33 +84,33 @@ public:
// XInitialization
virtual void SAL_CALL initialize( const uno::Sequence< uno::Any > & aArguments )
- throw ( uno::Exception, uno::RuntimeException );
+ throw ( uno::Exception, uno::RuntimeException, std::exception );
// XServiceInfo
virtual OUString SAL_CALL getImplementationName()
- throw ( uno::RuntimeException );
+ throw ( uno::RuntimeException, std::exception );
virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName )
- throw ( uno::RuntimeException );
+ throw ( uno::RuntimeException, std::exception );
virtual uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw ( uno::RuntimeException );
+ throw ( uno::RuntimeException, std::exception );
// XPropertyAccess
virtual uno::Sequence< beans::PropertyValue > SAL_CALL getPropertyValues()
- throw ( uno::RuntimeException );
+ throw ( uno::RuntimeException, std::exception );
virtual void SAL_CALL setPropertyValues( const uno::Sequence< beans::PropertyValue > & aProps )
throw ( beans::UnknownPropertyException, beans::PropertyVetoException,
lang::IllegalArgumentException, lang::WrappedTargetException,
- uno::RuntimeException );
+ uno::RuntimeException, std::exception );
// XExecuteDialog
virtual sal_Int16 SAL_CALL execute()
- throw ( uno::RuntimeException );
+ throw ( uno::RuntimeException, std::exception );
virtual void SAL_CALL setTitle( const OUString& aTitle )
- throw ( uno::RuntimeException );
+ throw ( uno::RuntimeException, std::exception );
// XExporter
virtual void SAL_CALL setSourceDocument( const uno::Reference< lang::XComponent >& xDoc )
- throw ( lang::IllegalArgumentException, uno::RuntimeException );
+ throw ( lang::IllegalArgumentException, uno::RuntimeException, std::exception );
};
@@ -143,23 +143,23 @@ void SAL_CALL SvFilterOptionsDialog::release() throw()
// XInitialization
void SAL_CALL SvFilterOptionsDialog::initialize( const uno::Sequence< uno::Any > & )
- throw ( uno::Exception, uno::RuntimeException )
+ throw ( uno::Exception, uno::RuntimeException, std::exception )
{
}
// XServiceInfo
OUString SAL_CALL SvFilterOptionsDialog::getImplementationName()
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
return OUString( "com.sun.star.svtools.SvFilterOptionsDialog" );
}
sal_Bool SAL_CALL SvFilterOptionsDialog::supportsService( const OUString& rServiceName )
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
return cppu::supportsService(this, rServiceName);
}
uno::Sequence< OUString > SAL_CALL SvFilterOptionsDialog::getSupportedServiceNames()
- throw ( uno::RuntimeException )
+ throw ( uno::RuntimeException, std::exception )
{
uno::Sequence< OUString > aRet(1);
OUString* pArray = aRet.getArray();
@@ -169,7 +169,7 @@ uno::Sequence< OUString > SAL_CALL SvFilterOptionsDialog::getSupportedServiceNam
// XPropertyAccess
uno::Sequence< beans::PropertyValue > SvFilterOptionsDialog::getPropertyValues()
- throw ( uno::RuntimeException )
+ throw ( uno::RuntimeException, std::exception )
{
sal_Int32 i, nCount;
for ( i = 0, nCount = maMediaDescriptor.getLength(); i < nCount; i++ )
@@ -189,7 +189,7 @@ uno::Sequence< beans::PropertyValue > SvFilterOptionsDialog::getPropertyValues()
void SvFilterOptionsDialog::setPropertyValues( const uno::Sequence< beans::PropertyValue > & aProps )
throw ( beans::UnknownPropertyException, beans::PropertyVetoException,
lang::IllegalArgumentException, lang::WrappedTargetException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
maMediaDescriptor = aProps;
@@ -209,13 +209,13 @@ void SvFilterOptionsDialog::setPropertyValues( const uno::Sequence< beans::Prope
// XExecutableDialog
void SvFilterOptionsDialog::setTitle( const OUString& aTitle )
- throw ( uno::RuntimeException )
+ throw ( uno::RuntimeException, std::exception )
{
maDialogTitle = aTitle;
}
sal_Int16 SvFilterOptionsDialog::execute()
- throw ( uno::RuntimeException )
+ throw ( uno::RuntimeException, std::exception )
{
sal_Int16 nRet = ui::dialogs::ExecutableDialogResults::CANCEL;
@@ -270,7 +270,7 @@ sal_Int16 SvFilterOptionsDialog::execute()
// XEmporter
void SvFilterOptionsDialog::setSourceDocument( const uno::Reference< lang::XComponent >& xDoc )
- throw ( lang::IllegalArgumentException, uno::RuntimeException )
+ throw ( lang::IllegalArgumentException, uno::RuntimeException, std::exception )
{
mxSourceDocument = xDoc;