summaryrefslogtreecommitdiff
path: root/package
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 /package
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 'package')
-rw-r--r--package/source/xstor/oseekinstream.cxx4
-rw-r--r--package/source/xstor/oseekinstream.hxx4
-rw-r--r--package/source/xstor/owriteablestream.cxx4
-rw-r--r--package/source/xstor/owriteablestream.hxx4
-rw-r--r--package/source/xstor/xstorage.cxx4
-rw-r--r--package/source/xstor/xstorage.hxx4
6 files changed, 12 insertions, 12 deletions
diff --git a/package/source/xstor/oseekinstream.cxx b/package/source/xstor/oseekinstream.cxx
index d19d6a745ab1..f5e3d644d673 100644
--- a/package/source/xstor/oseekinstream.cxx
+++ b/package/source/xstor/oseekinstream.cxx
@@ -76,13 +76,13 @@ uno::Any SAL_CALL OInputSeekStream::queryInterface( const uno::Type& rType )
}
void SAL_CALL OInputSeekStream::acquire()
- throw()
+ noexcept
{
OInputCompStream::acquire();
}
void SAL_CALL OInputSeekStream::release()
- throw()
+ noexcept
{
OInputCompStream::release();
}
diff --git a/package/source/xstor/oseekinstream.hxx b/package/source/xstor/oseekinstream.hxx
index 673e3a04742c..a77289e9a3ed 100644
--- a/package/source/xstor/oseekinstream.hxx
+++ b/package/source/xstor/oseekinstream.hxx
@@ -45,8 +45,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::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;
//XSeekable
virtual void SAL_CALL seek( sal_Int64 location ) override;
diff --git a/package/source/xstor/owriteablestream.cxx b/package/source/xstor/owriteablestream.cxx
index 1b914138a0c1..5dd673f29171 100644
--- a/package/source/xstor/owriteablestream.cxx
+++ b/package/source/xstor/owriteablestream.cxx
@@ -1810,12 +1810,12 @@ uno::Any SAL_CALL OWriteStream::queryInterface( const uno::Type& rType )
return OWeakObject::queryInterface( rType );
}
-void SAL_CALL OWriteStream::acquire() throw()
+void SAL_CALL OWriteStream::acquire() noexcept
{
OWeakObject::acquire();
}
-void SAL_CALL OWriteStream::release() throw()
+void SAL_CALL OWriteStream::release() noexcept
{
OWeakObject::release();
}
diff --git a/package/source/xstor/owriteablestream.hxx b/package/source/xstor/owriteablestream.hxx
index ecb810c32529..84fdf7c51576 100644
--- a/package/source/xstor/owriteablestream.hxx
+++ b/package/source/xstor/owriteablestream.hxx
@@ -272,8 +272,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::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;
// XTypeProvider
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx
index 6b2a5b02c5d1..24849a6c9062 100644
--- a/package/source/xstor/xstorage.cxx
+++ b/package/source/xstor/xstorage.cxx
@@ -2098,12 +2098,12 @@ uno::Any SAL_CALL OStorage::queryInterface( const uno::Type& rType )
return OWeakObject::queryInterface( rType );
}
-void SAL_CALL OStorage::acquire() throw()
+void SAL_CALL OStorage::acquire() noexcept
{
OWeakObject::acquire();
}
-void SAL_CALL OStorage::release() throw()
+void SAL_CALL OStorage::release() noexcept
{
OWeakObject::release();
}
diff --git a/package/source/xstor/xstorage.hxx b/package/source/xstor/xstorage.hxx
index 14d11a8de0b2..51876737e3bd 100644
--- a/package/source/xstor/xstorage.hxx
+++ b/package/source/xstor/xstorage.hxx
@@ -320,9 +320,9 @@ public:
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) override;
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
// XTypeProvider