summaryrefslogtreecommitdiff
path: root/svx/source/accessibility
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 /svx/source/accessibility
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 'svx/source/accessibility')
-rw-r--r--svx/source/accessibility/AccessibleGraphicShape.cxx4
-rw-r--r--svx/source/accessibility/AccessibleOLEShape.cxx4
-rw-r--r--svx/source/accessibility/AccessibleShape.cxx4
-rw-r--r--svx/source/accessibility/ChildrenManager.cxx2
-rw-r--r--svx/source/accessibility/ChildrenManagerImpl.cxx2
-rw-r--r--svx/source/accessibility/ChildrenManagerImpl.hxx2
6 files changed, 9 insertions, 9 deletions
diff --git a/svx/source/accessibility/AccessibleGraphicShape.cxx b/svx/source/accessibility/AccessibleGraphicShape.cxx
index c7fe3c6fe40b..d94ce4886add 100644
--- a/svx/source/accessibility/AccessibleGraphicShape.cxx
+++ b/svx/source/accessibility/AccessibleGraphicShape.cxx
@@ -79,7 +79,7 @@ css::uno::Any SAL_CALL
void SAL_CALL
AccessibleGraphicShape::acquire()
- throw ()
+ noexcept
{
AccessibleShape::acquire ();
}
@@ -87,7 +87,7 @@ void SAL_CALL
void SAL_CALL
AccessibleGraphicShape::release()
- throw ()
+ noexcept
{
AccessibleShape::release ();
}
diff --git a/svx/source/accessibility/AccessibleOLEShape.cxx b/svx/source/accessibility/AccessibleOLEShape.cxx
index ea5aca82dc07..9275ad1803f2 100644
--- a/svx/source/accessibility/AccessibleOLEShape.cxx
+++ b/svx/source/accessibility/AccessibleOLEShape.cxx
@@ -86,7 +86,7 @@ css::uno::Any SAL_CALL
void SAL_CALL
AccessibleOLEShape::acquire()
- throw ()
+ noexcept
{
AccessibleShape::acquire ();
}
@@ -94,7 +94,7 @@ void SAL_CALL
void SAL_CALL
AccessibleOLEShape::release()
- throw ()
+ noexcept
{
AccessibleShape::release ();
}
diff --git a/svx/source/accessibility/AccessibleShape.cxx b/svx/source/accessibility/AccessibleShape.cxx
index 1f719e93c47d..8264e40f98bb 100644
--- a/svx/source/accessibility/AccessibleShape.cxx
+++ b/svx/source/accessibility/AccessibleShape.cxx
@@ -742,7 +742,7 @@ css::uno::Any SAL_CALL
void SAL_CALL
AccessibleShape::acquire()
- throw ()
+ noexcept
{
AccessibleContextBase::acquire ();
}
@@ -750,7 +750,7 @@ void SAL_CALL
void SAL_CALL
AccessibleShape::release()
- throw ()
+ noexcept
{
AccessibleContextBase::release ();
}
diff --git a/svx/source/accessibility/ChildrenManager.cxx b/svx/source/accessibility/ChildrenManager.cxx
index c70e7f86f5f6..71983f46e98c 100644
--- a/svx/source/accessibility/ChildrenManager.cxx
+++ b/svx/source/accessibility/ChildrenManager.cxx
@@ -49,7 +49,7 @@ ChildrenManager::~ChildrenManager()
SAL_INFO("svx", "~ChildrenManager");
}
-tools::Long ChildrenManager::GetChildCount() const throw ()
+tools::Long ChildrenManager::GetChildCount() const noexcept
{
return mpImpl->GetChildCount();
}
diff --git a/svx/source/accessibility/ChildrenManagerImpl.cxx b/svx/source/accessibility/ChildrenManagerImpl.cxx
index 893bc350f1f1..53d1e7596b6b 100644
--- a/svx/source/accessibility/ChildrenManagerImpl.cxx
+++ b/svx/source/accessibility/ChildrenManagerImpl.cxx
@@ -109,7 +109,7 @@ void ChildrenManagerImpl::Init()
}
-tools::Long ChildrenManagerImpl::GetChildCount() const throw ()
+tools::Long ChildrenManagerImpl::GetChildCount() const noexcept
{
return maVisibleChildren.size();
}
diff --git a/svx/source/accessibility/ChildrenManagerImpl.hxx b/svx/source/accessibility/ChildrenManagerImpl.hxx
index 4cad0efcbf8c..5520a4947b32 100644
--- a/svx/source/accessibility/ChildrenManagerImpl.hxx
+++ b/svx/source/accessibility/ChildrenManagerImpl.hxx
@@ -116,7 +116,7 @@ public:
@return
If there are no children a 0 is returned.
*/
- tools::Long GetChildCount() const throw ();
+ tools::Long GetChildCount() const noexcept;
/// @throws css::uno::RuntimeException
/// @throws css::lang::IndexOutOfBoundsException