summaryrefslogtreecommitdiff
path: root/xmloff/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-26 12:28:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-26 12:54:43 +0000
commite57ca02849c3d87142ff5ff9099a212e72b8139c (patch)
treebcce66b27261553c308779f3e8663a269ed3a671 /xmloff/inc
parent8802ebd5172ec4bc412a59d136c82b77ab452281 (diff)
Remove dynamic exception specifications
...(for now, from LIBO_INTERNAL_CODE only). See the mail thread starting at <https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html> "Dynamic Exception Specifications" for details. Most changes have been done automatically by the rewriting loplugin:dynexcspec (after enabling the rewriting mode, to be committed shortly). The way it only removes exception specs from declarations if it also sees a definition, it identified some dead declarations-w/o-definitions (that have been removed manually) and some cases where a definition appeared in multiple include files (which have also been cleaned up manually). There's also been cases of macro paramters (that were used to abstract over exception specs) that have become unused now (and been removed). Furthermore, some code needed to be cleaned up manually (avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no configurations available that would actually build that code. Missing @throws documentation has not been applied in such manual clean-up. Change-Id: I3408691256c9b0c12bc5332de976743626e13960 Reviewed-on: https://gerrit.libreoffice.org/33574 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'xmloff/inc')
-rw-r--r--xmloff/inc/MetaExportComponent.hxx2
-rw-r--r--xmloff/inc/SchXMLImport.hxx2
-rw-r--r--xmloff/inc/StyleMap.hxx2
-rw-r--r--xmloff/inc/XMLBasicExportFilter.hxx24
-rw-r--r--xmloff/inc/facreg.hxx168
-rw-r--r--xmloff/inc/xmlversion.hxx13
6 files changed, 64 insertions, 147 deletions
diff --git a/xmloff/inc/MetaExportComponent.hxx b/xmloff/inc/MetaExportComponent.hxx
index 0f128201cb21..239f52ca67ce 100644
--- a/xmloff/inc/MetaExportComponent.hxx
+++ b/xmloff/inc/MetaExportComponent.hxx
@@ -42,7 +42,7 @@ protected:
enum ::xmloff::token::XMLTokenEnum eClass = xmloff::token::XML_TOKEN_INVALID ) override;
// accept XDocumentProperties in addition to XModel
- 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;
// override
virtual void ExportMeta_() override;
diff --git a/xmloff/inc/SchXMLImport.hxx b/xmloff/inc/SchXMLImport.hxx
index 645b683e96a9..32037a78d8eb 100644
--- a/xmloff/inc/SchXMLImport.hxx
+++ b/xmloff/inc/SchXMLImport.hxx
@@ -173,7 +173,7 @@ public:
const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList );
// XImporter
- virtual void SAL_CALL setTargetDocument( const css::uno::Reference< css::lang::XComponent >& xDoc ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setTargetDocument( const css::uno::Reference< css::lang::XComponent >& xDoc ) override;
};
#endif // INCLUDED_XMLOFF_INC_SCHXMLIMPORT_HXX
diff --git a/xmloff/inc/StyleMap.hxx b/xmloff/inc/StyleMap.hxx
index d308ba033ff0..f5b99a3278b2 100644
--- a/xmloff/inc/StyleMap.hxx
+++ b/xmloff/inc/StyleMap.hxx
@@ -74,7 +74,7 @@ public:
// XUnoTunnel
virtual sal_Int64 SAL_CALL getSomething(
- const css::uno::Sequence< sal_Int8 >& aIdentifier ) throw(css::uno::RuntimeException, std::exception) override;
+ const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
};
#endif // INCLUDED_XMLOFF_INC_STYLEMAP_HXX
diff --git a/xmloff/inc/XMLBasicExportFilter.hxx b/xmloff/inc/XMLBasicExportFilter.hxx
index e4128586bdec..f659f05b8f75 100644
--- a/xmloff/inc/XMLBasicExportFilter.hxx
+++ b/xmloff/inc/XMLBasicExportFilter.hxx
@@ -39,23 +39,15 @@ public:
virtual ~XMLBasicExportFilter() override;
// XDocumentHandler
- virtual void SAL_CALL startDocument()
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL endDocument()
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL startDocument() override;
+ virtual void SAL_CALL endDocument() override;
virtual void SAL_CALL startElement( const OUString& aName,
- const css::uno::Reference< css::xml::sax::XAttributeList >& xAttribs )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL endElement( const OUString& aName )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL characters( const OUString& aChars )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL ignorableWhitespace( const OUString& aWhitespaces )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL processingInstruction( const OUString& aTarget, const OUString& aData )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setDocumentLocator( const css::uno::Reference< css::xml::sax::XLocator >& xLocator )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::xml::sax::XAttributeList >& xAttribs ) override;
+ virtual void SAL_CALL endElement( const OUString& aName ) override;
+ virtual void SAL_CALL characters( const OUString& aChars ) override;
+ virtual void SAL_CALL ignorableWhitespace( const OUString& aWhitespaces ) override;
+ virtual void SAL_CALL processingInstruction( const OUString& aTarget, const OUString& aData ) override;
+ virtual void SAL_CALL setDocumentLocator( const css::uno::Reference< css::xml::sax::XLocator >& xLocator ) override;
};
#endif // INCLUDED_XMLOFF_INC_XMLBASICEXPORTFILTER_HXX
diff --git a/xmloff/inc/facreg.hxx b/xmloff/inc/facreg.hxx
index 1a15986d8669..d19ad010913f 100644
--- a/xmloff/inc/facreg.hxx
+++ b/xmloff/inc/facreg.hxx
@@ -38,64 +38,54 @@ OUString SAL_CALL XMLImpressImportOasis_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLImpressImportOasis_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressImportOasis_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL XMLImpressStylesImportOasis_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLImpressStylesImportOasis_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressStylesImportOasis_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL XMLImpressContentImportOasis_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLImpressContentImportOasis_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressContentImportOasis_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL XMLImpressMetaImportOasis_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLImpressMetaImportOasis_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressMetaImportOasis_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL XMLImpressSettingsImportOasis_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLImpressSettingsImportOasis_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressSettingsImportOasis_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
// impress oasis export
OUString SAL_CALL XMLImpressExportOasis_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLImpressExportOasis_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressExportOasis_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL XMLImpressStylesExportOasis_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLImpressStylesExportOasis_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressStylesExportOasis_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL XMLImpressContentExportOasis_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLImpressContentExportOasis_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressContentExportOasis_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL XMLImpressMetaExportOasis_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLImpressMetaExportOasis_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressMetaExportOasis_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL XMLImpressSettingsExportOasis_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLImpressSettingsExportOasis_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressSettingsExportOasis_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
// impress OOo import
@@ -104,96 +94,81 @@ OUString SAL_CALL XMLImpressExportOOO_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLImpressExportOOO_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressExportOOO_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL XMLImpressStylesExportOOO_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLImpressStylesExportOOO_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressStylesExportOOO_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL XMLImpressContentExportOOO_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLImpressContentExportOOO_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressContentExportOOO_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL XMLImpressMetaExportOOO_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLImpressMetaExportOOO_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressMetaExportOOO_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL XMLImpressSettingsExportOOO_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLImpressSettingsExportOOO_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressSettingsExportOOO_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
// draw oasis import
OUString SAL_CALL XMLDrawImportOasis_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLDrawImportOasis_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawImportOasis_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL XMLDrawStylesImportOasis_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLDrawStylesImportOasis_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawStylesImportOasis_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL XMLDrawContentImportOasis_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLDrawContentImportOasis_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawContentImportOasis_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL XMLDrawMetaImportOasis_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLDrawMetaImportOasis_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawMetaImportOasis_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL XMLDrawSettingsImportOasis_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLDrawSettingsImportOasis_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawSettingsImportOasis_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
// draw oasis export
OUString SAL_CALL XMLDrawExportOasis_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLDrawExportOasis_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawExportOasis_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL XMLDrawStylesExportOasis_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLDrawStylesExportOasis_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawStylesExportOasis_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL XMLDrawContentExportOasis_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLDrawContentExportOasis_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawContentExportOasis_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL XMLDrawMetaExportOasis_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLDrawMetaExportOasis_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawMetaExportOasis_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL XMLDrawSettingsExportOasis_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLDrawSettingsExportOasis_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawSettingsExportOasis_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
// draw OOo import
@@ -202,108 +177,92 @@ OUString SAL_CALL XMLDrawExportOOO_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLDrawExportOOO_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawExportOOO_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL XMLDrawStylesExportOOO_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLDrawStylesExportOOO_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawStylesExportOOO_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL XMLDrawContentExportOOO_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLDrawContentExportOOO_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawContentExportOOO_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL XMLDrawMetaExportOOO_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLDrawMetaExportOOO_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawMetaExportOOO_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL XMLDrawSettingsExportOOO_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLDrawSettingsExportOOO_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawSettingsExportOOO_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
// impress animation import
OUString SAL_CALL AnimationsImport_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL AnimationsImport_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL AnimationsImport_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
// drawing layer export
OUString SAL_CALL XMLDrawingLayerExport_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLDrawingLayerExport_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawingLayerExport_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
// impress xml clipboard export
OUString SAL_CALL XMLImpressClipboardExport_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLImpressClipboardExport_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressClipboardExport_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
// chart oasis import
OUString SAL_CALL SchXMLImport_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL SchXMLImport_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLImport_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL SchXMLImport_Meta_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL SchXMLImport_Meta_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLImport_Meta_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL SchXMLImport_Styles_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL SchXMLImport_Styles_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLImport_Styles_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL SchXMLImport_Content_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL SchXMLImport_Content_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLImport_Content_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
// chart oasis export
OUString SAL_CALL SchXMLExport_Oasis_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL SchXMLExport_Oasis_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLExport_Oasis_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL SchXMLExport_Oasis_Meta_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL SchXMLExport_Oasis_Meta_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLExport_Oasis_Meta_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL SchXMLExport_Oasis_Styles_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL SchXMLExport_Oasis_Styles_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLExport_Oasis_Styles_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL SchXMLExport_Oasis_Content_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL SchXMLExport_Oasis_Content_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLExport_Oasis_Content_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
// chart OOo import
@@ -312,76 +271,45 @@ OUString SAL_CALL SchXMLExport_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL SchXMLExport_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLExport_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL SchXMLExport_Styles_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL SchXMLExport_Styles_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLExport_Styles_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
OUString SAL_CALL SchXMLExport_Content_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL SchXMLExport_Content_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLExport_Content_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
// meta export OOo
OUString SAL_CALL XMLMetaExportOOO_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLMetaExportOOO_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLMetaExportOOO_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
// writer autotext event export
OUString SAL_CALL XMLAutoTextEventExport_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLAutoTextEventExport_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLAutoTextEventExport_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
// writer autotext event import
OUString SAL_CALL XMLAutoTextEventImport_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLAutoTextEventImport_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLAutoTextEventImport_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
// writer autotext event export OOo
OUString SAL_CALL XMLAutoTextEventExportOOO_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLAutoTextEventExportOOO_getSupportedServiceNames() throw();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL XMLAutoTextEventExportOOO_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
-
-// writer autotext event import OOo
-OUString SAL_CALL XMLAutoTextEventImportOOO_getImplementationName() throw();
-css::uno::Sequence<OUString> SAL_CALL XMLAutoTextEventImportOOO_getSupportedServiceNames() throw();
-/// @throws css::uno::Exception
-css::uno::Reference<css::uno::XInterface> SAL_CALL XMLAutoTextEventImportOOO_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
-
-// Oasis2OOo transformer
-OUString SAL_CALL Oasis2OOoTransformer_getImplementationName() throw();
-css::uno::Sequence<OUString> SAL_CALL Oasis2OOoTransformer_getSupportedServiceNames() throw();
-/// @throws css::uno::Exception
-css::uno::Reference<css::uno::XInterface> SAL_CALL Oasis2OOoTransformer_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
-
-// OOo2Oasis transformer
-OUString SAL_CALL OOo2OasisTransformer_getImplementationName() throw();
-css::uno::Sequence<OUString> SAL_CALL OOo2OasisTransformer_getSupportedServiceNames() throw();
-/// @throws css::uno::Exception
-css::uno::Reference<css::uno::XInterface> SAL_CALL OOo2OasisTransformer_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
#endif
diff --git a/xmloff/inc/xmlversion.hxx b/xmloff/inc/xmlversion.hxx
index 303e0e16c76f..8c33b306a28c 100644
--- a/xmloff/inc/xmlversion.hxx
+++ b/xmloff/inc/xmlversion.hxx
@@ -115,17 +115,14 @@ public:
class XMLVersionListPersistence : public ::cppu::WeakImplHelper< css::document::XDocumentRevisionListPersistence, css::lang::XServiceInfo >
{
public:
- virtual css::uno::Sequence< css::util::RevisionTag > SAL_CALL load( const css::uno::Reference< css::embed::XStorage >& Storage ) throw (css::container::NoSuchElementException, css::io::IOException, css::uno::Exception, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL store( const css::uno::Reference< css::embed::XStorage >& Storage, const css::uno::Sequence< css::util::RevisionTag >& List ) throw (css::io::IOException, css::uno::Exception, css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< css::util::RevisionTag > SAL_CALL load( const css::uno::Reference< css::embed::XStorage >& Storage ) override;
+ virtual void SAL_CALL store( const css::uno::Reference< css::embed::XStorage >& Storage, const css::uno::Sequence< css::util::RevisionTag >& List ) override;
- OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException, std::exception) override;
+ OUString SAL_CALL getImplementationName() override;
- sal_Bool SAL_CALL supportsService(OUString const & ServiceName)
- throw (css::uno::RuntimeException, std::exception) override;
+ sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override;
- css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception) override;
+ css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
};
#endif