summaryrefslogtreecommitdiff
path: root/sd/source/filter/html/HtmlOptionsDialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/filter/html/HtmlOptionsDialog.cxx')
-rw-r--r--sd/source/filter/html/HtmlOptionsDialog.cxx35
1 files changed, 9 insertions, 26 deletions
diff --git a/sd/source/filter/html/HtmlOptionsDialog.cxx b/sd/source/filter/html/HtmlOptionsDialog.cxx
index 6aa7bbecb174..4fdb8fb074ce 100644
--- a/sd/source/filter/html/HtmlOptionsDialog.cxx
+++ b/sd/source/filter/html/HtmlOptionsDialog.cxx
@@ -72,29 +72,23 @@ public:
virtual void SAL_CALL release() throw() override;
// XInitialization
- virtual void SAL_CALL initialize( const Sequence< Any > & aArguments ) throw ( Exception, RuntimeException, std::exception ) override;
+ virtual void SAL_CALL initialize( const Sequence< Any > & aArguments ) override;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw ( RuntimeException, std::exception ) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw ( RuntimeException, std::exception ) override;
- virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() throw ( RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
+ virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
// XPropertyAccess
- virtual Sequence< PropertyValue > SAL_CALL getPropertyValues() throw ( RuntimeException, std::exception ) override;
- virtual void SAL_CALL setPropertyValues( const css::uno::Sequence< css::beans::PropertyValue > & aProps )
- throw ( css::beans::UnknownPropertyException, css::beans::PropertyVetoException,
- css::lang::IllegalArgumentException, css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual Sequence< PropertyValue > SAL_CALL getPropertyValues() override;
+ virtual void SAL_CALL setPropertyValues( const css::uno::Sequence< css::beans::PropertyValue > & aProps ) override;
// XExecuteDialog
- virtual sal_Int16 SAL_CALL execute()
- throw ( css::uno::RuntimeException, std::exception ) override;
- virtual void SAL_CALL setTitle( const OUString& aTitle )
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Int16 SAL_CALL execute() override;
+ virtual void SAL_CALL setTitle( const OUString& aTitle ) override;
// XExporter
- virtual void SAL_CALL setSourceDocument( const css::uno::Reference< css::lang::XComponent >& xDoc )
- throw ( css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL setSourceDocument( const css::uno::Reference< css::lang::XComponent >& xDoc ) override;
};
@@ -115,25 +109,21 @@ void SAL_CALL SdHtmlOptionsDialog::release() throw()
// XInitialization
void SAL_CALL SdHtmlOptionsDialog::initialize( const Sequence< Any > & )
- throw ( Exception, RuntimeException, std::exception )
{
}
// XServiceInfo
OUString SAL_CALL SdHtmlOptionsDialog::getImplementationName()
- throw( RuntimeException, std::exception )
{
return OUString( "com.sun.star.comp.draw.SdHtmlOptionsDialog" );
}
sal_Bool SAL_CALL SdHtmlOptionsDialog::supportsService( const OUString& rServiceName )
- throw( RuntimeException, std::exception )
{
return cppu::supportsService(this, rServiceName);
}
Sequence< OUString > SAL_CALL SdHtmlOptionsDialog::getSupportedServiceNames()
- throw ( RuntimeException, std::exception )
{
Sequence< OUString > aRet { "com.sun.star.ui.dialog.FilterOptionsDialog" };
return aRet;
@@ -141,7 +131,6 @@ Sequence< OUString > SAL_CALL SdHtmlOptionsDialog::getSupportedServiceNames()
// XPropertyAccess
Sequence< PropertyValue > SdHtmlOptionsDialog::getPropertyValues()
- throw ( RuntimeException, std::exception )
{
sal_Int32 i, nCount;
for ( i = 0, nCount = maMediaDescriptor.getLength(); i < nCount; i++ )
@@ -159,9 +148,6 @@ Sequence< PropertyValue > SdHtmlOptionsDialog::getPropertyValues()
}
void SdHtmlOptionsDialog::setPropertyValues( const Sequence< PropertyValue > & aProps )
- throw ( UnknownPropertyException, PropertyVetoException,
- IllegalArgumentException, WrappedTargetException,
- RuntimeException, std::exception )
{
maMediaDescriptor = aProps;
@@ -178,13 +164,11 @@ void SdHtmlOptionsDialog::setPropertyValues( const Sequence< PropertyValue > & a
// XExecutableDialog
void SdHtmlOptionsDialog::setTitle( const OUString& aTitle )
- throw ( RuntimeException, std::exception )
{
aDialogTitle = aTitle;
}
sal_Int16 SdHtmlOptionsDialog::execute()
- throw ( RuntimeException, std::exception )
{
sal_Int16 nRet = ExecutableDialogResults::CANCEL;
@@ -210,7 +194,6 @@ sal_Int16 SdHtmlOptionsDialog::execute()
// XEmporter
void SdHtmlOptionsDialog::setSourceDocument( const Reference< XComponent >& xDoc )
- throw ( IllegalArgumentException, RuntimeException, std::exception )
{
// try to set the corresponding metric unit
Reference< XServiceInfo > xServiceInfo(xDoc, UNO_QUERY);