diff options
Diffstat (limited to 'svgio/source')
-rw-r--r-- | svgio/source/svgreader/svgdocumenthandler.cxx | 16 | ||||
-rw-r--r-- | svgio/source/svguno/xsvgparser.cxx | 16 |
2 files changed, 16 insertions, 16 deletions
diff --git a/svgio/source/svgreader/svgdocumenthandler.cxx b/svgio/source/svgreader/svgdocumenthandler.cxx index 977b54d3b03f..72e1adf9bee7 100644 --- a/svgio/source/svgreader/svgdocumenthandler.cxx +++ b/svgio/source/svgreader/svgdocumenthandler.cxx @@ -154,19 +154,19 @@ namespace svgio #endif } - void SvgDocHdl::startDocument( ) throw (xml::sax::SAXException, uno::RuntimeException, std::exception) + void SvgDocHdl::startDocument( ) { OSL_ENSURE(!mpTarget, "Already a target at document start (!)"); OSL_ENSURE(!maCssContents.size(), "SvgDocHdl startDocument with active css style stack entry (!)"); } - void SvgDocHdl::endDocument( ) throw (xml::sax::SAXException, uno::RuntimeException, std::exception) + void SvgDocHdl::endDocument( ) { OSL_ENSURE(!mpTarget, "Still a target at document end (!)"); OSL_ENSURE(!maCssContents.size(), "SvgDocHdl endDocument with active css style stack entry (!)"); } - void SvgDocHdl::startElement( const OUString& aName, const uno::Reference< xml::sax::XAttributeList >& xAttribs ) throw (xml::sax::SAXException, uno::RuntimeException, std::exception) + void SvgDocHdl::startElement( const OUString& aName, const uno::Reference< xml::sax::XAttributeList >& xAttribs ) { if (bSkip) return; @@ -409,7 +409,7 @@ namespace svgio } } - void SvgDocHdl::endElement( const OUString& aName ) throw (xml::sax::SAXException, uno::RuntimeException, std::exception) + void SvgDocHdl::endElement( const OUString& aName ) { if(!aName.isEmpty()) { @@ -550,7 +550,7 @@ namespace svgio } } - void SvgDocHdl::characters( const OUString& aChars ) throw (xml::sax::SAXException, uno::RuntimeException, std::exception) + void SvgDocHdl::characters( const OUString& aChars ) { const sal_uInt32 nLength(aChars.getLength()); @@ -625,15 +625,15 @@ namespace svgio } } - void SvgDocHdl::ignorableWhitespace(const OUString& /*aWhitespaces*/) throw (xml::sax::SAXException, uno::RuntimeException, std::exception) + void SvgDocHdl::ignorableWhitespace(const OUString& /*aWhitespaces*/) { } - void SvgDocHdl::processingInstruction(const OUString& /*aTarget*/, const OUString& /*aData*/) throw (xml::sax::SAXException, uno::RuntimeException, std::exception) + void SvgDocHdl::processingInstruction(const OUString& /*aTarget*/, const OUString& /*aData*/) { } - void SvgDocHdl::setDocumentLocator(const uno::Reference< xml::sax::XLocator >& /*xLocator*/) throw (xml::sax::SAXException, uno::RuntimeException, std::exception) + void SvgDocHdl::setDocumentLocator(const uno::Reference< xml::sax::XLocator >& /*xLocator*/) { } } // end of namespace svgreader diff --git a/svgio/source/svguno/xsvgparser.cxx b/svgio/source/svguno/xsvgparser.cxx index c4e8d5ce3c14..15947a85f13c 100644 --- a/svgio/source/svguno/xsvgparser.cxx +++ b/svgio/source/svguno/xsvgparser.cxx @@ -54,12 +54,12 @@ namespace svgio // XSvgParser virtual uno::Sequence< uno::Reference< ::graphic::XPrimitive2D > > SAL_CALL getDecomposition( const uno::Reference< ::io::XInputStream >& xSVGStream, - const OUString& aAbsolutePath) throw (uno::RuntimeException, std::exception) override; + const OUString& aAbsolutePath) override; // XServiceInfo - virtual OUString SAL_CALL getImplementationName() throw(uno::RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL supportsService(const OUString&) throw(uno::RuntimeException, std::exception) override; - virtual uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getImplementationName() override; + virtual sal_Bool SAL_CALL supportsService(const OUString&) override; + virtual uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override; }; } // end of namespace svgreader } // end of namespace svgio @@ -98,7 +98,7 @@ namespace svgio uno::Sequence< uno::Reference< ::graphic::XPrimitive2D > > XSvgParser::getDecomposition( const uno::Reference< ::io::XInputStream >& xSVGStream, - const OUString& aAbsolutePath ) throw (uno::RuntimeException, std::exception) + const OUString& aAbsolutePath ) { drawinglayer::primitive2d::Primitive2DContainer aRetval; @@ -163,17 +163,17 @@ namespace svgio return comphelper::containerToSequence(aRetval); } - OUString SAL_CALL XSvgParser::getImplementationName() throw(uno::RuntimeException, std::exception) + OUString SAL_CALL XSvgParser::getImplementationName() { return(XSvgParser_getImplementationName()); } - sal_Bool SAL_CALL XSvgParser::supportsService(const OUString& rServiceName) throw(uno::RuntimeException, std::exception) + sal_Bool SAL_CALL XSvgParser::supportsService(const OUString& rServiceName) { return cppu::supportsService(this, rServiceName); } - uno::Sequence< OUString > SAL_CALL XSvgParser::getSupportedServiceNames() throw(uno::RuntimeException, std::exception) + uno::Sequence< OUString > SAL_CALL XSvgParser::getSupportedServiceNames() { return XSvgParser_getSupportedServiceNames(); } |