summaryrefslogtreecommitdiff
path: root/xmlhelp
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 /xmlhelp
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 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/inputstream.cxx4
-rw-r--r--xmlhelp/source/cxxhelp/provider/inputstream.hxx4
-rw-r--r--xmlhelp/source/cxxhelp/provider/provider.cxx4
-rw-r--r--xmlhelp/source/cxxhelp/provider/provider.hxx4
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultsetbase.cxx8
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultsetbase.hxx4
-rw-r--r--xmlhelp/source/cxxhelp/provider/urlparameter.cxx8
7 files changed, 18 insertions, 18 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/inputstream.cxx b/xmlhelp/source/cxxhelp/provider/inputstream.cxx
index 8eaebf364320..59c87cef40fc 100644
--- a/xmlhelp/source/cxxhelp/provider/inputstream.cxx
+++ b/xmlhelp/source/cxxhelp/provider/inputstream.cxx
@@ -54,7 +54,7 @@ XInputStream_impl::queryInterface( const uno::Type& rType )
void SAL_CALL
XInputStream_impl::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
@@ -62,7 +62,7 @@ XInputStream_impl::acquire()
void SAL_CALL
XInputStream_impl::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/xmlhelp/source/cxxhelp/provider/inputstream.hxx b/xmlhelp/source/cxxhelp/provider/inputstream.hxx
index 20f339e7a0d4..5f9146293b46 100644
--- a/xmlhelp/source/cxxhelp/provider/inputstream.hxx
+++ b/xmlhelp/source/cxxhelp/provider/inputstream.hxx
@@ -51,11 +51,11 @@ namespace chelp {
virtual void SAL_CALL
acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL
release()
- throw() override;
+ noexcept override;
virtual sal_Int32 SAL_CALL
readBytes(
diff --git a/xmlhelp/source/cxxhelp/provider/provider.cxx b/xmlhelp/source/cxxhelp/provider/provider.cxx
index 76bd92482e69..ff31b25ee9aa 100644
--- a/xmlhelp/source/cxxhelp/provider/provider.cxx
+++ b/xmlhelp/source/cxxhelp/provider/provider.cxx
@@ -55,13 +55,13 @@ ContentProvider::~ContentProvider()
// XInterface methods.
void SAL_CALL ContentProvider::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
void SAL_CALL ContentProvider::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/xmlhelp/source/cxxhelp/provider/provider.hxx b/xmlhelp/source/cxxhelp/provider/provider.hxx
index 3a73309e5e1b..dba65918a3d8 100644
--- a/xmlhelp/source/cxxhelp/provider/provider.hxx
+++ b/xmlhelp/source/cxxhelp/provider/provider.hxx
@@ -53,9 +53,9 @@ namespace chelp {
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// XTypeProvider
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
index 9f8d96150e74..90c928bbc789 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
@@ -49,7 +49,7 @@ ResultSetBase::~ResultSetBase()
void SAL_CALL
ResultSetBase::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
@@ -57,7 +57,7 @@ ResultSetBase::acquire()
void SAL_CALL
ResultSetBase::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
@@ -342,14 +342,14 @@ public:
}
void SAL_CALL acquire()
- throw() override
+ noexcept override
{
OWeakObject::acquire();
}
void SAL_CALL release()
- throw() override
+ noexcept override
{
OWeakObject::release();
}
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetbase.hxx b/xmlhelp/source/cxxhelp/provider/resultsetbase.hxx
index 0511595741e0..5a98d1a1fd19 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetbase.hxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetbase.hxx
@@ -61,11 +61,11 @@ namespace chelp {
virtual void SAL_CALL
acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL
release()
- throw() override;
+ noexcept override;
// XComponent
virtual void SAL_CALL
diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
index a4f6d8f89aec..e06a8df419ce 100644
--- a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
+++ b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
@@ -294,8 +294,8 @@ public:
bool isRoot );
virtual Any SAL_CALL queryInterface( const Type& rType ) override;
- virtual void SAL_CALL acquire() throw() override;
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
+ virtual void SAL_CALL release() noexcept override;
virtual sal_Int32 SAL_CALL readBytes( Sequence< sal_Int8 >& aData,sal_Int32 nBytesToRead ) override;
@@ -888,13 +888,13 @@ Any SAL_CALL InputStreamTransformer::queryInterface( const Type& rType )
}
-void SAL_CALL InputStreamTransformer::acquire() throw()
+void SAL_CALL InputStreamTransformer::acquire() noexcept
{
OWeakObject::acquire();
}
-void SAL_CALL InputStreamTransformer::release() throw()
+void SAL_CALL InputStreamTransformer::release() noexcept
{
OWeakObject::release();
}