comphelper/source/container/enumerablemap.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6aa87b23c445b42690a2461817b7ad24f6c31ec9
Author:     HakimOttey <hakimotteybusin...@gmail.com>
AuthorDate: Tue Aug 13 15:23:32 2024 -0400
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Wed Aug 14 07:53:49 2024 +0200

    Related: tdf#42982 replace IllegalTypeException with RuntimeException
    
    Change-Id: Ibe6004e43a7553c6694d7938603023a9f95535a9
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170035
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Tested-by: Jenkins

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)
         {

Reply via email to