diff options
Diffstat (limited to 'xmlscript/source/xmlflat_imexp')
-rw-r--r-- | xmlscript/source/xmlflat_imexp/xmlbas_export.cxx | 15 | ||||
-rw-r--r-- | xmlscript/source/xmlflat_imexp/xmlbas_export.hxx | 27 | ||||
-rw-r--r-- | xmlscript/source/xmlflat_imexp/xmlbas_import.cxx | 41 | ||||
-rw-r--r-- | xmlscript/source/xmlflat_imexp/xmlbas_import.hxx | 108 |
4 files changed, 56 insertions, 135 deletions
diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx b/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx index c6fa807f1208..37f9b9e6108a 100644 --- a/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx +++ b/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx @@ -50,14 +50,14 @@ namespace xmlscript } // XServiceInfo - sal_Bool XMLBasicExporterBase::supportsService( const OUString& rServiceName ) throw (RuntimeException, std::exception) + sal_Bool XMLBasicExporterBase::supportsService( const OUString& rServiceName ) { return cppu::supportsService(this, rServiceName); } // XInitialization - void XMLBasicExporterBase::initialize( const Sequence< Any >& aArguments ) throw (Exception, RuntimeException, std::exception) + void XMLBasicExporterBase::initialize( const Sequence< Any >& aArguments ) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -79,7 +79,6 @@ namespace xmlscript // XExporter void XMLBasicExporterBase::setSourceDocument( const Reference< XComponent >& rxDoc ) - throw (IllegalArgumentException, RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -94,7 +93,6 @@ namespace xmlscript // XFilter sal_Bool XMLBasicExporterBase::filter( const Sequence< beans::PropertyValue >& /*aDescriptor*/ ) - throw (RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -329,7 +327,6 @@ sal_Bool XMLBasicExporterBase::filter( const Sequence< beans::PropertyValue >& / } void XMLBasicExporterBase::cancel() - throw (RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -349,12 +346,12 @@ sal_Bool XMLBasicExporterBase::filter( const Sequence< beans::PropertyValue >& / // XServiceInfo - OUString XMLBasicExporter::getImplementationName( ) throw (RuntimeException, std::exception) + OUString XMLBasicExporter::getImplementationName( ) { return OUString( "com.sun.star.comp.xmlscript.XMLBasicExporter" ); } - Sequence< OUString > XMLBasicExporter::getSupportedServiceNames( ) throw (RuntimeException, std::exception) + Sequence< OUString > XMLBasicExporter::getSupportedServiceNames( ) { Sequence< OUString > aNames { "com.sun.star.document.XMLBasicExporter" }; return aNames; @@ -373,12 +370,12 @@ sal_Bool XMLBasicExporterBase::filter( const Sequence< beans::PropertyValue >& / // XServiceInfo - OUString XMLOasisBasicExporter::getImplementationName( ) throw (RuntimeException, std::exception) + OUString XMLOasisBasicExporter::getImplementationName( ) { return OUString( "com.sun.star.comp.xmlscript.XMLOasisBasicExporter" ); } - Sequence< OUString > XMLOasisBasicExporter::getSupportedServiceNames( ) throw (RuntimeException, std::exception) + Sequence< OUString > XMLOasisBasicExporter::getSupportedServiceNames( ) { Sequence< OUString > aNames { "com.sun.star.document.XMLOasisBasicExporter" }; return aNames; diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx b/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx index 9476d44f39bd..6d44d6255451 100644 --- a/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx +++ b/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx @@ -52,22 +52,17 @@ namespace xmlscript virtual ~XMLBasicExporterBase() override; // XServiceInfo - virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) - throw (css::uno::RuntimeException, std::exception) override; + virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; // XInitialization - virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) - throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override; // XExporter - virtual void SAL_CALL setSourceDocument( const css::uno::Reference< css::lang::XComponent >& rxDoc ) - throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL setSourceDocument( const css::uno::Reference< css::lang::XComponent >& rxDoc ) override; // XFilter - virtual sal_Bool SAL_CALL filter( const css::uno::Sequence< css::beans::PropertyValue >& aDescriptor ) - throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL cancel() - throw (css::uno::RuntimeException, std::exception) override; + virtual sal_Bool SAL_CALL filter( const css::uno::Sequence< css::beans::PropertyValue >& aDescriptor ) override; + virtual void SAL_CALL cancel() override; }; // class XMLBasicExporter @@ -79,10 +74,8 @@ namespace xmlscript virtual ~XMLBasicExporter() override; // XServiceInfo - virtual OUString SAL_CALL getImplementationName( ) - throw (css::uno::RuntimeException, std::exception) override; - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) - throw (css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getImplementationName( ) override; + virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override; }; // class XMLOasisBasicExporter @@ -94,10 +87,8 @@ namespace xmlscript virtual ~XMLOasisBasicExporter() override; // XServiceInfo - virtual OUString SAL_CALL getImplementationName( ) - throw (css::uno::RuntimeException, std::exception) override; - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) - throw (css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getImplementationName( ) override; + virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override; }; } // namespace xmlscript diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx b/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx index 316b3a0d4007..da62d412f5b7 100644 --- a/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx +++ b/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx @@ -85,19 +85,16 @@ namespace xmlscript // XElement Reference< xml::input::XElement > BasicElementBase::getParent() - throw (RuntimeException, std::exception) { return m_xParent.get(); } OUString BasicElementBase::getLocalName() - throw (RuntimeException, std::exception) { return m_aLocalName; } sal_Int32 BasicElementBase::getUid() - throw (RuntimeException, std::exception) { sal_Int32 nId = -1; if ( m_xImport.is() ) @@ -106,7 +103,6 @@ namespace xmlscript } Reference< xml::input::XAttributes > BasicElementBase::getAttributes() - throw (RuntimeException, std::exception) { return m_xAttributes; } @@ -114,29 +110,24 @@ namespace xmlscript Reference< xml::input::XElement > BasicElementBase::startChildElement( sal_Int32 /*nUid*/, const OUString& /*rLocalName*/, const Reference< xml::input::XAttributes >& /*xAttributes*/ ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { throw xml::sax::SAXException("unexpected element!", Reference< XInterface >(), Any() ); } void BasicElementBase::characters( const OUString& /*rChars*/ ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // not used, all characters ignored } void BasicElementBase::ignorableWhitespace( const OUString& /*rWhitespaces*/ ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { } void BasicElementBase::processingInstruction( const OUString& /*rTarget*/, const OUString& /*rData*/ ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { } void BasicElementBase::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { } @@ -156,7 +147,6 @@ void BasicElementBase::processingInstruction( const OUString& /*rTarget*/, const Reference< xml::input::XElement > BasicLibrariesElement::startChildElement( sal_Int32 nUid, const OUString& rLocalName, const Reference< xml::input::XAttributes >& xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { Reference< xml::input::XElement > xElement; @@ -240,7 +230,6 @@ void BasicElementBase::processingInstruction( const OUString& /*rTarget*/, const } void BasicLibrariesElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { } @@ -272,7 +261,6 @@ void BasicElementBase::processingInstruction( const OUString& /*rTarget*/, const Reference< xml::input::XElement > BasicEmbeddedLibraryElement::startChildElement( sal_Int32 nUid, const OUString& rLocalName, const Reference< xml::input::XAttributes >& xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { Reference< xml::input::XElement > xElement; @@ -299,7 +287,6 @@ void BasicElementBase::processingInstruction( const OUString& /*rTarget*/, const } void BasicEmbeddedLibraryElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { if ( m_xLibContainer.is() && m_xLibContainer->hasByName( m_aLibName ) && m_bReadOnly ) m_xLibContainer->setLibraryReadOnly( m_aLibName, m_bReadOnly ); @@ -322,7 +309,6 @@ void BasicElementBase::processingInstruction( const OUString& /*rTarget*/, const Reference< xml::input::XElement > BasicModuleElement::startChildElement( sal_Int32 nUid, const OUString& rLocalName, const Reference< xml::input::XAttributes >& xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // TODO: <byte-code> @@ -351,7 +337,6 @@ void BasicElementBase::processingInstruction( const OUString& /*rTarget*/, const } void BasicModuleElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { } @@ -370,13 +355,11 @@ void BasicElementBase::processingInstruction( const OUString& /*rTarget*/, const // XElement void BasicSourceCodeElement::characters( const OUString& rChars ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { m_aBuffer.append( rChars ); } void BasicSourceCodeElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { try { @@ -418,7 +401,6 @@ void BasicElementBase::processingInstruction( const OUString& /*rTarget*/, const // XRoot void BasicImport::startDocument( const Reference< xml::input::XNamespaceMapping >& xNamespaceMapping ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { if ( xNamespaceMapping.is() ) { @@ -433,23 +415,19 @@ void BasicElementBase::processingInstruction( const OUString& /*rTarget*/, const } void BasicImport::endDocument() - throw (xml::sax::SAXException, RuntimeException, std::exception) { } void BasicImport::processingInstruction( const OUString& /*rTarget*/, const OUString& /*rData*/ ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { } void BasicImport::setDocumentLocator( const Reference< xml::sax::XLocator >& /*xLocator*/ ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { } Reference< xml::input::XElement > BasicImport::startRootElement( sal_Int32 nUid, const OUString& rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { Reference< xml::input::XElement > xElement; @@ -502,14 +480,13 @@ void BasicImport::setDocumentLocator( const Reference< xml::sax::XLocator >& /*x } // XServiceInfo - sal_Bool XMLBasicImporterBase::supportsService( const OUString& rServiceName ) throw (RuntimeException, std::exception) + sal_Bool XMLBasicImporterBase::supportsService( const OUString& rServiceName ) { return cppu::supportsService(this, rServiceName); } // XImporter void XMLBasicImporterBase::setTargetDocument( const Reference< XComponent >& rxDoc ) - throw (IllegalArgumentException, RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -536,7 +513,6 @@ void BasicImport::setDocumentLocator( const Reference< xml::sax::XLocator >& /*x // XDocumentHandler void XMLBasicImporterBase::startDocument() - throw (xml::sax::SAXException, RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -545,7 +521,6 @@ void BasicImport::setDocumentLocator( const Reference< xml::sax::XLocator >& /*x } void XMLBasicImporterBase::endDocument() - throw (xml::sax::SAXException, RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -555,7 +530,6 @@ void BasicImport::setDocumentLocator( const Reference< xml::sax::XLocator >& /*x void XMLBasicImporterBase::startElement( const OUString& aName, const Reference< xml::sax::XAttributeList >& xAttribs ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -564,7 +538,6 @@ void BasicImport::setDocumentLocator( const Reference< xml::sax::XLocator >& /*x } void XMLBasicImporterBase::endElement( const OUString& aName ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -573,7 +546,6 @@ void BasicImport::setDocumentLocator( const Reference< xml::sax::XLocator >& /*x } void XMLBasicImporterBase::characters( const OUString& aChars ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -582,7 +554,6 @@ void BasicImport::setDocumentLocator( const Reference< xml::sax::XLocator >& /*x } void XMLBasicImporterBase::ignorableWhitespace( const OUString& aWhitespaces ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -592,7 +563,6 @@ void BasicImport::setDocumentLocator( const Reference< xml::sax::XLocator >& /*x void XMLBasicImporterBase::processingInstruction( const OUString& aTarget, const OUString& aData ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -601,7 +571,6 @@ void BasicImport::setDocumentLocator( const Reference< xml::sax::XLocator >& /*x } void XMLBasicImporterBase::setDocumentLocator( const Reference< xml::sax::XLocator >& xLocator ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -622,12 +591,12 @@ void BasicImport::setDocumentLocator( const Reference< xml::sax::XLocator >& /*x // XServiceInfo - OUString XMLBasicImporter::getImplementationName( ) throw (RuntimeException, std::exception) + OUString XMLBasicImporter::getImplementationName( ) { return OUString( "com.sun.star.comp.xmlscript.XMLBasicImporter" ); } - Sequence< OUString > XMLBasicImporter::getSupportedServiceNames( ) throw (RuntimeException, std::exception) + Sequence< OUString > XMLBasicImporter::getSupportedServiceNames( ) { Sequence< OUString > aNames { "com.sun.star.document.XMLBasicImporter" }; return aNames; @@ -646,12 +615,12 @@ void BasicImport::setDocumentLocator( const Reference< xml::sax::XLocator >& /*x // XServiceInfo - OUString XMLOasisBasicImporter::getImplementationName( ) throw (RuntimeException, std::exception) + OUString XMLOasisBasicImporter::getImplementationName( ) { return OUString( "com.sun.star.comp.xmlscript.XMLOasisBasicImporter" ); } - Sequence< OUString > XMLOasisBasicImporter::getSupportedServiceNames( ) throw (RuntimeException, std::exception) + Sequence< OUString > XMLOasisBasicImporter::getSupportedServiceNames( ) { Sequence< OUString > aNames { "com.sun.star.document.XMLOasisBasicImporter" }; return aNames; diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx b/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx index 194283c87d87..247cf835eb3c 100644 --- a/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx +++ b/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx @@ -62,28 +62,19 @@ namespace xmlscript virtual ~BasicElementBase() override; // XElement - virtual css::uno::Reference< css::xml::input::XElement > SAL_CALL getParent() - throw (css::uno::RuntimeException, std::exception) override; - virtual OUString SAL_CALL getLocalName() - throw (css::uno::RuntimeException, std::exception) override; - virtual sal_Int32 SAL_CALL getUid() - throw (css::uno::RuntimeException, std::exception) override; - virtual css::uno::Reference< css::xml::input::XAttributes > SAL_CALL getAttributes() - throw (css::uno::RuntimeException, std::exception) override; + virtual css::uno::Reference< css::xml::input::XElement > SAL_CALL getParent() override; + virtual OUString SAL_CALL getLocalName() override; + virtual sal_Int32 SAL_CALL getUid() override; + virtual css::uno::Reference< css::xml::input::XAttributes > SAL_CALL getAttributes() override; virtual css::uno::Reference< css::xml::input::XElement > SAL_CALL startChildElement( sal_Int32 nUid, const OUString& rLocalName, - const css::uno::Reference< css::xml::input::XAttributes >& xAttributes ) - throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL characters( const OUString& rChars ) - throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::xml::input::XAttributes >& xAttributes ) override; + virtual void SAL_CALL characters( const OUString& rChars ) override; virtual void SAL_CALL ignorableWhitespace( - const OUString& rWhitespaces ) - throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override; + const OUString& rWhitespaces ) override; virtual void SAL_CALL processingInstruction( - const OUString& rTarget, const OUString& rData ) - throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL endElement() - throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override; + const OUString& rTarget, const OUString& rData ) override; + virtual void SAL_CALL endElement() override; }; // class BasicLibrariesElement @@ -102,10 +93,8 @@ namespace xmlscript // XElement virtual css::uno::Reference< css::xml::input::XElement > SAL_CALL startChildElement( sal_Int32 nUid, const OUString& rLocalName, - const css::uno::Reference< css::xml::input::XAttributes >& xAttributes ) - throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL endElement() - throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::xml::input::XAttributes >& xAttributes ) override; + virtual void SAL_CALL endElement() override; }; // class BasicEmbeddedLibraryElement @@ -128,10 +117,8 @@ namespace xmlscript // XElement virtual css::uno::Reference< css::xml::input::XElement > SAL_CALL startChildElement( sal_Int32 nUid, const OUString& rLocalName, - const css::uno::Reference< css::xml::input::XAttributes >& xAttributes ) - throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL endElement() - throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::xml::input::XAttributes >& xAttributes ) override; + virtual void SAL_CALL endElement() override; }; // class BasicModuleElement @@ -152,10 +139,8 @@ namespace xmlscript // XElement virtual css::uno::Reference< css::xml::input::XElement > SAL_CALL startChildElement( sal_Int32 nUid, const OUString& rLocalName, - const css::uno::Reference< css::xml::input::XAttributes >& xAttributes ) - throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL endElement() - throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::xml::input::XAttributes >& xAttributes ) override; + virtual void SAL_CALL endElement() override; }; // class BasicSourceCodeElement @@ -175,10 +160,8 @@ namespace xmlscript const OUString& rName ); // XElement - virtual void SAL_CALL characters( const OUString& rChars ) - throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL endElement() - throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL characters( const OUString& rChars ) override; + virtual void SAL_CALL endElement() override; }; // class BasicImport @@ -205,20 +188,15 @@ namespace xmlscript // XRoot virtual void SAL_CALL startDocument( - const css::uno::Reference< css::xml::input::XNamespaceMapping >& xNamespaceMapping ) - 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; + const css::uno::Reference< css::xml::input::XNamespaceMapping >& xNamespaceMapping ) override; + virtual void SAL_CALL endDocument() override; virtual void SAL_CALL processingInstruction( - const OUString& rTarget, const OUString& rData ) - throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override; + const OUString& rTarget, const OUString& rData ) 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::XLocator >& xLocator ) override; virtual css::uno::Reference< css::xml::input::XElement > SAL_CALL startRootElement( sal_Int32 nUid, const OUString& rLocalName, - const css::uno::Reference< css::xml::input::XAttributes >& xAttributes ) - throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::xml::input::XAttributes >& xAttributes ) override; }; // class XMLBasicImporterBase @@ -242,31 +220,21 @@ namespace xmlscript virtual ~XMLBasicImporterBase() override; // XServiceInfo - virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) - throw (css::uno::RuntimeException, std::exception) override; + virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; // XImporter - virtual void SAL_CALL setTargetDocument( const css::uno::Reference< css::lang::XComponent >& rxDoc ) - throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL setTargetDocument( const css::uno::Reference< css::lang::XComponent >& rxDoc ) 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; }; // class XMLBasicImporter @@ -279,10 +247,8 @@ namespace xmlscript virtual ~XMLBasicImporter() override; // XServiceInfo - virtual OUString SAL_CALL getImplementationName( ) - throw (css::uno::RuntimeException, std::exception) override; - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) - throw (css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getImplementationName( ) override; + virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override; }; // class XMLOasisBasicImporter @@ -295,10 +261,8 @@ namespace xmlscript virtual ~XMLOasisBasicImporter() override; // XServiceInfo - virtual OUString SAL_CALL getImplementationName( ) - throw (css::uno::RuntimeException, std::exception) override; - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) - throw (css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getImplementationName( ) override; + virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override; }; } // namespace xmlscript |