diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-12-22 10:50:40 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-12-25 21:55:39 +0100 |
commit | 76e950bfafd8b44ee47d7a9573df1571652c52e1 (patch) | |
tree | 35c6ea2a240ba08ccf2c4faaaaed18c088f75763 /xmloff/source | |
parent | 93c96ec5018f723748557975435eb6c27135b60c (diff) |
various coverity exception warnings
Change-Id: I7b3588ad42e17f2f363b6a247e318f23c95e578e
Reviewed-on: https://gerrit.libreoffice.org/46961
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'xmloff/source')
-rw-r--r-- | xmloff/source/meta/MetaImportComponent.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/text/XMLAutoTextEventImport.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/XMLAutoTextEventImport.hxx | 3 |
3 files changed, 4 insertions, 5 deletions
diff --git a/xmloff/source/meta/MetaImportComponent.cxx b/xmloff/source/meta/MetaImportComponent.cxx index 45756e5343b2..d10d9c8f9bd0 100644 --- a/xmloff/source/meta/MetaImportComponent.cxx +++ b/xmloff/source/meta/MetaImportComponent.cxx @@ -39,7 +39,7 @@ public: // XMLMetaImportComponent() throw(); explicit XMLMetaImportComponent( const css::uno::Reference< css::uno::XComponentContext >& xContext - ) throw(); + ); protected: @@ -63,7 +63,7 @@ XMLMetaImportComponent_get_implementation( } XMLMetaImportComponent::XMLMetaImportComponent( - const uno::Reference< uno::XComponentContext >& xContext) throw() + const uno::Reference< uno::XComponentContext >& xContext) : SvXMLImport(xContext, ""), mxDocProps() { } diff --git a/xmloff/source/text/XMLAutoTextEventImport.cxx b/xmloff/source/text/XMLAutoTextEventImport.cxx index 2a21108b81b0..b1059c1ae5c6 100644 --- a/xmloff/source/text/XMLAutoTextEventImport.cxx +++ b/xmloff/source/text/XMLAutoTextEventImport.cxx @@ -47,7 +47,7 @@ using ::xmloff::token::IsXMLToken; using ::xmloff::token::XML_AUTO_TEXT_EVENTS; XMLAutoTextEventImport::XMLAutoTextEventImport( - const css::uno::Reference< css::uno::XComponentContext >& xContext) throw() + const css::uno::Reference< css::uno::XComponentContext >& xContext) : SvXMLImport(xContext, "") { } diff --git a/xmloff/source/text/XMLAutoTextEventImport.hxx b/xmloff/source/text/XMLAutoTextEventImport.hxx index 6413033dee4a..6a7e04b4f83e 100644 --- a/xmloff/source/text/XMLAutoTextEventImport.hxx +++ b/xmloff/source/text/XMLAutoTextEventImport.hxx @@ -41,8 +41,7 @@ class XMLAutoTextEventImport : public SvXMLImport public: explicit XMLAutoTextEventImport( - const css::uno::Reference< css::uno::XComponentContext >& xContext - ) throw(); + const css::uno::Reference< css::uno::XComponentContext >& xContext); virtual ~XMLAutoTextEventImport() throw() override; |