diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-05-09 15:47:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-05-10 08:02:07 +0200 |
commit | 71ea95ba55ba9e52318423041c4804771818e01f (patch) | |
tree | 544696c45031d92a6d23d0a00cfb298bddb6acce /comphelper | |
parent | 89e0a3e05dc00339b1d7b4e14443bdf26f9d09c1 (diff) |
re-enable typeid checking in exceptionToStringImpl
now that we have valid RTTI tables for the UNO proxy objects generated
by the bridge code. (We won't get a useful typeid for them, but for all
other objects, we will, so this is still worth doing)
Change-Id: I32bfa0099a242021f353fc4065e8660eb6c7cd93
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151585
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/diagnose_ex.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/comphelper/source/misc/diagnose_ex.cxx b/comphelper/source/misc/diagnose_ex.cxx index 020aa69ca241..e805c5b4c2a5 100644 --- a/comphelper/source/misc/diagnose_ex.cxx +++ b/comphelper/source/misc/diagnose_ex.cxx @@ -71,7 +71,6 @@ static void exceptionToStringImpl(OStringBuffer& sMessage, const css::uno::Any & sMessage.append(toOString(exception.Message)); sMessage.append("\""); } -/* TODO FIXME (see https://gerrit.libreoffice.org/#/c/83245/) if ( exception.Context.is() ) { const char* pContext = typeid( *exception.Context ).name(); @@ -86,7 +85,6 @@ static void exceptionToStringImpl(OStringBuffer& sMessage, const css::uno::Any & std::free(const_cast<char *>(pContext)); #endif } -*/ { css::configuration::CorruptedConfigurationException specialized; if ( caught >>= specialized ) |