summaryrefslogtreecommitdiff
path: root/svgio
diff options
context:
space:
mode:
Diffstat (limited to 'svgio')
-rw-r--r--svgio/inc/svgdocumenthandler.hxx16
-rw-r--r--svgio/source/svgreader/svgdocumenthandler.cxx16
-rw-r--r--svgio/source/svguno/xsvgparser.cxx16
3 files changed, 24 insertions, 24 deletions
diff --git a/svgio/inc/svgdocumenthandler.hxx b/svgio/inc/svgdocumenthandler.hxx
index b61fbea925b8..c1041574ec6d 100644
--- a/svgio/inc/svgdocumenthandler.hxx
+++ b/svgio/inc/svgdocumenthandler.hxx
@@ -49,14 +49,14 @@ namespace svgio
virtual ~SvgDocHdl() override;
// Methods 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 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;
+ 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 ) 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;
const SvgDocument& getSvgDocument() const { return maDocument; }
};
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();
}