summaryrefslogtreecommitdiff
path: root/unoxml/source/rdf/CURI.cxx
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 /unoxml/source/rdf/CURI.cxx
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 'unoxml/source/rdf/CURI.cxx')
-rw-r--r--unoxml/source/rdf/CURI.cxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/unoxml/source/rdf/CURI.cxx b/unoxml/source/rdf/CURI.cxx
index 6473ae3d78b7..0a6d903b1088 100644
--- a/unoxml/source/rdf/CURI.cxx
+++ b/unoxml/source/rdf/CURI.cxx
@@ -42,19 +42,19 @@ public:
explicit CURI();
// css::lang::XServiceInfo:
- virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService(const OUString & ServiceName) 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 sal_Bool SAL_CALL supportsService(const OUString & ServiceName) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
// css::lang::XInitialization:
- virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception) override;
+ virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > & aArguments) override;
// css::rdf::XNode:
- virtual OUString SAL_CALL getStringValue() throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getStringValue() override;
// css::rdf::XURI:
- virtual OUString SAL_CALL getLocalName() throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getNamespace() throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getLocalName() override;
+ virtual OUString SAL_CALL getNamespace() override;
private:
CURI(CURI const&) = delete;
@@ -72,17 +72,17 @@ CURI::CURI() :
{}
// com.sun.star.uno.XServiceInfo:
-OUString SAL_CALL CURI::getImplementationName() throw (css::uno::RuntimeException, std::exception)
+OUString SAL_CALL CURI::getImplementationName()
{
return comp_CURI::_getImplementationName();
}
-sal_Bool SAL_CALL CURI::supportsService(OUString const & serviceName) throw (css::uno::RuntimeException, std::exception)
+sal_Bool SAL_CALL CURI::supportsService(OUString const & serviceName)
{
return cppu::supportsService(this, serviceName);
}
-css::uno::Sequence< OUString > SAL_CALL CURI::getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception)
+css::uno::Sequence< OUString > SAL_CALL CURI::getSupportedServiceNames()
{
return comp_CURI::_getSupportedServiceNames();
}
@@ -709,7 +709,7 @@ void SAL_CALL CURI::initFromConstant(const sal_Int16 i_Constant)
}
// css::lang::XInitialization:
-void SAL_CALL CURI::initialize(const css::uno::Sequence< css::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception)
+void SAL_CALL CURI::initialize(const css::uno::Sequence< css::uno::Any > & aArguments)
{
sal_Int32 len = aArguments.getLength();
if ((len < 1) || (len > 2)) {
@@ -783,18 +783,18 @@ void SAL_CALL CURI::initialize(const css::uno::Sequence< css::uno::Any > & aArgu
}
// css::rdf::XNode:
-OUString SAL_CALL CURI::getStringValue() throw (css::uno::RuntimeException, std::exception)
+OUString SAL_CALL CURI::getStringValue()
{
return m_Namespace + m_LocalName;
}
// css::rdf::XURI:
-OUString SAL_CALL CURI::getNamespace() throw (css::uno::RuntimeException, std::exception)
+OUString SAL_CALL CURI::getNamespace()
{
return m_Namespace;
}
-OUString SAL_CALL CURI::getLocalName() throw (css::uno::RuntimeException, std::exception)
+OUString SAL_CALL CURI::getLocalName()
{
return m_LocalName;
}