summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-04-30 08:20:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-05-02 17:02:28 +0200
commit10d29c390dd58ed629dd27fe5ed35fae28eceec3 (patch)
tree7476cbb90fff182c5bec0a5a1ef9c41a3ad29f19 /cui
parenta9243e626193ab4efe3a618413886773336a38e6 (diff)
throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite
Change-Id: I076f16d0536b534abf0ced4d76051eadb4c0e033 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114949 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/sdbcdriverenum.cxx8
-rw-r--r--cui/source/options/sdbcdriverenum.hxx8
2 files changed, 8 insertions, 8 deletions
diff --git a/cui/source/options/sdbcdriverenum.cxx b/cui/source/options/sdbcdriverenum.cxx
index f6a0cf3ad1ee..629fb7056c1e 100644
--- a/cui/source/options/sdbcdriverenum.cxx
+++ b/cui/source/options/sdbcdriverenum.cxx
@@ -71,24 +71,24 @@ namespace offapp
}
}
- ODriverEnumeration::ODriverEnumeration() throw()
+ ODriverEnumeration::ODriverEnumeration() noexcept
:m_pImpl(new ODriverEnumerationImpl)
{
}
- ODriverEnumeration::~ODriverEnumeration() throw()
+ ODriverEnumeration::~ODriverEnumeration() noexcept
{
}
- ODriverEnumeration::const_iterator ODriverEnumeration::begin() const throw()
+ ODriverEnumeration::const_iterator ODriverEnumeration::begin() const noexcept
{
return m_pImpl->getDriverImplNames().begin();
}
- ODriverEnumeration::const_iterator ODriverEnumeration::end() const throw()
+ ODriverEnumeration::const_iterator ODriverEnumeration::end() const noexcept
{
return m_pImpl->getDriverImplNames().end();
}
diff --git a/cui/source/options/sdbcdriverenum.hxx b/cui/source/options/sdbcdriverenum.hxx
index ef25bca00430..852648893f16 100644
--- a/cui/source/options/sdbcdriverenum.hxx
+++ b/cui/source/options/sdbcdriverenum.hxx
@@ -40,12 +40,12 @@ namespace offapp
std::unique_ptr<ODriverEnumerationImpl> m_pImpl;
public:
- ODriverEnumeration() throw();
- ~ODriverEnumeration() throw();
+ ODriverEnumeration() noexcept;
+ ~ODriverEnumeration() noexcept;
typedef std::vector< OUString >::const_iterator const_iterator;
- const_iterator begin() const throw();
- const_iterator end() const throw();
+ const_iterator begin() const noexcept;
+ const_iterator end() const noexcept;
};