summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakimOttey <hakimotteybusiness@gmail.com>2024-08-13 15:23:32 -0400
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2024-08-14 07:53:49 +0200
commit6aa87b23c445b42690a2461817b7ad24f6c31ec9 (patch)
treec16bdaf528049db94be1800103c9e4f38f8ca60e
parentf8c9e602a11e4fb3951a714ce026848aa9419085 (diff)
Related: tdf#42982 replace IllegalTypeException with RuntimeException
Change-Id: Ibe6004e43a7553c6694d7938603023a9f95535a9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170035 Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Jenkins
-rw-r--r--comphelper/source/container/enumerablemap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/container/enumerablemap.cxx b/comphelper/source/container/enumerablemap.cxx
index dd42518c5faf..3fda3d5f67ff 100644
--- a/comphelper/source/container/enumerablemap.cxx
+++ b/comphelper/source/container/enumerablemap.cxx
@@ -370,7 +370,7 @@ namespace comphelper
{
OSL_PRECOND( m_aData.m_pValues && m_aData.m_pValues->empty(), "EnumerableMap::impl_initValues_throw: illegal call!" );
if (!m_aData.m_pValues || !m_aData.m_pValues->empty()){
- throw IllegalTypeException("EnumerableMap m_aData container is invalid or not empty.", *this);
+ throw RuntimeException("EnumerableMap m_aData container is invalid or not empty.", *this);
}
for (auto& mapping : _initialValues)
{